1/* 2 * Copyright (c) 2022-2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @file 18 * @kit ArkUI 19 */ 20/*** if arkts 1.2 */ 21import { Resource } from './global/resource' 22/*** endif */ 23 24/** 25 * @namespace font 26 * @syscap SystemCapability.ArkUI.ArkUI.Full 27 * @since 9 28 */ 29/** 30 * @namespace font 31 * @syscap SystemCapability.ArkUI.ArkUI.Full 32 * @atomicservice 33 * @since 11 34 */ 35/** 36 * @namespace font 37 * @syscap SystemCapability.ArkUI.ArkUI.Full 38 * @crossplatform 39 * @atomicservice 40 * @since arkts {'1.1':'12','1.2':'20'} 41 * @arkts 1.1&1.2 42 */ 43declare namespace font { 44 /** 45 * @typedef FontOptions 46 * @syscap SystemCapability.ArkUI.ArkUI.Full 47 * @since 9 48 */ 49 /** 50 * @typedef FontOptions 51 * @syscap SystemCapability.ArkUI.ArkUI.Full 52 * @atomicservice 53 * @since 11 54 */ 55 /** 56 * @typedef FontOptions 57 * @syscap SystemCapability.ArkUI.ArkUI.Full 58 * @crossplatform 59 * @atomicservice 60 * @since arkts {'1.1':'12','1.2':'20'} 61 * @arkts 1.1&1.2 62 */ 63 interface FontOptions { 64 65 /** 66 * The font name to register. 67 * 68 * @type { string } 69 * @syscap SystemCapability.ArkUI.ArkUI.Full 70 * @since 9 71 */ 72 /** 73 * The font name to register. 74 * 75 * @type { string | Resource } 76 * @syscap SystemCapability.ArkUI.ArkUI.Full 77 * @since 10 78 */ 79 /** 80 * The font name to register. 81 * 82 * @type { string | Resource } 83 * @syscap SystemCapability.ArkUI.ArkUI.Full 84 * @atomicservice 85 * @since 11 86 */ 87 /** 88 * The font name to register. 89 * 90 * @type { string | Resource } 91 * @syscap SystemCapability.ArkUI.ArkUI.Full 92 * @crossplatform 93 * @atomicservice 94 * @since arkts {'1.1':'12','1.2':'20'} 95 * @arkts 1.1&1.2 96 */ 97 familyName: string | Resource; 98 99 /** 100 * The path of the font file. 101 * 102 * @type { string } 103 * @syscap SystemCapability.ArkUI.ArkUI.Full 104 * @since 9 105 */ 106 /** 107 * The path of the font file. 108 * 109 * @type { string | Resource } 110 * @syscap SystemCapability.ArkUI.ArkUI.Full 111 * @since 10 112 */ 113 /** 114 * The path of the font file. 115 * 116 * @type { string | Resource } 117 * @syscap SystemCapability.ArkUI.ArkUI.Full 118 * @atomicservice 119 * @since 11 120 */ 121 /** 122 * The path of the font file. 123 * 124 * @type { string | Resource } 125 * @syscap SystemCapability.ArkUI.ArkUI.Full 126 * @crossplatform 127 * @atomicservice 128 * @since arkts {'1.1':'12','1.2':'20'} 129 * @arkts 1.1&1.2 130 */ 131 familySrc: string | Resource; 132 } 133 134 /** 135 * @typedef FontInfo 136 * @syscap SystemCapability.ArkUI.ArkUI.Full 137 * @since 10 138 */ 139 /** 140 * @typedef FontInfo 141 * @syscap SystemCapability.ArkUI.ArkUI.Full 142 * @atomicservice 143 * @since 11 144 */ 145 /** 146 * @typedef FontInfo 147 * @syscap SystemCapability.ArkUI.ArkUI.Full 148 * @crossplatform 149 * @atomicservice 150 * @since arkts {'1.1':'12','1.2':'20'} 151 * @arkts 1.1&1.2 152 */ 153 interface FontInfo { 154 155 /** 156 * The path of the font file. 157 * 158 * @type { string } 159 * @syscap SystemCapability.ArkUI.ArkUI.Full 160 * @since 10 161 */ 162 /** 163 * The path of the font file. 164 * 165 * @type { string } 166 * @syscap SystemCapability.ArkUI.ArkUI.Full 167 * @atomicservice 168 * @since 11 169 */ 170 /** 171 * The path of the font file. 172 * 173 * @type { string } 174 * @syscap SystemCapability.ArkUI.ArkUI.Full 175 * @crossplatform 176 * @atomicservice 177 * @since arkts {'1.1':'12','1.2':'20'} 178 * @arkts 1.1&1.2 179 */ 180 path: string; 181 182 /** 183 * The name of postscript. 184 * 185 * @type { string } 186 * @syscap SystemCapability.ArkUI.ArkUI.Full 187 * @since 10 188 */ 189 /** 190 * The name of postscript. 191 * 192 * @type { string } 193 * @syscap SystemCapability.ArkUI.ArkUI.Full 194 * @atomicservice 195 * @since 11 196 */ 197 /** 198 * The name of postscript. 199 * 200 * @type { string } 201 * @syscap SystemCapability.ArkUI.ArkUI.Full 202 * @crossplatform 203 * @atomicservice 204 * @since arkts {'1.1':'12','1.2':'20'} 205 * @arkts 1.1&1.2 206 */ 207 postScriptName: string; 208 209 /** 210 * The font name. 211 * 212 * @type { string } 213 * @syscap SystemCapability.ArkUI.ArkUI.Full 214 * @since 10 215 */ 216 /** 217 * The font name. 218 * 219 * @type { string } 220 * @syscap SystemCapability.ArkUI.ArkUI.Full 221 * @atomicservice 222 * @since 11 223 */ 224 /** 225 * The font name. 226 * 227 * @type { string } 228 * @syscap SystemCapability.ArkUI.ArkUI.Full 229 * @crossplatform 230 * @atomicservice 231 * @since arkts {'1.1':'12','1.2':'20'} 232 * @arkts 1.1&1.2 233 */ 234 fullName: string; 235 236 /** 237 * A set of fonts with a common design. 238 * 239 * @type { string } 240 * @syscap SystemCapability.ArkUI.ArkUI.Full 241 * @since 10 242 */ 243 /** 244 * A set of fonts with a common design. 245 * 246 * @type { string } 247 * @syscap SystemCapability.ArkUI.ArkUI.Full 248 * @atomicservice 249 * @since 11 250 */ 251 /** 252 * A set of fonts with a common design. 253 * 254 * @type { string } 255 * @syscap SystemCapability.ArkUI.ArkUI.Full 256 * @crossplatform 257 * @atomicservice 258 * @since arkts {'1.1':'12','1.2':'20'} 259 * @arkts 1.1&1.2 260 */ 261 family: string; 262 263 /** 264 * A subset of the font family. 265 * 266 * @type { string } 267 * @syscap SystemCapability.ArkUI.ArkUI.Full 268 * @since 10 269 */ 270 /** 271 * A subset of the font family. 272 * 273 * @type { string } 274 * @syscap SystemCapability.ArkUI.ArkUI.Full 275 * @atomicservice 276 * @since 11 277 */ 278 /** 279 * A subset of the font family. 280 * 281 * @type { string } 282 * @syscap SystemCapability.ArkUI.ArkUI.Full 283 * @crossplatform 284 * @atomicservice 285 * @since arkts {'1.1':'12','1.2':'20'} 286 * @arkts 1.1&1.2 287 */ 288 subfamily: string; 289 290 /** 291 * The weight of the font. 292 * 293 * @type { number } 294 * @syscap SystemCapability.ArkUI.ArkUI.Full 295 * @since 10 296 */ 297 /** 298 * The weight of the font. 299 * 300 * @type { number } 301 * @syscap SystemCapability.ArkUI.ArkUI.Full 302 * @atomicservice 303 * @since 11 304 */ 305 /** 306 * The weight of the font. 307 * 308 * @type { number } 309 * @syscap SystemCapability.ArkUI.ArkUI.Full 310 * @crossplatform 311 * @atomicservice 312 * @since arkts {'1.1':'12','1.2':'20'} 313 * @arkts 1.1&1.2 314 */ 315 weight: number; 316 317 /** 318 * The width of the font style. 319 * 320 * @type { number } 321 * @syscap SystemCapability.ArkUI.ArkUI.Full 322 * @since 10 323 */ 324 /** 325 * The width of the font style. 326 * 327 * @type { number } 328 * @syscap SystemCapability.ArkUI.ArkUI.Full 329 * @atomicservice 330 * @since 11 331 */ 332 /** 333 * The width of the font style. 334 * 335 * @type { number } 336 * @syscap SystemCapability.ArkUI.ArkUI.Full 337 * @crossplatform 338 * @atomicservice 339 * @since arkts {'1.1':'12','1.2':'20'} 340 * @arkts 1.1&1.2 341 */ 342 width: number; 343 344 /** 345 * Whether it is italic. 346 * 347 * @type { boolean } 348 * @syscap SystemCapability.ArkUI.ArkUI.Full 349 * @since 10 350 */ 351 /** 352 * Whether it is italic. 353 * 354 * @type { boolean } 355 * @syscap SystemCapability.ArkUI.ArkUI.Full 356 * @atomicservice 357 * @since 11 358 */ 359 /** 360 * Whether it is italic. 361 * 362 * @type { boolean } 363 * @syscap SystemCapability.ArkUI.ArkUI.Full 364 * @crossplatform 365 * @atomicservice 366 * @since arkts {'1.1':'12','1.2':'20'} 367 * @arkts 1.1&1.2 368 */ 369 italic: boolean; 370 371 /** 372 * Whether it is compact. 373 * 374 * @type { boolean } 375 * @syscap SystemCapability.ArkUI.ArkUI.Full 376 * @since 10 377 */ 378 /** 379 * Whether it is compact. 380 * 381 * @type { boolean } 382 * @syscap SystemCapability.ArkUI.ArkUI.Full 383 * @atomicservice 384 * @since 11 385 */ 386 /** 387 * Whether it is compact. 388 * 389 * @type { boolean } 390 * @syscap SystemCapability.ArkUI.ArkUI.Full 391 * @crossplatform 392 * @atomicservice 393 * @since arkts {'1.1':'12','1.2':'20'} 394 * @arkts 1.1&1.2 395 */ 396 monoSpace: boolean; 397 398 /** 399 * Whether symbol fonts are supported. 400 * 401 * @type { boolean } 402 * @syscap SystemCapability.ArkUI.ArkUI.Full 403 * @since 10 404 */ 405 /** 406 * Whether symbol fonts are supported. 407 * 408 * @type { boolean } 409 * @syscap SystemCapability.ArkUI.ArkUI.Full 410 * @atomicservice 411 * @since 11 412 */ 413 /** 414 * Whether symbol fonts are supported. 415 * 416 * @type { boolean } 417 * @syscap SystemCapability.ArkUI.ArkUI.Full 418 * @crossplatform 419 * @atomicservice 420 * @since arkts {'1.1':'12','1.2':'20'} 421 * @arkts 1.1&1.2 422 */ 423 symbolic: boolean; 424 } 425 426 /** 427 * @typedef UIFontConfig 428 * @syscap SystemCapability.ArkUI.ArkUI.Full 429 * @since 11 430 */ 431 /** 432 * @typedef UIFontConfig 433 * @syscap SystemCapability.ArkUI.ArkUI.Full 434 * @atomicservice 435 * @since arkts {'1.1':'12','1.2':'20'} 436 * @arkts 1.1&1.2 437 */ 438 interface UIFontConfig { 439 /** 440 * The paths of system font files. 441 * @type { Array<string> } 442 * @syscap SystemCapability.ArkUI.ArkUI.Full 443 * @since 11 444 */ 445 /** 446 * The paths of system font files. 447 * @type { Array<string> } 448 * @syscap SystemCapability.ArkUI.ArkUI.Full 449 * @atomicservice 450 * @since arkts {'1.1':'12','1.2':'20'} 451 * @arkts 1.1&1.2 452 */ 453 fontDir: Array<string>; 454 455 /** 456 * The generic font info. 457 * @type { Array<UIFontGenericInfo> } 458 * @syscap SystemCapability.ArkUI.ArkUI.Full 459 * @since 11 460 */ 461 /** 462 * The generic font info. 463 * @type { Array<UIFontGenericInfo> } 464 * @syscap SystemCapability.ArkUI.ArkUI.Full 465 * @atomicservice 466 * @since arkts {'1.1':'12','1.2':'20'} 467 * @arkts 1.1&1.2 468 */ 469 generic: Array<UIFontGenericInfo>; 470 471 /** 472 * The fallback font info. 473 * @type { Array<UIFontFallbackGroupInfo> } 474 * @syscap SystemCapability.ArkUI.ArkUI.Full 475 * @since 11 476 */ 477 /** 478 * The fallback font info. 479 * @type { Array<UIFontFallbackGroupInfo> } 480 * @syscap SystemCapability.ArkUI.ArkUI.Full 481 * @atomicservice 482 * @since arkts {'1.1':'12','1.2':'20'} 483 * @arkts 1.1&1.2 484 */ 485 fallbackGroups: Array<UIFontFallbackGroupInfo>; 486 } 487 488 /** 489 * @typedef UIFontGenericInfo 490 * @syscap SystemCapability.ArkUI.ArkUI.Full 491 * @since 11 492 */ 493 /** 494 * @typedef UIFontGenericInfo 495 * @syscap SystemCapability.ArkUI.ArkUI.Full 496 * @atomicservice 497 * @since arkts {'1.1':'12','1.2':'20'} 498 * @arkts 1.1&1.2 499 */ 500 interface UIFontGenericInfo { 501 /** 502 * Name of the font set. 503 * @type { string } 504 * @syscap SystemCapability.ArkUI.ArkUI.Full 505 * @since 11 506 */ 507 /** 508 * Name of the font set. 509 * @type { string } 510 * @syscap SystemCapability.ArkUI.ArkUI.Full 511 * @atomicservice 512 * @since arkts {'1.1':'12','1.2':'20'} 513 * @arkts 1.1&1.2 514 */ 515 family: string; 516 517 /** 518 * Alias info of the font set. 519 * @type { Array<UIFontAliasInfo> } 520 * @syscap SystemCapability.ArkUI.ArkUI.Full 521 * @since 11 522 */ 523 /** 524 * Alias info of the font set. 525 * @type { Array<UIFontAliasInfo> } 526 * @syscap SystemCapability.ArkUI.ArkUI.Full 527 * @atomicservice 528 * @since arkts {'1.1':'12','1.2':'20'} 529 * @arkts 1.1&1.2 530 */ 531 alias: Array<UIFontAliasInfo>; 532 533 /** 534 * Adjust info of the font set. 535 * @type { Array<UIFontAdjustInfo> } 536 * @syscap SystemCapability.ArkUI.ArkUI.Full 537 * @since 11 538 */ 539 /** 540 * Adjust info of the font set. 541 * @type { Array<UIFontAdjustInfo> } 542 * @syscap SystemCapability.ArkUI.ArkUI.Full 543 * @atomicservice 544 * @since arkts {'1.1':'12','1.2':'20'} 545 * @arkts 1.1&1.2 546 */ 547 adjust: Array<UIFontAdjustInfo>; 548 } 549 550 /** 551 * @typedef UIFontAliasInfo 552 * @syscap SystemCapability.ArkUI.ArkUI.Full 553 * @since 11 554 */ 555 /** 556 * @typedef UIFontAliasInfo 557 * @syscap SystemCapability.ArkUI.ArkUI.Full 558 * @atomicservice 559 * @since arkts {'1.1':'12','1.2':'20'} 560 * @arkts 1.1&1.2 561 */ 562 interface UIFontAliasInfo { 563 /** 564 * Font set name. 565 * @type { string } 566 * @syscap SystemCapability.ArkUI.ArkUI.Full 567 * @since 11 568 */ 569 /** 570 * Font set name. 571 * @type { string } 572 * @syscap SystemCapability.ArkUI.ArkUI.Full 573 * @atomicservice 574 * @since arkts {'1.1':'12','1.2':'20'} 575 * @arkts 1.1&1.2 576 */ 577 name: string; 578 579 /** 580 * Weight the font set contains only fonts with, if weight = 0, 581 * this font set can contain fonts with any weight. 582 * @type { number } 583 * @syscap SystemCapability.ArkUI.ArkUI.Full 584 * @since 11 585 */ 586 /** 587 * Weight the font set contains only fonts with, if weight = 0, 588 * this font set can contain fonts with any weight. 589 * @type { number } 590 * @syscap SystemCapability.ArkUI.ArkUI.Full 591 * @atomicservice 592 * @since arkts {'1.1':'12','1.2':'20'} 593 * @arkts 1.1&1.2 594 */ 595 weight: number; 596 } 597 598 /** 599 * @typedef UIFontAdjustInfo 600 * @syscap SystemCapability.ArkUI.ArkUI.Full 601 * @since 11 602 */ 603 /** 604 * @typedef UIFontAdjustInfo 605 * @syscap SystemCapability.ArkUI.ArkUI.Full 606 * @atomicservice 607 * @since arkts {'1.1':'12','1.2':'20'} 608 * @arkts 1.1&1.2 609 */ 610 interface UIFontAdjustInfo { 611 /** 612 * Original weight of the font 613 * @type { number } 614 * @syscap SystemCapability.ArkUI.ArkUI.Full 615 * @since 11 616 */ 617 /** 618 * Original weight of the font 619 * @type { number } 620 * @syscap SystemCapability.ArkUI.ArkUI.Full 621 * @atomicservice 622 * @since arkts {'1.1':'12','1.2':'20'} 623 * @arkts 1.1&1.2 624 */ 625 weight: number; 626 /** 627 * Font weight displayed in the app 628 * @type { number } 629 * @syscap SystemCapability.ArkUI.ArkUI.Full 630 * @since 11 631 */ 632 /** 633 * Font weight displayed in the app 634 * @type { number } 635 * @syscap SystemCapability.ArkUI.ArkUI.Full 636 * @atomicservice 637 * @since arkts {'1.1':'12','1.2':'20'} 638 * @arkts 1.1&1.2 639 */ 640 to: number; 641 } 642 643 /** 644 * @typedef UIFontFallbackGroupInfo 645 * @syscap SystemCapability.ArkUI.ArkUI.Full 646 * @since 11 647 */ 648 /** 649 * @typedef UIFontFallbackGroupInfo 650 * @syscap SystemCapability.ArkUI.ArkUI.Full 651 * @atomicservice 652 * @since arkts {'1.1':'12','1.2':'20'} 653 * @arkts 1.1&1.2 654 */ 655 interface UIFontFallbackGroupInfo { 656 /** 657 * Indicates which font set uses following list for fallback font 658 * if the font set name is "", it means that the following list can be fallback font for all font sets. 659 * @type { string } 660 * @syscap SystemCapability.ArkUI.ArkUI.Full 661 * @since 11 662 */ 663 /** 664 * Indicates which font set uses following list for fallback font 665 * if the font set name is "", it means that the following list can be fallback font for all font sets. 666 * @type { string } 667 * @syscap SystemCapability.ArkUI.ArkUI.Full 668 * @atomicservice 669 * @since arkts {'1.1':'12','1.2':'20'} 670 * @arkts 1.1&1.2 671 */ 672 fontSetName: string; 673 674 /** 675 * Fallback font list related. 676 * @type { Array<UIFontFallbackInfo> } 677 * @syscap SystemCapability.ArkUI.ArkUI.Full 678 * @since 11 679 */ 680 /** 681 * Fallback font list related. 682 * @type { Array<UIFontFallbackInfo> } 683 * @syscap SystemCapability.ArkUI.ArkUI.Full 684 * @atomicservice 685 * @since arkts {'1.1':'12','1.2':'20'} 686 * @arkts 1.1&1.2 687 */ 688 fallback: Array<UIFontFallbackInfo>; 689 } 690 691 /** 692 * @typedef UIFontFallbackInfo 693 * @syscap SystemCapability.ArkUI.ArkUI.Full 694 * @since 11 695 */ 696 /** 697 * @typedef UIFontFallbackInfo 698 * @syscap SystemCapability.ArkUI.ArkUI.Full 699 * @atomicservice 700 * @since arkts {'1.1':'12','1.2':'20'} 701 * @arkts 1.1&1.2 702 */ 703 interface UIFontFallbackInfo { 704 /** 705 * Language that font set support. 706 * @type { string } 707 * @syscap SystemCapability.ArkUI.ArkUI.Full 708 * @since 11 709 */ 710 /** 711 * Language that font set support. 712 * @type { string } 713 * @syscap SystemCapability.ArkUI.ArkUI.Full 714 * @atomicservice 715 * @since arkts {'1.1':'12','1.2':'20'} 716 * @arkts 1.1&1.2 717 */ 718 language: string; 719 720 /** 721 * Font name related. 722 * @type { string } 723 * @syscap SystemCapability.ArkUI.ArkUI.Full 724 * @since 11 725 */ 726 /** 727 * Font name related. 728 * @type { string } 729 * @syscap SystemCapability.ArkUI.ArkUI.Full 730 * @atomicservice 731 * @since arkts {'1.1':'12','1.2':'20'} 732 * @arkts 1.1&1.2 733 */ 734 family: string; 735 } 736 737 /** 738 * Register a customized font in the FontManager. 739 * 740 * @param { FontOptions } options - FontOptions 741 * @syscap SystemCapability.ArkUI.ArkUI.Full 742 * @since 9 743 */ 744 /** 745 * Register a customized font in the FontManager. 746 * 747 * @param { FontOptions } options - FontOptions 748 * @syscap SystemCapability.ArkUI.ArkUI.Full 749 * @atomicservice 750 * @since 11 751 */ 752 /** 753 * Register a customized font in the FontManager. 754 * 755 * @param { FontOptions } options - FontOptions 756 * @syscap SystemCapability.ArkUI.ArkUI.Full 757 * @crossplatform 758 * @atomicservice 759 * @since 12 760 * @deprecated since 18 761 * @useinstead ohos.arkui.UIContext.Font#registerFont 762 */ 763 function registerFont(options: FontOptions): void; 764 765 /** 766 * Gets a list of fonts supported by system. 767 * 768 * @returns { Array<string> } A list of font names 769 * @syscap SystemCapability.ArkUI.ArkUI.Full 770 * @since 10 771 */ 772 /** 773 * Gets a list of fonts supported by system. 774 * 775 * @returns { Array<string> } A list of font names 776 * @syscap SystemCapability.ArkUI.ArkUI.Full 777 * @atomicservice 778 * @since 11 779 */ 780 /** 781 * Gets a list of fonts supported by system. 782 * 783 * @returns { Array<string> } A list of font names 784 * @syscap SystemCapability.ArkUI.ArkUI.Full 785 * @crossplatform 786 * @atomicservice 787 * @since 12 788 * @deprecated since 18 789 * @useinstead ohos.arkui.UIContext.Font#getSystemFontList 790 */ 791 function getSystemFontList(): Array<string>; 792 793 /** 794 * Get font details according to the font name. 795 * 796 * @param { string } fontName - font name 797 * @returns { FontInfo } Returns the font info 798 * @syscap SystemCapability.ArkUI.ArkUI.Full 799 * @since 10 800 */ 801 /** 802 * Get font details according to the font name. 803 * 804 * @param { string } fontName - font name 805 * @returns { FontInfo } Returns the font info 806 * @syscap SystemCapability.ArkUI.ArkUI.Full 807 * @atomicservice 808 * @since 11 809 */ 810 /** 811 * Get font details according to the font name. 812 * 813 * @param { string } fontName - font name 814 * @returns { FontInfo } Returns the font info 815 * @syscap SystemCapability.ArkUI.ArkUI.Full 816 * @crossplatform 817 * @atomicservice 818 * @since 12 819 * @deprecated since 18 820 * @useinstead ohos.arkui.UIContext.Font#getFontByName 821 */ 822 function getFontByName(fontName: string): FontInfo; 823 824 /** 825 * Get font details according to the font name. 826 * 827 * @returns { UIFontConfig } Returns the ui font config 828 * @syscap SystemCapability.ArkUI.ArkUI.Full 829 * @since 11 830 */ 831 /** 832 * Get font details according to the font name. 833 * 834 * @returns { UIFontConfig } Returns the ui font config 835 * @syscap SystemCapability.ArkUI.ArkUI.Full 836 * @atomicservice 837 * @since arkts {'1.1':'12','1.2':'20'} 838 * @arkts 1.1&1.2 839 */ 840 function getUIFontConfig(): UIFontConfig; 841} 842 843export default font; 844