ooxml-ui 1.45.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +1 -1
  2. package/dist/chart/format-pane-effects.d.ts +0 -1
  3. package/dist/chart/format-pane-fill-kinds.d.ts +0 -1
  4. package/dist/chart/format-pane-space.d.ts +0 -1
  5. package/dist/chart/format-pane-targets.d.ts +0 -1
  6. package/dist/chunk-G5CALQUW.js +278 -0
  7. package/dist/{chunk-LPI7LT4B.js → chunk-J3ROBM74.js} +1 -1
  8. package/dist/docx/backstage-options.d.ts +4 -0
  9. package/dist/docx/backstage-trust.d.ts +11 -0
  10. package/dist/docx/docx-webfonts.d.ts +75 -0
  11. package/dist/docx/editor-core.d.ts +3 -0
  12. package/dist/docx/element-api.d.ts +14 -0
  13. package/dist/docx/font-downloads.d.ts +8 -0
  14. package/dist/docx/locales/en.d.ts +6 -0
  15. package/dist/docx/locales/options.d.ts +6 -0
  16. package/dist/docx/locales/trust.d.ts +15 -0
  17. package/dist/docx/localization-strings.d.ts +6 -0
  18. package/dist/docx/print-layout-view.d.ts +2 -0
  19. package/dist/docx.js +229 -14
  20. package/dist/fonts/font-download-policy.d.ts +23 -0
  21. package/dist/fonts/webfonts.d.ts +118 -0
  22. package/dist/fonts/webfonts.d.ts.map +1 -0
  23. package/dist/form/color-swatches.d.ts +0 -1
  24. package/dist/index.js +2 -2
  25. package/dist/picture-artistic-filters.d.ts +0 -1
  26. package/dist/pptx/{chunk-CWBVJ4DC.cjs → chunk-6XIUBQPL.cjs} +403 -2398
  27. package/dist/pptx/{chunk-HGT3CA36.mjs → chunk-BV24XNBQ.mjs} +301 -2351
  28. package/dist/pptx/{chunk-MZCAYJ7H.cjs → chunk-JHI42PNB.cjs} +42 -42
  29. package/dist/pptx/{chunk-6JTQ7AG6.mjs → chunk-XMAQ23WE.mjs} +1 -1
  30. package/dist/pptx/dom/index.cjs +372 -371
  31. package/dist/pptx/dom/index.mjs +6 -5
  32. package/dist/pptx/dom/load-presentation.d.ts +8 -1
  33. package/dist/pptx/dom/load-presentation.d.ts.map +1 -1
  34. package/dist/pptx/index.cjs +3086 -3058
  35. package/dist/pptx/index.mjs +1 -1
  36. package/dist/pptx/render/deck-webfont-readiness.d.ts +24 -10
  37. package/dist/pptx/render/deck-webfont-readiness.d.ts.map +1 -1
  38. package/dist/pptx/render/font-weight-names.d.ts +2 -65
  39. package/dist/pptx/render/font-weight-names.d.ts.map +1 -1
  40. package/dist/pptx/render/google-fonts-catalogue.d.ts +2 -13
  41. package/dist/pptx/render/google-fonts-catalogue.d.ts.map +1 -1
  42. package/dist/pptx/render/google-fonts-lookup.d.ts +2 -6
  43. package/dist/pptx/render/google-fonts-lookup.d.ts.map +1 -1
  44. package/dist/pptx/render/google-webfonts-link.d.ts +2 -2
  45. package/dist/pptx/render/google-webfonts-link.d.ts.map +1 -1
  46. package/dist/pptx/render/google-webfonts-metric-clones.d.ts +2 -16
  47. package/dist/pptx/render/google-webfonts-metric-clones.d.ts.map +1 -1
  48. package/dist/pptx/render/google-webfonts.d.ts +11 -107
  49. package/dist/pptx/render/google-webfonts.d.ts.map +1 -1
  50. package/dist/pptx/render/index.d.ts +3 -0
  51. package/dist/pptx/render/index.d.ts.map +1 -1
  52. package/dist/pptx/render/inline-list-dom.d.ts.map +1 -1
  53. package/dist/pptx/render/inline-text-paragraph-marker.d.ts +3 -0
  54. package/dist/pptx/render/inline-text-paragraph-marker.d.ts.map +1 -0
  55. package/dist/pptx/render/inline-text-seed.d.ts +25 -0
  56. package/dist/pptx/render/inline-text-seed.d.ts.map +1 -0
  57. package/dist/pptx/render/inline-trailing-space.d.ts +14 -0
  58. package/dist/pptx/render/inline-trailing-space.d.ts.map +1 -0
  59. package/dist/pptx/render/status-bar-state.d.ts +10 -0
  60. package/dist/pptx/render/status-bar-state.d.ts.map +1 -1
  61. package/dist/pptx/{smartart-insert-preview-R7USUBIX.cjs → smartart-insert-preview-GE47FXVT.cjs} +3 -3
  62. package/dist/pptx/{smartart-insert-preview-ZKVFXFSI.mjs → smartart-insert-preview-WY6DHSAJ.mjs} +2 -2
  63. package/dist/pptx/web-components/status-bar.d.ts.map +1 -1
  64. package/dist/teams.js +1 -1
  65. package/dist/theme-bridge.d.ts +0 -1
  66. package/dist/visio/controller.d.ts +12 -0
  67. package/dist/visio/font-stack.d.ts +11 -0
  68. package/dist/visio/locales/trust-center.d.ts +7 -0
  69. package/dist/visio/viewer-behaviour.d.ts +5 -0
  70. package/dist/visio/viewer-element.d.ts +16 -0
  71. package/dist/visio/viewer-options-categories.d.ts +6 -0
  72. package/dist/visio/viewer-options-trust.d.ts +10 -0
  73. package/dist/visio/viewer-options.d.ts +6 -0
  74. package/dist/visio/viewer-webfonts.d.ts +42 -0
  75. package/dist/visio.js +323 -21
  76. package/dist/xlsx/backstage/options-trust.d.ts +9 -0
  77. package/dist/xlsx/backstage/parts.d.ts +4 -0
  78. package/dist/xlsx/editor-core.d.ts +3 -0
  79. package/dist/xlsx/element-api.d.ts +15 -0
  80. package/dist/xlsx/font-downloads.d.ts +8 -0
  81. package/dist/xlsx/grid/drawings.d.ts +2 -0
  82. package/dist/xlsx/grid/measure.d.ts +2 -0
  83. package/dist/xlsx/page-views/page-layout-css.d.ts +1 -1
  84. package/dist/xlsx/print-cell.d.ts +1 -1
  85. package/dist/xlsx/webfonts.d.ts +70 -0
  86. package/dist/xlsx.js +259 -18
  87. package/package.json +2 -2
  88. package/dist/chunk-MWDG776V.js +0 -90
  89. /package/dist/{chunk-2YRHRV4H.js → chunk-MUY444GW.js} +0 -0
@@ -38,6 +38,7 @@ var schemaLabelKeys = require('ooxml-core/pptx/editor/render/schema-label-keys')
38
38
  var chartUserShapeEdit = require('ooxml-core/pptx/editor/render/chart-user-shape-edit');
39
39
  var color = require('ooxml-core/color');
40
40
  var bulletList = require('ooxml-core/pptx/editor/render/bullet-list');
41
+ var opc = require('ooxml-core/opc');
41
42
  var tableMerge = require('ooxml-core/pptx/editor/render/table-merge');
42
43
  var tableLayout = require('ooxml-core/pptx/editor/render/table-layout');
43
44
  var tableCellEdit = require('ooxml-core/pptx/editor/render/table-cell-edit');
@@ -2900,2080 +2901,6 @@ function getWarpCssTransform(preset2, adj, adj2) {
2900
2901
  return void 0;
2901
2902
  }
2902
2903
 
2903
- // src/pptx/render/google-fonts-catalogue.ts
2904
- var GOOGLE_FONTS_FAMILIES = [
2905
- "ABeeZee",
2906
- "Abel",
2907
- "Abhaya Libre",
2908
- "Aboreto",
2909
- "Abril Fatface",
2910
- "Abyssinica SIL",
2911
- "Aclonica",
2912
- "Acme",
2913
- "Actor",
2914
- "Adamina",
2915
- "ADLaM Display",
2916
- "Advent Pro",
2917
- "Afacad",
2918
- "Afacad Flux",
2919
- "Agbalumo",
2920
- "Agdasima",
2921
- "Agu Display",
2922
- "Aguafina Script",
2923
- "Akatab",
2924
- "Akaya Kanadaka",
2925
- "Akaya Telivigala",
2926
- "Akronim",
2927
- "Akshar",
2928
- "Akt",
2929
- "Aladin",
2930
- "Alan Sans",
2931
- "Alata",
2932
- "Alatsi",
2933
- "Albert Sans",
2934
- "Aldrich",
2935
- "Alef",
2936
- "Alegreya",
2937
- "Alegreya Sans",
2938
- "Alegreya Sans SC",
2939
- "Alegreya SC",
2940
- "Aleo",
2941
- "Alex Brush",
2942
- "Alexandria",
2943
- "Alfa Slab One",
2944
- "Alice",
2945
- "Alien Block",
2946
- "Alike",
2947
- "Alike Angular",
2948
- "Alkalami",
2949
- "Alkatra",
2950
- "Allan",
2951
- "Allerta",
2952
- "Allerta Stencil",
2953
- "Allison",
2954
- "Allkin",
2955
- "Allura",
2956
- "Almarai",
2957
- "Almendra",
2958
- "Almendra Display",
2959
- "Almendra SC",
2960
- "Alumni Sans",
2961
- "Alumni Sans Collegiate One",
2962
- "Alumni Sans Inline One",
2963
- "Alumni Sans Pinstripe",
2964
- "Alumni Sans SC",
2965
- "Alyamama",
2966
- "Amarante",
2967
- "Amaranth",
2968
- "Amarna",
2969
- "Amatic SC",
2970
- "Amethysta",
2971
- "Amiko",
2972
- "Amiri",
2973
- "Amiri Quran",
2974
- "Amita",
2975
- "Anaheim",
2976
- "Ancizar Sans",
2977
- "Ancizar Serif",
2978
- "Andada Pro",
2979
- "Andika",
2980
- "Anek Bangla",
2981
- "Anek Devanagari",
2982
- "Anek Gujarati",
2983
- "Anek Gurmukhi",
2984
- "Anek Kannada",
2985
- "Anek Latin",
2986
- "Anek Malayalam",
2987
- "Anek Odia",
2988
- "Anek Tamil",
2989
- "Anek Telugu",
2990
- "Angkor",
2991
- "Annapurna SIL",
2992
- "Annie Use Your Telescope",
2993
- "Anonymous Pro",
2994
- "Anta",
2995
- "Antic",
2996
- "Antic Didone",
2997
- "Antic Slab",
2998
- "Anton",
2999
- "Anton SC",
3000
- "Antonio",
3001
- "Anuphan",
3002
- "Anybody",
3003
- "Aoboshi One",
3004
- "AR One Sans",
3005
- "Arapey",
3006
- "Arbutus",
3007
- "Arbutus Slab",
3008
- "Architects Daughter",
3009
- "Archivo",
3010
- "Archivo Black",
3011
- "Archivo Narrow",
3012
- "Are You Serious",
3013
- "Aref Ruqaa",
3014
- "Aref Ruqaa Ink",
3015
- "Arima",
3016
- "Arimo",
3017
- "Arizonia",
3018
- "Armata",
3019
- "Arsenal",
3020
- "Arsenal SC",
3021
- "Artifika",
3022
- "Arvo",
3023
- "Arya",
3024
- "Asap",
3025
- "Asap Condensed",
3026
- "Asap Sharp",
3027
- "Asar",
3028
- "Asimovian",
3029
- "Asset",
3030
- "Assistant",
3031
- "Asta Sans",
3032
- "Astloch",
3033
- "Asul",
3034
- "Athiti",
3035
- "Atkinson Hyperlegible",
3036
- "Atkinson Hyperlegible Mono",
3037
- "Atkinson Hyperlegible Next",
3038
- "Atma",
3039
- "Atomic Age",
3040
- "Aubrey",
3041
- "Audiowide",
3042
- "Autour One",
3043
- "Average",
3044
- "Average Sans",
3045
- "Averia Gruesa Libre",
3046
- "Averia Libre",
3047
- "Averia Sans Libre",
3048
- "Averia Serif Libre",
3049
- "Azeret Mono",
3050
- "B612",
3051
- "B612 Mono",
3052
- "Babylonica",
3053
- "Bacasime Antique",
3054
- "Bad Script",
3055
- "Badeen Display",
3056
- "Bagel Fat One",
3057
- "Bahiana",
3058
- "Bahianita",
3059
- "Bai Jamjuree",
3060
- "Bakbak One",
3061
- "Ballet",
3062
- "Baloo 2",
3063
- "Baloo Bhai 2",
3064
- "Baloo Bhaijaan 2",
3065
- "Baloo Bhaina 2",
3066
- "Baloo Chettan 2",
3067
- "Baloo Da 2",
3068
- "Baloo Paaji 2",
3069
- "Baloo Tamma 2",
3070
- "Baloo Tammudu 2",
3071
- "Baloo Thambi 2",
3072
- "Balsamiq Sans",
3073
- "Balthazar",
3074
- "Bangers",
3075
- "Barlow",
3076
- "Barlow Condensed",
3077
- "Barlow Semi Condensed",
3078
- "Barriecito",
3079
- "Barrio",
3080
- "Basic",
3081
- "Baskervville",
3082
- "Baskervville SC",
3083
- "Battambang",
3084
- "Baumans",
3085
- "Bayon",
3086
- "BBH Bartle",
3087
- "BBH Bogle",
3088
- "BBH Hegarty",
3089
- "Be Vietnam Pro",
3090
- "Beau Rivage",
3091
- "Bebas Neue",
3092
- "Beiruti",
3093
- "Belanosima",
3094
- "Belgrano",
3095
- "Bellefair",
3096
- "Belleza",
3097
- "Bellota",
3098
- "Bellota Text",
3099
- "BenchNine",
3100
- "Benne",
3101
- "Bentham",
3102
- "Berkshire Swash",
3103
- "Besley",
3104
- "Betania Patmos",
3105
- "Betania Patmos GDL",
3106
- "Betania Patmos In",
3107
- "Betania Patmos In GDL",
3108
- "Beth Ellen",
3109
- "Bevan",
3110
- "BhuTuka Expanded One",
3111
- "Big Shoulders",
3112
- "Big Shoulders Inline",
3113
- "Big Shoulders Stencil",
3114
- "Bigelow Rules",
3115
- "Bigshot One",
3116
- "Bilbo",
3117
- "Bilbo Swash Caps",
3118
- "BioRhyme",
3119
- "BioRhyme Expanded",
3120
- "Birthstone",
3121
- "Birthstone Bounce",
3122
- "Biryani",
3123
- "Bitcount",
3124
- "Bitcount Grid Double",
3125
- "Bitcount Grid Double Ink",
3126
- "Bitcount Grid Single",
3127
- "Bitcount Grid Single Ink",
3128
- "Bitcount Ink",
3129
- "Bitcount Prop Double",
3130
- "Bitcount Prop Double Ink",
3131
- "Bitcount Prop Single",
3132
- "Bitcount Prop Single Ink",
3133
- "Bitcount Single",
3134
- "Bitcount Single Ink",
3135
- "Bitter",
3136
- "BIZ UDGothic",
3137
- "BIZ UDMincho",
3138
- "BIZ UDPGothic",
3139
- "BIZ UDPMincho",
3140
- "BJCree",
3141
- "Black And White Picture",
3142
- "Black Han Sans",
3143
- "Black Ops One",
3144
- "Blaka",
3145
- "Blaka Hollow",
3146
- "Blaka Ink",
3147
- "Blinker",
3148
- "Bodoni Moda",
3149
- "Bodoni Moda SC",
3150
- "Bokor",
3151
- "Boldonse",
3152
- "Bona Nova",
3153
- "Bona Nova SC",
3154
- "Bonbon",
3155
- "Bonheur Royale",
3156
- "Boogaloo",
3157
- "Borel",
3158
- "Bowlby One",
3159
- "Bowlby One SC",
3160
- "Bpmf Huninn",
3161
- "Bpmf Iansui",
3162
- "Bpmf Zihi Kai Std",
3163
- "Braah One",
3164
- "Brawler",
3165
- "Bree Serif",
3166
- "Bricolage Grotesque",
3167
- "Bruno Ace",
3168
- "Bruno Ace SC",
3169
- "Brygada 1918",
3170
- "Bubblegum Sans",
3171
- "Bubbler One",
3172
- "Buda",
3173
- "Buenard",
3174
- "Bungee",
3175
- "Bungee Hairline",
3176
- "Bungee Inline",
3177
- "Bungee Outline",
3178
- "Bungee Shade",
3179
- "Bungee Spice",
3180
- "Bungee Tint",
3181
- "Butcherman",
3182
- "Butterfly Kids",
3183
- "Bytesized",
3184
- "Caacupe One",
3185
- "Cabin",
3186
- "Cabin Condensed",
3187
- "Cabin Sketch",
3188
- "Cactus Classical Serif",
3189
- "Caesar Dressing",
3190
- "Cagliostro",
3191
- "Cairo",
3192
- "Cairo Play",
3193
- "Cal Sans",
3194
- "Caladea",
3195
- "Calistoga",
3196
- "Calligraffitti",
3197
- "Cambay",
3198
- "Cambo",
3199
- "Candal",
3200
- "Cantarell",
3201
- "Cantata One",
3202
- "Cantora One",
3203
- "Caprasimo",
3204
- "Capriola",
3205
- "Caramel",
3206
- "Carattere",
3207
- "Cardo",
3208
- "Carlito",
3209
- "Carme",
3210
- "Carrois Gothic",
3211
- "Carrois Gothic SC",
3212
- "Carter One",
3213
- "Cascadia Code",
3214
- "Cascadia Mono",
3215
- "Castoro",
3216
- "Castoro Titling",
3217
- "Catamaran",
3218
- "Caudex",
3219
- "Cause",
3220
- "Caveat",
3221
- "Caveat Brush",
3222
- "Cedarville Cursive",
3223
- "Ceviche One",
3224
- "Chakra Petch",
3225
- "Changa",
3226
- "Changa One",
3227
- "Chango",
3228
- "Charis SIL",
3229
- "Charm",
3230
- "Charmonman",
3231
- "Chathura",
3232
- "Chau Philomene One",
3233
- "Chela One",
3234
- "Chelsea Market",
3235
- "Chenla",
3236
- "Cherish",
3237
- "Cherry Bomb One",
3238
- "Cherry Cream Soda",
3239
- "Cherry Swash",
3240
- "Chewy",
3241
- "Chicle",
3242
- "Chilanka",
3243
- "Chiron GoRound TC",
3244
- "Chiron Hei HK",
3245
- "Chiron Sung HK",
3246
- "Chivo",
3247
- "Chivo Mono",
3248
- "Chocolate Classical Sans",
3249
- "Chokokutai",
3250
- "Chonburi",
3251
- "Cinzel",
3252
- "Cinzel Decorative",
3253
- "Clicker Script",
3254
- "Climate Crisis",
3255
- "Coda",
3256
- "Codystar",
3257
- "Coiny",
3258
- "Combo",
3259
- "Comfortaa",
3260
- "Comforter",
3261
- "Comforter Brush",
3262
- "Comic Neue",
3263
- "Comic Relief",
3264
- "Coming Soon",
3265
- "Comme",
3266
- "Commissioner",
3267
- "Concert One",
3268
- "Condiment",
3269
- "Content",
3270
- "Contrail One",
3271
- "Convergence",
3272
- "Cookie",
3273
- "Copse",
3274
- "Coral Pixels",
3275
- "Corben",
3276
- "Corinthia",
3277
- "Cormorant",
3278
- "Cormorant Garamond",
3279
- "Cormorant Infant",
3280
- "Cormorant SC",
3281
- "Cormorant Unicase",
3282
- "Cormorant Upright",
3283
- "Cossette Texte",
3284
- "Cossette Titre",
3285
- "Courgette",
3286
- "Courier Prime",
3287
- "Cousine",
3288
- "Coustard",
3289
- "Covered By Your Grace",
3290
- "Crafty Girls",
3291
- "Creepster",
3292
- "Crete Round",
3293
- "Crimson Pro",
3294
- "Crimson Text",
3295
- "Croissant One",
3296
- "Crushed",
3297
- "Cuprum",
3298
- "Cute Font",
3299
- "Cutive",
3300
- "Cutive Mono",
3301
- "Dai Banna SIL",
3302
- "Damion",
3303
- "Dancing Script",
3304
- "Danfo",
3305
- "Dangrek",
3306
- "Darker Grotesque",
3307
- "Darumadrop One",
3308
- "Datatype",
3309
- "David Libre",
3310
- "Dawning of a New Day",
3311
- "Days One",
3312
- "Dekko",
3313
- "Dela Gothic One",
3314
- "Delicious Handrawn",
3315
- "Delius",
3316
- "Delius Swash Caps",
3317
- "Delius Unicase",
3318
- "Della Respira",
3319
- "Denk One",
3320
- "Devonshire",
3321
- "Dhurjati",
3322
- "Didact Gothic",
3323
- "Diphylleia",
3324
- "Diplomata",
3325
- "Diplomata SC",
3326
- "DM Mono",
3327
- "DM Sans",
3328
- "DM Serif Display",
3329
- "DM Serif Text",
3330
- "Do Hyeon",
3331
- "Dokdo",
3332
- "Domine",
3333
- "Donegal One",
3334
- "Dongle",
3335
- "Doppio One",
3336
- "Dorsa",
3337
- "Dosis",
3338
- "DotGothic16",
3339
- "Doto",
3340
- "Dr Sugiyama",
3341
- "Duru Sans",
3342
- "Dynalight",
3343
- "DynaPuff",
3344
- "Eagle Lake",
3345
- "East Sea Dokdo",
3346
- "Eater",
3347
- "EB Garamond",
3348
- "Economica",
3349
- "Eczar",
3350
- "Edu AU VIC WA NT Arrows",
3351
- "Edu AU VIC WA NT Dots",
3352
- "Edu AU VIC WA NT Guides",
3353
- "Edu AU VIC WA NT Hand",
3354
- "Edu AU VIC WA NT Pre",
3355
- "Edu NSW ACT Cursive",
3356
- "Edu NSW ACT Foundation",
3357
- "Edu NSW ACT Hand Pre",
3358
- "Edu QLD Beginner",
3359
- "Edu QLD Hand",
3360
- "Edu SA Beginner",
3361
- "Edu SA Hand",
3362
- "Edu TAS Beginner",
3363
- "Edu VIC WA NT Beginner",
3364
- "Edu VIC WA NT Hand",
3365
- "Edu VIC WA NT Hand Pre",
3366
- "El Messiri",
3367
- "Electrolize",
3368
- "Elms Sans",
3369
- "Elsie",
3370
- "Elsie Swash Caps",
3371
- "Emblema One",
3372
- "Emilys Candy",
3373
- "Encode Sans",
3374
- "Encode Sans Condensed",
3375
- "Encode Sans Expanded",
3376
- "Encode Sans SC",
3377
- "Encode Sans Semi Condensed",
3378
- "Encode Sans Semi Expanded",
3379
- "Engagement",
3380
- "Englebert",
3381
- "Enriqueta",
3382
- "Ephesis",
3383
- "Epilogue",
3384
- "Epunda Sans",
3385
- "Epunda Slab",
3386
- "Erica One",
3387
- "Esteban",
3388
- "Estedad",
3389
- "Estonia",
3390
- "Euphoria Script",
3391
- "Ewert",
3392
- "Exile",
3393
- "Exo",
3394
- "Exo 2",
3395
- "Expletus Sans",
3396
- "Explora",
3397
- "Faculty Glyphic",
3398
- "Fahkwang",
3399
- "Familjen Grotesk",
3400
- "Fanwood Text",
3401
- "Farro",
3402
- "Farsan",
3403
- "Fascinate",
3404
- "Fascinate Inline",
3405
- "Faster One",
3406
- "Fasthand",
3407
- "Fauna One",
3408
- "Faustina",
3409
- "Federant",
3410
- "Federo",
3411
- "Felipa",
3412
- "Fenix",
3413
- "Festive",
3414
- "Figtree",
3415
- "Finger Paint",
3416
- "Finlandica Headline",
3417
- "Finlandica Text",
3418
- "Fira Code",
3419
- "Fira Mono",
3420
- "Fira Sans",
3421
- "Fira Sans Condensed",
3422
- "Fira Sans Extra Condensed",
3423
- "Fjalla One",
3424
- "Fjord One",
3425
- "Flamenco",
3426
- "Flavors",
3427
- "Fleur De Leah",
3428
- "Flow Block",
3429
- "Flow Circular",
3430
- "Flow Rounded",
3431
- "Foldit",
3432
- "Fondamento",
3433
- "Fontdiner Swanky",
3434
- "Forum",
3435
- "Fragment Mono",
3436
- "Francois One",
3437
- "Frank Ruhl Libre",
3438
- "Fraunces",
3439
- "Freckle Face",
3440
- "Fredericka the Great",
3441
- "Fredoka",
3442
- "Freehand",
3443
- "Freeman",
3444
- "Fresca",
3445
- "Frijole",
3446
- "Fruktur",
3447
- "Fugaz One",
3448
- "Fuggles",
3449
- "Funnel Display",
3450
- "Funnel Sans",
3451
- "Fustat",
3452
- "Fuzzy Bubbles",
3453
- "Ga Maamli",
3454
- "Gabarito",
3455
- "Gabriela",
3456
- "Gaegu",
3457
- "Gafata",
3458
- "Gajraj One",
3459
- "Galada",
3460
- "Galdeano",
3461
- "Galindo",
3462
- "Gamja Flower",
3463
- "Gantari",
3464
- "Gasoek One",
3465
- "Gayathri",
3466
- "Geist",
3467
- "Geist Mono",
3468
- "Geist Pixel",
3469
- "Gelasio",
3470
- "Gemunu Libre",
3471
- "Genos",
3472
- "Gentium Book Plus",
3473
- "Gentium Plus",
3474
- "Geo",
3475
- "Geologica",
3476
- "Geom",
3477
- "Geomini",
3478
- "Georama",
3479
- "Geostar",
3480
- "Geostar Fill",
3481
- "Germania One",
3482
- "GFS Didot",
3483
- "GFS Neohellenic",
3484
- "Gideon Roman",
3485
- "Gidole",
3486
- "Gidugu",
3487
- "Gilda Display",
3488
- "Girassol",
3489
- "Give You Glory",
3490
- "Glass Antiqua",
3491
- "Glegoo",
3492
- "Gloock",
3493
- "Gloria Hallelujah",
3494
- "Glory",
3495
- "Gluten",
3496
- "Goblin One",
3497
- "Gochi Hand",
3498
- "Goldman",
3499
- "Golos Text",
3500
- "Google Sans",
3501
- "Google Sans Code",
3502
- "Google Sans Flex",
3503
- "Gorditas",
3504
- "Gothic A1",
3505
- "Gotu",
3506
- "Goudy Bookletter 1911",
3507
- "Gowun Batang",
3508
- "Gowun Dodum",
3509
- "Graduate",
3510
- "Grand Hotel",
3511
- "Grandiflora One",
3512
- "Grandstander",
3513
- "Grape Nuts",
3514
- "Gravitas One",
3515
- "Great Vibes",
3516
- "Grechen Fuemen",
3517
- "Grenze",
3518
- "Grenze Gotisch",
3519
- "Grey Qo",
3520
- "Griffy",
3521
- "Gruppo",
3522
- "Gudea",
3523
- "Gugi",
3524
- "Gulzar",
3525
- "Gupter",
3526
- "Gurajada",
3527
- "Gveret Levin",
3528
- "Gwendolyn",
3529
- "Habibi",
3530
- "Hachi Maru Pop",
3531
- "Hahmlet",
3532
- "Halant",
3533
- "Hammersmith One",
3534
- "Hanalei",
3535
- "Hanalei Fill",
3536
- "Handjet",
3537
- "Handlee",
3538
- "Hanken Grotesk",
3539
- "Hanuman",
3540
- "Happy Monkey",
3541
- "Harmattan",
3542
- "Headland One",
3543
- "Hedvig Letters Sans",
3544
- "Hedvig Letters Serif",
3545
- "Heebo",
3546
- "Henny Penny",
3547
- "Hepta Slab",
3548
- "Herr Von Muellerhoff",
3549
- "Hi Melody",
3550
- "Hibur Mono",
3551
- "Hina Mincho",
3552
- "Hind",
3553
- "Hind Guntur",
3554
- "Hind Madurai",
3555
- "Hind Mysuru",
3556
- "Hind Siliguri",
3557
- "Hind Vadodara",
3558
- "Holtwood One SC",
3559
- "Homemade Apple",
3560
- "Homenaje",
3561
- "Honk",
3562
- "Host Grotesk",
3563
- "Hubballi",
3564
- "Hubot Sans",
3565
- "Huninn",
3566
- "Hurricane",
3567
- "Iansui",
3568
- "Ibarra Real Nova",
3569
- "IBM Plex Mono",
3570
- "IBM Plex Sans",
3571
- "IBM Plex Sans Arabic",
3572
- "IBM Plex Sans Condensed",
3573
- "IBM Plex Sans Devanagari",
3574
- "IBM Plex Sans Hebrew",
3575
- "IBM Plex Sans JP",
3576
- "IBM Plex Sans KR",
3577
- "IBM Plex Sans Thai",
3578
- "IBM Plex Sans Thai Looped",
3579
- "IBM Plex Serif",
3580
- "Iceberg",
3581
- "Iceland",
3582
- "Idiqlat",
3583
- "IM Fell Double Pica",
3584
- "IM Fell Double Pica SC",
3585
- "IM Fell DW Pica",
3586
- "IM Fell DW Pica SC",
3587
- "IM Fell English",
3588
- "IM Fell English SC",
3589
- "IM Fell French Canon",
3590
- "IM Fell French Canon SC",
3591
- "IM Fell Great Primer",
3592
- "IM Fell Great Primer SC",
3593
- "Imbue",
3594
- "Imperial Script",
3595
- "Imprima",
3596
- "Inclusive Sans",
3597
- "Inconsolata",
3598
- "Inder",
3599
- "Indie Flower",
3600
- "Ingrid Darling",
3601
- "Inika",
3602
- "Inknut Antiqua",
3603
- "Inria Sans",
3604
- "Inria Serif",
3605
- "Inspiration",
3606
- "Instrument Sans",
3607
- "Instrument Serif",
3608
- "Intel One Mono",
3609
- "Inter",
3610
- "Inter Tight",
3611
- "Iosevka Charon",
3612
- "Iosevka Charon Mono",
3613
- "Irish Grover",
3614
- "Island Moments",
3615
- "Istok Web",
3616
- "Italiana",
3617
- "Italianno",
3618
- "Itim",
3619
- "Jacquard 12",
3620
- "Jacquard 12 Charted",
3621
- "Jacquard 24",
3622
- "Jacquard 24 Charted",
3623
- "Jacquarda Bastarda 9",
3624
- "Jacquarda Bastarda 9 Charted",
3625
- "Jacques Francois",
3626
- "Jacques Francois Shadow",
3627
- "Jaini",
3628
- "Jaini Purva",
3629
- "Jaldi",
3630
- "Jaro",
3631
- "Jersey 10",
3632
- "Jersey 10 Charted",
3633
- "Jersey 15",
3634
- "Jersey 15 Charted",
3635
- "Jersey 20",
3636
- "Jersey 20 Charted",
3637
- "Jersey 25",
3638
- "Jersey 25 Charted",
3639
- "JetBrains Mono",
3640
- "Jim Nightshade",
3641
- "Joan",
3642
- "Jockey One",
3643
- "Jolly Lodger",
3644
- "Jomhuria",
3645
- "Jomolhari",
3646
- "Josefin Sans",
3647
- "Josefin Slab",
3648
- "Jost",
3649
- "Joti One",
3650
- "Jua",
3651
- "Judson",
3652
- "Julee",
3653
- "Julius Sans One",
3654
- "Junge",
3655
- "Jura",
3656
- "Just Another Hand",
3657
- "Just Me Again Down Here",
3658
- "K2D",
3659
- "Kablammo",
3660
- "Kadwa",
3661
- "Kaisei Decol",
3662
- "Kaisei HarunoUmi",
3663
- "Kaisei Opti",
3664
- "Kaisei Tokumin",
3665
- "Kalam",
3666
- "Kalnia",
3667
- "Kalnia Glaze",
3668
- "Kameron",
3669
- "Kanchenjunga",
3670
- "Kanit",
3671
- "Kantumruy Pro",
3672
- "Kapakana",
3673
- "Karantina",
3674
- "Karla",
3675
- "Karla Tamil Inclined",
3676
- "Karla Tamil Upright",
3677
- "Karma",
3678
- "Katibeh",
3679
- "Kaushan Script",
3680
- "Kavivanar",
3681
- "Kavoon",
3682
- "Kay Pho Du",
3683
- "Kdam Thmor Pro",
3684
- "Keania One",
3685
- "Kedebideri",
3686
- "Kelly Slab",
3687
- "Kenia",
3688
- "Khand",
3689
- "Khmer",
3690
- "Khula",
3691
- "Kings",
3692
- "Kirang Haerang",
3693
- "Kite One",
3694
- "Kiwi Maru",
3695
- "Klee One",
3696
- "Knewave",
3697
- "Kodchasan",
3698
- "Kode Mono",
3699
- "Koh Santepheap",
3700
- "KoHo",
3701
- "Kolker Brush",
3702
- "Konkhmer Sleokchher",
3703
- "Kosugi",
3704
- "Kosugi Maru",
3705
- "Kotta One",
3706
- "Koulen",
3707
- "Kranky",
3708
- "Kreon",
3709
- "Kristi",
3710
- "Krona One",
3711
- "Krub",
3712
- "Kufam",
3713
- "Kulim Park",
3714
- "Kumar One",
3715
- "Kumar One Outline",
3716
- "Kumbh Sans",
3717
- "Kurale",
3718
- "La Belle Aurore",
3719
- "Labrada",
3720
- "Lacquer",
3721
- "Laila",
3722
- "Lakki Reddy",
3723
- "Lalezar",
3724
- "Lancelot",
3725
- "Langar",
3726
- "Lateef",
3727
- "Lato",
3728
- "Lavishly Yours",
3729
- "League Gothic",
3730
- "League Script",
3731
- "League Spartan",
3732
- "Leckerli One",
3733
- "Ledger",
3734
- "Lekton",
3735
- "Lemon",
3736
- "Lemonada",
3737
- "Lexend",
3738
- "Lexend Deca",
3739
- "Lexend Exa",
3740
- "Lexend Giga",
3741
- "Lexend Mega",
3742
- "Lexend Peta",
3743
- "Lexend Tera",
3744
- "Lexend Zetta",
3745
- "Libertinus Keyboard",
3746
- "Libertinus Math",
3747
- "Libertinus Mono",
3748
- "Libertinus Sans",
3749
- "Libertinus Serif",
3750
- "Libertinus Serif Display",
3751
- "Libre Barcode 128",
3752
- "Libre Barcode 128 Text",
3753
- "Libre Barcode 39",
3754
- "Libre Barcode 39 Extended",
3755
- "Libre Barcode 39 Extended Text",
3756
- "Libre Barcode 39 Text",
3757
- "Libre Barcode EAN13 Text",
3758
- "Libre Baskerville",
3759
- "Libre Bodoni",
3760
- "Libre Caslon Display",
3761
- "Libre Caslon Text",
3762
- "Libre Franklin",
3763
- "Licorice",
3764
- "Life Savers",
3765
- "Lilex",
3766
- "Lilita One",
3767
- "Lily Script One",
3768
- "Limelight",
3769
- "Linden Hill",
3770
- "LINE Seed JP",
3771
- "Linefont",
3772
- "Lisu Bosa",
3773
- "Liter",
3774
- "Literata",
3775
- "Liu Jian Mao Cao",
3776
- "Livvic",
3777
- "Lobster",
3778
- "Lobster Two",
3779
- "Londrina Outline",
3780
- "Londrina Shadow",
3781
- "Londrina Sketch",
3782
- "Londrina Solid",
3783
- "Long Cang",
3784
- "Lora",
3785
- "Love Light",
3786
- "Love Ya Like A Sister",
3787
- "Loved by the King",
3788
- "Lovers Quarrel",
3789
- "Luckiest Guy",
3790
- "Lugrasimo",
3791
- "Lumanosimo",
3792
- "Lunasima",
3793
- "Lusitana",
3794
- "Lustria",
3795
- "Luxurious Roman",
3796
- "Luxurious Script",
3797
- "LXGW Marker Gothic",
3798
- "LXGW WenKai Mono TC",
3799
- "LXGW WenKai TC",
3800
- "M PLUS 1",
3801
- "M PLUS 1 Code",
3802
- "M PLUS 1p",
3803
- "M PLUS 2",
3804
- "M PLUS Code Latin",
3805
- "M PLUS Rounded 1c",
3806
- "M PLUS U",
3807
- "Ma Shan Zheng",
3808
- "Macondo",
3809
- "Macondo Swash Caps",
3810
- "Mada",
3811
- "Madimi One",
3812
- "Magra",
3813
- "Maiden Orange",
3814
- "Maitree",
3815
- "Major Mono Display",
3816
- "Mako",
3817
- "Mali",
3818
- "Mallanna",
3819
- "Maname",
3820
- "Mandali",
3821
- "Manjari",
3822
- "Manrope",
3823
- "Mansalva",
3824
- "Manuale",
3825
- "Manufacturing Consent",
3826
- "Marcellus",
3827
- "Marcellus SC",
3828
- "Marck Script",
3829
- "Margarine",
3830
- "Marhey",
3831
- "Markazi Text",
3832
- "Marko One",
3833
- "Marmelad",
3834
- "Martel",
3835
- "Martel Sans",
3836
- "Martian Mono",
3837
- "Marvel",
3838
- "Matangi",
3839
- "Mate",
3840
- "Mate SC",
3841
- "Matemasie",
3842
- "Maven Pro",
3843
- "McLaren",
3844
- "Mea Culpa",
3845
- "Meddon",
3846
- "MedievalSharp",
3847
- "Medula One",
3848
- "Meera Inimai",
3849
- "Megrim",
3850
- "Meie Script",
3851
- "Menbere",
3852
- "Meow Script",
3853
- "Merienda",
3854
- "Merriweather",
3855
- "Merriweather Sans",
3856
- "Metal",
3857
- "Metal Mania",
3858
- "Metamorphous",
3859
- "Metrophobic",
3860
- "Michroma",
3861
- "Micro 5",
3862
- "Micro 5 Charted",
3863
- "Milonga",
3864
- "Miltonian",
3865
- "Miltonian Tattoo",
3866
- "Mina",
3867
- "Mingzat",
3868
- "Miniver",
3869
- "Miranda Sans",
3870
- "Miriam Libre",
3871
- "Mirza",
3872
- "Miss Fajardose",
3873
- "Mitr",
3874
- "Mochiy Pop One",
3875
- "Mochiy Pop P One",
3876
- "Modak",
3877
- "Modern Antiqua",
3878
- "Moderustic",
3879
- "Mogra",
3880
- "Mohave",
3881
- "Moirai One",
3882
- "Molengo",
3883
- "Molle",
3884
- "Momo Signature",
3885
- "Momo Trust Display",
3886
- "Momo Trust Sans",
3887
- "Mona Sans",
3888
- "Monda",
3889
- "Monofett",
3890
- "Monomakh",
3891
- "Monomaniac One",
3892
- "Monoton",
3893
- "Monsieur La Doulaise",
3894
- "Montaga",
3895
- "Montagu Slab",
3896
- "MonteCarlo",
3897
- "Montenegrin Gothic One",
3898
- "Montez",
3899
- "Montserrat",
3900
- "Montserrat Alternates",
3901
- "Montserrat Underline",
3902
- "Moo Lah Lah",
3903
- "Mooli",
3904
- "Moon Dance",
3905
- "Moul",
3906
- "Moulpali",
3907
- "Mountains of Christmas",
3908
- "Mouse Memoirs",
3909
- "Mozilla Headline",
3910
- "Mozilla Text",
3911
- "Mr Bedfort",
3912
- "Mr Dafoe",
3913
- "Mr De Haviland",
3914
- "Mrs Saint Delafield",
3915
- "Mrs Sheppards",
3916
- "Ms Madi",
3917
- "Mukta",
3918
- "Mukta Mahee",
3919
- "Mukta Malar",
3920
- "Mukta Vaani",
3921
- "Mulish",
3922
- "Murecho",
3923
- "MuseoModerno",
3924
- "My Soul",
3925
- "Mynerve",
3926
- "Mystery Quest",
3927
- "Nabla",
3928
- "Namdhinggo",
3929
- "Nanum Brush Script",
3930
- "Nanum Gothic",
3931
- "Nanum Gothic Coding",
3932
- "Nanum Myeongjo",
3933
- "Nanum Pen Script",
3934
- "Narnoor",
3935
- "Nata Sans",
3936
- "National Park",
3937
- "Neonderthaw",
3938
- "Nerko One",
3939
- "Neucha",
3940
- "Neuton",
3941
- "New Amsterdam",
3942
- "New Rocker",
3943
- "New Tegomin",
3944
- "News Cycle",
3945
- "Newsreader",
3946
- "Niconne",
3947
- "Niramit",
3948
- "Nixie One",
3949
- "Nobile",
3950
- "Nokora",
3951
- "Norican",
3952
- "Nosifer",
3953
- "Notable",
3954
- "Nothing You Could Do",
3955
- "Noticia Text",
3956
- "Noto Color Emoji",
3957
- "Noto Emoji",
3958
- "Noto Kufi Arabic",
3959
- "Noto Music",
3960
- "Noto Naskh Arabic",
3961
- "Noto Nastaliq Urdu",
3962
- "Noto Rashi Hebrew",
3963
- "Noto Sans",
3964
- "Noto Sans Adlam",
3965
- "Noto Sans Adlam Unjoined",
3966
- "Noto Sans Anatolian Hieroglyphs",
3967
- "Noto Sans Arabic",
3968
- "Noto Sans Armenian",
3969
- "Noto Sans Avestan",
3970
- "Noto Sans Balinese",
3971
- "Noto Sans Bamum",
3972
- "Noto Sans Bassa Vah",
3973
- "Noto Sans Batak",
3974
- "Noto Sans Bengali",
3975
- "Noto Sans Bhaiksuki",
3976
- "Noto Sans Brahmi",
3977
- "Noto Sans Buginese",
3978
- "Noto Sans Buhid",
3979
- "Noto Sans Canadian Aboriginal",
3980
- "Noto Sans Carian",
3981
- "Noto Sans Caucasian Albanian",
3982
- "Noto Sans Chakma",
3983
- "Noto Sans Cham",
3984
- "Noto Sans Cherokee",
3985
- "Noto Sans Chorasmian",
3986
- "Noto Sans Coptic",
3987
- "Noto Sans Cuneiform",
3988
- "Noto Sans Cypriot",
3989
- "Noto Sans Cypro Minoan",
3990
- "Noto Sans Deseret",
3991
- "Noto Sans Devanagari",
3992
- "Noto Sans Display",
3993
- "Noto Sans Duployan",
3994
- "Noto Sans Egyptian Hieroglyphs",
3995
- "Noto Sans Elbasan",
3996
- "Noto Sans Elymaic",
3997
- "Noto Sans Ethiopic",
3998
- "Noto Sans Georgian",
3999
- "Noto Sans Glagolitic",
4000
- "Noto Sans Gothic",
4001
- "Noto Sans Grantha",
4002
- "Noto Sans Gujarati",
4003
- "Noto Sans Gunjala Gondi",
4004
- "Noto Sans Gurmukhi",
4005
- "Noto Sans Hanifi Rohingya",
4006
- "Noto Sans Hanunoo",
4007
- "Noto Sans Hatran",
4008
- "Noto Sans Hebrew",
4009
- "Noto Sans HK",
4010
- "Noto Sans Imperial Aramaic",
4011
- "Noto Sans Indic Siyaq Numbers",
4012
- "Noto Sans Inscriptional Pahlavi",
4013
- "Noto Sans Inscriptional Parthian",
4014
- "Noto Sans Javanese",
4015
- "Noto Sans JP",
4016
- "Noto Sans Kaithi",
4017
- "Noto Sans Kannada",
4018
- "Noto Sans Kawi",
4019
- "Noto Sans Kayah Li",
4020
- "Noto Sans Kharoshthi",
4021
- "Noto Sans Khmer",
4022
- "Noto Sans Khojki",
4023
- "Noto Sans Khudawadi",
4024
- "Noto Sans KR",
4025
- "Noto Sans Lao",
4026
- "Noto Sans Lao Looped",
4027
- "Noto Sans Lepcha",
4028
- "Noto Sans Limbu",
4029
- "Noto Sans Linear A",
4030
- "Noto Sans Linear B",
4031
- "Noto Sans Lisu",
4032
- "Noto Sans Lycian",
4033
- "Noto Sans Lydian",
4034
- "Noto Sans Mahajani",
4035
- "Noto Sans Malayalam",
4036
- "Noto Sans Mandaic",
4037
- "Noto Sans Manichaean",
4038
- "Noto Sans Marchen",
4039
- "Noto Sans Masaram Gondi",
4040
- "Noto Sans Math",
4041
- "Noto Sans Mayan Numerals",
4042
- "Noto Sans Medefaidrin",
4043
- "Noto Sans Meetei Mayek",
4044
- "Noto Sans Mende Kikakui",
4045
- "Noto Sans Meroitic",
4046
- "Noto Sans Miao",
4047
- "Noto Sans Modi",
4048
- "Noto Sans Mongolian",
4049
- "Noto Sans Mono",
4050
- "Noto Sans Mro",
4051
- "Noto Sans Multani",
4052
- "Noto Sans Myanmar",
4053
- "Noto Sans Nabataean",
4054
- "Noto Sans Nag Mundari",
4055
- "Noto Sans Nandinagari",
4056
- "Noto Sans New Tai Lue",
4057
- "Noto Sans Newa",
4058
- "Noto Sans NKo",
4059
- "Noto Sans NKo Unjoined",
4060
- "Noto Sans Nushu",
4061
- "Noto Sans Ogham",
4062
- "Noto Sans Ol Chiki",
4063
- "Noto Sans Old Hungarian",
4064
- "Noto Sans Old Italic",
4065
- "Noto Sans Old North Arabian",
4066
- "Noto Sans Old Permic",
4067
- "Noto Sans Old Persian",
4068
- "Noto Sans Old Sogdian",
4069
- "Noto Sans Old South Arabian",
4070
- "Noto Sans Old Turkic",
4071
- "Noto Sans Oriya",
4072
- "Noto Sans Osage",
4073
- "Noto Sans Osmanya",
4074
- "Noto Sans Pahawh Hmong",
4075
- "Noto Sans Palmyrene",
4076
- "Noto Sans Pau Cin Hau",
4077
- "Noto Sans PhagsPa",
4078
- "Noto Sans Phoenician",
4079
- "Noto Sans Psalter Pahlavi",
4080
- "Noto Sans Rejang",
4081
- "Noto Sans Runic",
4082
- "Noto Sans Samaritan",
4083
- "Noto Sans Saurashtra",
4084
- "Noto Sans SC",
4085
- "Noto Sans Sharada",
4086
- "Noto Sans Shavian",
4087
- "Noto Sans Siddham",
4088
- "Noto Sans SignWriting",
4089
- "Noto Sans Sinhala",
4090
- "Noto Sans Sogdian",
4091
- "Noto Sans Sora Sompeng",
4092
- "Noto Sans Soyombo",
4093
- "Noto Sans Sundanese",
4094
- "Noto Sans Sunuwar",
4095
- "Noto Sans Syloti Nagri",
4096
- "Noto Sans Symbols",
4097
- "Noto Sans Symbols 2",
4098
- "Noto Sans Syriac",
4099
- "Noto Sans Syriac Eastern",
4100
- "Noto Sans Syriac Western",
4101
- "Noto Sans Tagalog",
4102
- "Noto Sans Tagbanwa",
4103
- "Noto Sans Tai Le",
4104
- "Noto Sans Tai Tham",
4105
- "Noto Sans Tai Viet",
4106
- "Noto Sans Takri",
4107
- "Noto Sans Tamil",
4108
- "Noto Sans Tamil Supplement",
4109
- "Noto Sans Tangsa",
4110
- "Noto Sans TC",
4111
- "Noto Sans Telugu",
4112
- "Noto Sans Thaana",
4113
- "Noto Sans Thai",
4114
- "Noto Sans Thai Looped",
4115
- "Noto Sans Tifinagh",
4116
- "Noto Sans Tirhuta",
4117
- "Noto Sans Ugaritic",
4118
- "Noto Sans Vai",
4119
- "Noto Sans Vithkuqi",
4120
- "Noto Sans Wancho",
4121
- "Noto Sans Warang Citi",
4122
- "Noto Sans Yi",
4123
- "Noto Sans Zanabazar Square",
4124
- "Noto Serif",
4125
- "Noto Serif Ahom",
4126
- "Noto Serif Armenian",
4127
- "Noto Serif Balinese",
4128
- "Noto Serif Bengali",
4129
- "Noto Serif Devanagari",
4130
- "Noto Serif Display",
4131
- "Noto Serif Dives Akuru",
4132
- "Noto Serif Dogra",
4133
- "Noto Serif Ethiopic",
4134
- "Noto Serif Georgian",
4135
- "Noto Serif Grantha",
4136
- "Noto Serif Gujarati",
4137
- "Noto Serif Gurmukhi",
4138
- "Noto Serif Hebrew",
4139
- "Noto Serif Hentaigana",
4140
- "Noto Serif HK",
4141
- "Noto Serif JP",
4142
- "Noto Serif Kannada",
4143
- "Noto Serif Khitan Small Script",
4144
- "Noto Serif Khmer",
4145
- "Noto Serif Khojki",
4146
- "Noto Serif KR",
4147
- "Noto Serif Lao",
4148
- "Noto Serif Makasar",
4149
- "Noto Serif Malayalam",
4150
- "Noto Serif Myanmar",
4151
- "Noto Serif NP Hmong",
4152
- "Noto Serif Old Uyghur",
4153
- "Noto Serif Oriya",
4154
- "Noto Serif Ottoman Siyaq",
4155
- "Noto Serif SC",
4156
- "Noto Serif Sinhala",
4157
- "Noto Serif Tamil",
4158
- "Noto Serif Tangut",
4159
- "Noto Serif TC",
4160
- "Noto Serif Telugu",
4161
- "Noto Serif Thai",
4162
- "Noto Serif Tibetan",
4163
- "Noto Serif Todhri",
4164
- "Noto Serif Toto",
4165
- "Noto Serif Vithkuqi",
4166
- "Noto Serif Yezidi",
4167
- "Noto Traditional Nushu",
4168
- "Noto Znamenny Musical Notation",
4169
- "Nova Cut",
4170
- "Nova Flat",
4171
- "Nova Mono",
4172
- "Nova Oval",
4173
- "Nova Round",
4174
- "Nova Script",
4175
- "Nova Slim",
4176
- "Nova Square",
4177
- "NTR",
4178
- "Numans",
4179
- "Nunito",
4180
- "Nunito Sans",
4181
- "Nuosu SIL",
4182
- "Odibee Sans",
4183
- "Odor Mean Chey",
4184
- "Offside",
4185
- "Oi",
4186
- "Ojuju",
4187
- "Old Standard TT",
4188
- "Oldenburg",
4189
- "Ole",
4190
- "Oleo Script",
4191
- "Oleo Script Swash Caps",
4192
- "Onest",
4193
- "Oooh Baby",
4194
- "Open Sans",
4195
- "Oranienbaum",
4196
- "Orbit",
4197
- "Orbitron",
4198
- "Oregano",
4199
- "Orelega One",
4200
- "Orienta",
4201
- "Original Surfer",
4202
- "Oswald",
4203
- "Outfit",
4204
- "Over the Rainbow",
4205
- "Overlock",
4206
- "Overlock SC",
4207
- "Overpass",
4208
- "Overpass Mono",
4209
- "Ovo",
4210
- "Oxanium",
4211
- "Oxygen",
4212
- "Oxygen Mono",
4213
- "Pacifico",
4214
- "Padauk",
4215
- "Padyakke Expanded One",
4216
- "Palanquin",
4217
- "Palanquin Dark",
4218
- "Palette Mosaic",
4219
- "Pangolin",
4220
- "Paprika",
4221
- "Parastoo",
4222
- "Parisienne",
4223
- "Parkinsans",
4224
- "Passero One",
4225
- "Passion One",
4226
- "Passions Conflict",
4227
- "Pathway Extreme",
4228
- "Pathway Gothic One",
4229
- "Patrick Hand",
4230
- "Patrick Hand SC",
4231
- "Pattaya",
4232
- "Patua One",
4233
- "Pavanam",
4234
- "Paytone One",
4235
- "Peddana",
4236
- "Peralta",
4237
- "Permanent Marker",
4238
- "Petemoss",
4239
- "Petit Formal Script",
4240
- "Petrona",
4241
- "Phetsarath",
4242
- "Philosopher",
4243
- "Phudu",
4244
- "Piazzolla",
4245
- "Piedra",
4246
- "Pinyon Script",
4247
- "Pirata One",
4248
- "Pixelify Sans",
4249
- "Plaster",
4250
- "Platypi",
4251
- "Play",
4252
- "Playball",
4253
- "Playfair",
4254
- "Playfair Display",
4255
- "Playfair Display SC",
4256
- "Playpen Sans",
4257
- "Playpen Sans Arabic",
4258
- "Playpen Sans Deva",
4259
- "Playpen Sans Hebrew",
4260
- "Playpen Sans Thai",
4261
- "Playwrite AR",
4262
- "Playwrite AR Guides",
4263
- "Playwrite AT",
4264
- "Playwrite AT Guides",
4265
- "Playwrite AU NSW",
4266
- "Playwrite AU NSW Guides",
4267
- "Playwrite AU QLD",
4268
- "Playwrite AU QLD Guides",
4269
- "Playwrite AU SA",
4270
- "Playwrite AU SA Guides",
4271
- "Playwrite AU TAS",
4272
- "Playwrite AU TAS Guides",
4273
- "Playwrite AU VIC",
4274
- "Playwrite AU VIC Guides",
4275
- "Playwrite BE VLG",
4276
- "Playwrite BE VLG Guides",
4277
- "Playwrite BE WAL",
4278
- "Playwrite BE WAL Guides",
4279
- "Playwrite BR",
4280
- "Playwrite BR Guides",
4281
- "Playwrite CA",
4282
- "Playwrite CA Guides",
4283
- "Playwrite CL",
4284
- "Playwrite CL Guides",
4285
- "Playwrite CO",
4286
- "Playwrite CO Guides",
4287
- "Playwrite CU",
4288
- "Playwrite CU Guides",
4289
- "Playwrite CZ",
4290
- "Playwrite CZ Guides",
4291
- "Playwrite DE Grund",
4292
- "Playwrite DE Grund Guides",
4293
- "Playwrite DE LA",
4294
- "Playwrite DE LA Guides",
4295
- "Playwrite DE SAS",
4296
- "Playwrite DE SAS Guides",
4297
- "Playwrite DE VA",
4298
- "Playwrite DE VA Guides",
4299
- "Playwrite DK Loopet",
4300
- "Playwrite DK Loopet Guides",
4301
- "Playwrite DK Uloopet",
4302
- "Playwrite DK Uloopet Guides",
4303
- "Playwrite ES",
4304
- "Playwrite ES Deco",
4305
- "Playwrite ES Deco Guides",
4306
- "Playwrite ES Guides",
4307
- "Playwrite FR Moderne",
4308
- "Playwrite FR Moderne Guides",
4309
- "Playwrite FR Trad",
4310
- "Playwrite FR Trad Guides",
4311
- "Playwrite GB J",
4312
- "Playwrite GB J Guides",
4313
- "Playwrite GB S",
4314
- "Playwrite GB S Guides",
4315
- "Playwrite HR",
4316
- "Playwrite HR Guides",
4317
- "Playwrite HR Lijeva",
4318
- "Playwrite HR Lijeva Guides",
4319
- "Playwrite HU",
4320
- "Playwrite HU Guides",
4321
- "Playwrite ID",
4322
- "Playwrite ID Guides",
4323
- "Playwrite IE",
4324
- "Playwrite IE Guides",
4325
- "Playwrite IN",
4326
- "Playwrite IN Guides",
4327
- "Playwrite IS",
4328
- "Playwrite IS Guides",
4329
- "Playwrite IT Moderna",
4330
- "Playwrite IT Moderna Guides",
4331
- "Playwrite IT Trad",
4332
- "Playwrite IT Trad Guides",
4333
- "Playwrite MX",
4334
- "Playwrite MX Guides",
4335
- "Playwrite NG Modern",
4336
- "Playwrite NG Modern Guides",
4337
- "Playwrite NL",
4338
- "Playwrite NL Guides",
4339
- "Playwrite NO",
4340
- "Playwrite NO Guides",
4341
- "Playwrite NZ",
4342
- "Playwrite NZ Basic",
4343
- "Playwrite NZ Basic Guides",
4344
- "Playwrite NZ Guides",
4345
- "Playwrite PE",
4346
- "Playwrite PE Guides",
4347
- "Playwrite PL",
4348
- "Playwrite PL Guides",
4349
- "Playwrite PT",
4350
- "Playwrite PT Guides",
4351
- "Playwrite RO",
4352
- "Playwrite RO Guides",
4353
- "Playwrite SK",
4354
- "Playwrite SK Guides",
4355
- "Playwrite TZ",
4356
- "Playwrite TZ Guides",
4357
- "Playwrite US Modern",
4358
- "Playwrite US Modern Guides",
4359
- "Playwrite US Trad",
4360
- "Playwrite US Trad Guides",
4361
- "Playwrite VN",
4362
- "Playwrite VN Guides",
4363
- "Playwrite ZA",
4364
- "Playwrite ZA Guides",
4365
- "Pliant",
4366
- "Plus Jakarta Sans",
4367
- "Pochaevsk",
4368
- "Podkova",
4369
- "Poetsen One",
4370
- "Poiret One",
4371
- "Poller One",
4372
- "Poltawski Nowy",
4373
- "Poly",
4374
- "Pompiere",
4375
- "Ponnala",
4376
- "Ponomar",
4377
- "Pontano Sans",
4378
- "Poor Story",
4379
- "Poppins",
4380
- "Port Lligat Sans",
4381
- "Port Lligat Slab",
4382
- "Potta One",
4383
- "Pragati Narrow",
4384
- "Praise",
4385
- "Prata",
4386
- "Preahvihear",
4387
- "Press Start 2P",
4388
- "Pridi",
4389
- "Princess Sofia",
4390
- "Prociono",
4391
- "Prompt",
4392
- "Prosto One",
4393
- "Protest Guerrilla",
4394
- "Protest Revolution",
4395
- "Protest Riot",
4396
- "Protest Strike",
4397
- "Proza Libre",
4398
- "PT Mono",
4399
- "PT Sans",
4400
- "PT Sans Caption",
4401
- "PT Sans Narrow",
4402
- "PT Serif",
4403
- "PT Serif Caption",
4404
- "Public Sans",
4405
- "Puppies Play",
4406
- "Puritan",
4407
- "Purple Purse",
4408
- "Qahiri",
4409
- "Quando",
4410
- "Quantico",
4411
- "Quattrocento",
4412
- "Quattrocento Sans",
4413
- "Questrial",
4414
- "Quicksand",
4415
- "Quintessential",
4416
- "Qwigley",
4417
- "Qwitcher Grypen",
4418
- "Racing Sans One",
4419
- "Radio Canada",
4420
- "Radio Canada Big",
4421
- "Radley",
4422
- "Rajdhani",
4423
- "Rakkas",
4424
- "Raleway",
4425
- "Raleway Dots",
4426
- "Ramabhadra",
4427
- "Ramaraja",
4428
- "Rambla",
4429
- "Rammetto One",
4430
- "Rampart One",
4431
- "Ramsina",
4432
- "Ranchers",
4433
- "Rancho",
4434
- "Ranga",
4435
- "Rasa",
4436
- "Rationale",
4437
- "Ravi Prakash",
4438
- "Readex Pro",
4439
- "Recursive",
4440
- "Red Hat Display",
4441
- "Red Hat Mono",
4442
- "Red Hat Text",
4443
- "Red Rose",
4444
- "Redacted",
4445
- "Redacted Script",
4446
- "Reddit Mono",
4447
- "Reddit Sans",
4448
- "Reddit Sans Condensed",
4449
- "Redressed",
4450
- "Reem Kufi",
4451
- "Reem Kufi Fun",
4452
- "Reem Kufi Ink",
4453
- "Reenie Beanie",
4454
- "Reggae One",
4455
- "REM",
4456
- "Rethink Sans",
4457
- "Revalia",
4458
- "Rhodium Libre",
4459
- "Ribeye",
4460
- "Ribeye Marrow",
4461
- "Righteous",
4462
- "Risque",
4463
- "Road Rage",
4464
- "Roboto",
4465
- "Roboto Condensed",
4466
- "Roboto Flex",
4467
- "Roboto Mono",
4468
- "Roboto Serif",
4469
- "Roboto Slab",
4470
- "Rochester",
4471
- "Rock 3D",
4472
- "Rock Salt",
4473
- "RocknRoll One",
4474
- "Rokkitt",
4475
- "Romanesco",
4476
- "Ropa Sans",
4477
- "Rosario",
4478
- "Rosarivo",
4479
- "Rouge Script",
4480
- "Rowdies",
4481
- "Rozha One",
4482
- "Rubik",
4483
- "Rubik 80s Fade",
4484
- "Rubik Beastly",
4485
- "Rubik Broken Fax",
4486
- "Rubik Bubbles",
4487
- "Rubik Burned",
4488
- "Rubik Dirt",
4489
- "Rubik Distressed",
4490
- "Rubik Doodle Shadow",
4491
- "Rubik Doodle Triangles",
4492
- "Rubik Gemstones",
4493
- "Rubik Glitch",
4494
- "Rubik Glitch Pop",
4495
- "Rubik Iso",
4496
- "Rubik Lines",
4497
- "Rubik Maps",
4498
- "Rubik Marker Hatch",
4499
- "Rubik Maze",
4500
- "Rubik Microbe",
4501
- "Rubik Mono One",
4502
- "Rubik Moonrocks",
4503
- "Rubik Pixels",
4504
- "Rubik Puddles",
4505
- "Rubik Scribble",
4506
- "Rubik Spray Paint",
4507
- "Rubik Storm",
4508
- "Rubik Vinyl",
4509
- "Rubik Wet Paint",
4510
- "Ruda",
4511
- "Rufina",
4512
- "Ruge Boogie",
4513
- "Ruluko",
4514
- "Rum Raisin",
4515
- "Ruslan Display",
4516
- "Russo One",
4517
- "Ruthie",
4518
- "Ruwudu",
4519
- "Rye",
4520
- "Sacramento",
4521
- "Sahitya",
4522
- "Sail",
4523
- "Saira",
4524
- "Saira Condensed",
4525
- "Saira Extra Condensed",
4526
- "Saira Semi Condensed",
4527
- "Saira Stencil",
4528
- "Salsa",
4529
- "Sanchez",
4530
- "Sancreek",
4531
- "Sankofa Display",
4532
- "Sansation",
4533
- "Sansita",
4534
- "Sansita Swashed",
4535
- "Sarabun",
4536
- "Sarala",
4537
- "Sarina",
4538
- "Sarpanch",
4539
- "Sassy Frass",
4540
- "Satisfy",
4541
- "Savate",
4542
- "Sawarabi Gothic",
4543
- "Sawarabi Mincho",
4544
- "Scada",
4545
- "Scheherazade New",
4546
- "Schibsted Grotesk",
4547
- "Schoolbell",
4548
- "Science Gothic",
4549
- "Scope One",
4550
- "Scoutie Sans",
4551
- "Seaweed Script",
4552
- "Secular One",
4553
- "Sedan",
4554
- "Sedan SC",
4555
- "Sedgwick Ave",
4556
- "Sedgwick Ave Display",
4557
- "Sekuya",
4558
- "Sen",
4559
- "Send Flowers",
4560
- "Sevillana",
4561
- "Seymour One",
4562
- "Shadows Into Light",
4563
- "Shadows Into Light Two",
4564
- "Shafarik",
4565
- "Shalimar",
4566
- "Shantell Sans",
4567
- "Shanti",
4568
- "Share",
4569
- "Share Tech",
4570
- "Share Tech Mono",
4571
- "Shippori Antique",
4572
- "Shippori Antique B1",
4573
- "Shippori Mincho",
4574
- "Shippori Mincho B1",
4575
- "Shizuru",
4576
- "Shojumaru",
4577
- "Short Stack",
4578
- "Shrikhand",
4579
- "Siemreap",
4580
- "Sigmar",
4581
- "Sigmar One",
4582
- "Signika",
4583
- "Signika Negative",
4584
- "Silkscreen",
4585
- "Simonetta",
4586
- "Single Day",
4587
- "Sintony",
4588
- "Sirin Stencil",
4589
- "Sirivennela",
4590
- "Six Caps",
4591
- "Sixtyfour",
4592
- "Sixtyfour Convergence",
4593
- "Skranji",
4594
- "Slabo 13px",
4595
- "Slabo 27px",
4596
- "Slackey",
4597
- "Slackside One",
4598
- "Smokum",
4599
- "Smooch",
4600
- "Smooch Sans",
4601
- "Smythe",
4602
- "SN Pro",
4603
- "Sniglet",
4604
- "Snippet",
4605
- "Snowburst One",
4606
- "Sofadi One",
4607
- "Sofia",
4608
- "Sofia Sans",
4609
- "Sofia Sans Condensed",
4610
- "Sofia Sans Extra Condensed",
4611
- "Sofia Sans Semi Condensed",
4612
- "Solitreo",
4613
- "Solway",
4614
- "Sometype Mono",
4615
- "Song Myung",
4616
- "Sono",
4617
- "Sonsie One",
4618
- "Sora",
4619
- "Sorts Mill Goudy",
4620
- "Sour Gummy",
4621
- "Source Code Pro",
4622
- "Source Sans 3",
4623
- "Source Serif 4",
4624
- "Space Grotesk",
4625
- "Space Mono",
4626
- "Special Elite",
4627
- "Special Gothic",
4628
- "Special Gothic Condensed One",
4629
- "Special Gothic Expanded One",
4630
- "Spectral",
4631
- "Spectral SC",
4632
- "Spicy Rice",
4633
- "Spinnaker",
4634
- "Spirax",
4635
- "Splash",
4636
- "Spline Sans",
4637
- "Spline Sans Mono",
4638
- "Squada One",
4639
- "Square Peg",
4640
- "Sree Krushnadevaraya",
4641
- "Sriracha",
4642
- "Srisakdi",
4643
- "Staatliches",
4644
- "Stack Sans Headline",
4645
- "Stack Sans Notch",
4646
- "Stack Sans Text",
4647
- "Stalemate",
4648
- "Stalinist One",
4649
- "Stardos Stencil",
4650
- "Stick",
4651
- "Stick No Bills",
4652
- "Stint Ultra Condensed",
4653
- "Stint Ultra Expanded",
4654
- "STIX Two Math",
4655
- "STIX Two Text",
4656
- "Stoke",
4657
- "Story Script",
4658
- "Strait",
4659
- "Strichpunkt Sans",
4660
- "Style Script",
4661
- "Stylish",
4662
- "Sue Ellen Francisco",
4663
- "Suez One",
4664
- "Sulphur Point",
4665
- "Sumana",
4666
- "Sunflower",
4667
- "Sunshiney",
4668
- "Supermercado One",
4669
- "Sura",
4670
- "Suranna",
4671
- "Suravaram",
4672
- "SUSE",
4673
- "SUSE Mono",
4674
- "Suwannaphum",
4675
- "Swanky and Moo Moo",
4676
- "Syncopate",
4677
- "Syne",
4678
- "Syne Mono",
4679
- "Syne Tactile",
4680
- "Tac One",
4681
- "Tagesschrift",
4682
- "Tai Heritage Pro",
4683
- "Tajawal",
4684
- "Tangerine",
4685
- "Tapestry",
4686
- "Taprom",
4687
- "TASA Explorer",
4688
- "TASA Orbiter",
4689
- "Tauri",
4690
- "Taviraj",
4691
- "Teachers",
4692
- "Teko",
4693
- "Tektur",
4694
- "Telex",
4695
- "Tenali Ramakrishna",
4696
- "Tenor Sans",
4697
- "Text Me One",
4698
- "Texturina",
4699
- "Thasadith",
4700
- "The Girl Next Door",
4701
- "The Nautigal",
4702
- "Tienne",
4703
- "TikTok Sans",
4704
- "Tillana",
4705
- "Tilt Neon",
4706
- "Tilt Prism",
4707
- "Tilt Warp",
4708
- "Timmana",
4709
- "Tinos",
4710
- "Tiny5",
4711
- "Tiro Bangla",
4712
- "Tiro Devanagari Hindi",
4713
- "Tiro Devanagari Marathi",
4714
- "Tiro Devanagari Sanskrit",
4715
- "Tiro Gurmukhi",
4716
- "Tiro Kannada",
4717
- "Tiro Tamil",
4718
- "Tiro Telugu",
4719
- "Tirra",
4720
- "Titan One",
4721
- "Titillium Web",
4722
- "Tomorrow",
4723
- "Tourney",
4724
- "Trade Winds",
4725
- "Train One",
4726
- "Triodion",
4727
- "Trirong",
4728
- "Trispace",
4729
- "Trocchi",
4730
- "Trochut",
4731
- "Truculenta",
4732
- "Trykker",
4733
- "Tsukimi Rounded",
4734
- "Tuffy",
4735
- "Tulpen One",
4736
- "Turret Road",
4737
- "Twinkle Star",
4738
- "Ubuntu",
4739
- "Ubuntu Condensed",
4740
- "Ubuntu Mono",
4741
- "Ubuntu Sans",
4742
- "Ubuntu Sans Mono",
4743
- "Uchen",
4744
- "Ultra",
4745
- "Unbounded",
4746
- "Uncial Antiqua",
4747
- "Underdog",
4748
- "Unica One",
4749
- "UnifrakturCook",
4750
- "UnifrakturMaguntia",
4751
- "Unkempt",
4752
- "Unlock",
4753
- "Unna",
4754
- "UoqMunThenKhung",
4755
- "Updock",
4756
- "Urbanist",
4757
- "Valley Sans",
4758
- "Vampiro One",
4759
- "Varela",
4760
- "Varela Round",
4761
- "Varta",
4762
- "Vast Shadow",
4763
- "Vazirmatn",
4764
- "Vend Sans",
4765
- "Vesper Libre",
4766
- "Viaoda Libre",
4767
- "Vibes",
4768
- "Vibur",
4769
- "Victor Mono",
4770
- "Vidaloka",
4771
- "Viga",
4772
- "Vina Sans",
4773
- "Voces",
4774
- "Volkhov",
4775
- "Vollkorn",
4776
- "Vollkorn SC",
4777
- "Voltaire",
4778
- "VT323",
4779
- "Vujahday Script",
4780
- "Waiting for the Sunrise",
4781
- "Wallpoet",
4782
- "Walter Turncoat",
4783
- "Warnes",
4784
- "Water Brush",
4785
- "Waterfall",
4786
- "Wavefont",
4787
- "WDXL Lubrifont JP N",
4788
- "WDXL Lubrifont SC",
4789
- "WDXL Lubrifont TC",
4790
- "Wellfleet",
4791
- "Wendy One",
4792
- "Whisper",
4793
- "WindSong",
4794
- "Winky Rough",
4795
- "Winky Sans",
4796
- "Wire One",
4797
- "Wittgenstein",
4798
- "Wix Madefor Display",
4799
- "Wix Madefor Text",
4800
- "Work Sans",
4801
- "Workbench",
4802
- "Xanh Mono",
4803
- "Yaldevi",
4804
- "Yanone Kaffeesatz",
4805
- "Yantramanav",
4806
- "Yarndings 12",
4807
- "Yarndings 12 Charted",
4808
- "Yarndings 20",
4809
- "Yarndings 20 Charted",
4810
- "Yatra One",
4811
- "Yellowtail",
4812
- "Yeon Sung",
4813
- "Yeseva One",
4814
- "Yesteryear",
4815
- "Yomogi",
4816
- "Young Serif",
4817
- "Yrsa",
4818
- "Ysabeau",
4819
- "Ysabeau Infant",
4820
- "Ysabeau Office",
4821
- "Ysabeau SC",
4822
- "Yuji Boku",
4823
- "Yuji Hentaigana Akari",
4824
- "Yuji Hentaigana Akebono",
4825
- "Yuji Mai",
4826
- "Yuji Syuku",
4827
- "Yusei Magic",
4828
- "Yuyu",
4829
- "Yuyu Short",
4830
- "Zain",
4831
- "Zalando Sans",
4832
- "Zalando Sans Expanded",
4833
- "Zalando Sans SemiExpanded",
4834
- "ZCOOL KuaiLe",
4835
- "ZCOOL QingKe HuangYou",
4836
- "ZCOOL XiaoWei",
4837
- "Zen Antique",
4838
- "Zen Antique Soft",
4839
- "Zen Dots",
4840
- "Zen Kaku Gothic Antique",
4841
- "Zen Kaku Gothic New",
4842
- "Zen Kurenaido",
4843
- "Zen Loop",
4844
- "Zen Maru Gothic",
4845
- "Zen Old Mincho",
4846
- "Zen Tokyo Zoo",
4847
- "Zeyada",
4848
- "Zhi Mang Xing",
4849
- "Zilla Slab",
4850
- "Zilla Slab Highlight"
4851
- ];
4852
-
4853
- // src/pptx/render/google-fonts-lookup.ts
4854
- var catalogueIndex;
4855
- function findGoogleFontsFamily(family2) {
4856
- if (!catalogueIndex) {
4857
- catalogueIndex = new Map(GOOGLE_FONTS_FAMILIES.map((name) => [normaliseFamily(name), name]));
4858
- }
4859
- return catalogueIndex.get(normaliseFamily(family2)) ?? null;
4860
- }
4861
- function normaliseFamily(family2) {
4862
- return family2.trim().replace(/\s+/gu, " ").toLowerCase();
4863
- }
4864
-
4865
- // src/pptx/render/font-weight-names.ts
4866
- var WEIGHT_TOKENS = /* @__PURE__ */ new Map([
4867
- ["thin", 100],
4868
- ["hairline", 100],
4869
- ["extralight", 200],
4870
- ["ultralight", 200],
4871
- ["light", 300],
4872
- ["regular", 400],
4873
- ["normal", 400],
4874
- ["book", 400],
4875
- ["medium", 500],
4876
- ["semibold", 600],
4877
- ["demibold", 600],
4878
- ["bold", 700],
4879
- ["extrabold", 800],
4880
- ["ultrabold", 800],
4881
- ["black", 900],
4882
- ["heavy", 900],
4883
- ["extrablack", 900],
4884
- ["ultrablack", 900]
4885
- ]);
4886
- var WEIGHT_PREFIXES = /* @__PURE__ */ new Set(["semi", "demi", "extra", "ultra"]);
4887
- var STYLE_TOKENS = /* @__PURE__ */ new Set(["italic", "oblique"]);
4888
- function parseFontWeightName(name) {
4889
- const tokens = name.trim().split(/\s+/u);
4890
- let weight;
4891
- let consumed = 0;
4892
- let end = tokens.length;
4893
- let italic = false;
4894
- if (end > 1 && STYLE_TOKENS.has(normaliseToken(tokens[end - 1]))) {
4895
- end -= 1;
4896
- consumed += 1;
4897
- italic = true;
4898
- }
4899
- if (end > 1) {
4900
- const last = normaliseToken(tokens[end - 1]);
4901
- const prefix = end > 2 ? normaliseToken(tokens[end - 2]) : "";
4902
- const joined = WEIGHT_PREFIXES.has(prefix) ? WEIGHT_TOKENS.get(prefix + last) : void 0;
4903
- if (joined !== void 0) {
4904
- weight = joined;
4905
- end -= 2;
4906
- consumed += 2;
4907
- } else if (WEIGHT_TOKENS.has(last)) {
4908
- weight = WEIGHT_TOKENS.get(last);
4909
- end -= 1;
4910
- consumed += 1;
4911
- }
4912
- }
4913
- if (consumed === 0 || end < 1) {
4914
- return null;
4915
- }
4916
- return { family: tokens.slice(0, end).join(" "), weight: weight ?? 400, italic };
4917
- }
4918
- function normaliseToken(token) {
4919
- return token.toLowerCase().replace(/-/gu, "");
4920
- }
4921
- function resolveGoogleFontsFace(typeface) {
4922
- const exact = findGoogleFontsFamily(typeface);
4923
- if (exact !== null) {
4924
- return { family: exact };
4925
- }
4926
- const parsed = parseFontWeightName(typeface);
4927
- if (!parsed) {
4928
- return null;
4929
- }
4930
- const base2 = findGoogleFontsFamily(parsed.family);
4931
- if (base2 === null) {
4932
- return null;
4933
- }
4934
- return parsed.italic ? { family: base2, weight: parsed.weight, italic: true } : { family: base2, weight: parsed.weight };
4935
- }
4936
- var impliedStyleCache = /* @__PURE__ */ new Map();
4937
- function impliedStyle(typeface) {
4938
- let cached = impliedStyleCache.get(typeface);
4939
- if (cached === void 0) {
4940
- const face = resolveGoogleFontsFace(typeface);
4941
- cached = face?.weight === void 0 ? null : { weight: face.weight, italic: face.italic === true };
4942
- impliedStyleCache.set(typeface, cached);
4943
- }
4944
- return cached;
4945
- }
4946
- function primaryFamily(familyOrList) {
4947
- const first = familyOrList.split(",")[0]?.trim() ?? "";
4948
- const quoted2 = /^(["'])(.*)\1$/u.exec(first);
4949
- return quoted2 ? quoted2[2].replace(/\\(.)/gu, "$1") : first;
4950
- }
4951
- function resolveFontWeight(fontFamily, bold) {
4952
- const implied = fontFamily ? impliedStyle(primaryFamily(fontFamily))?.weight : void 0;
4953
- const regular = implied ?? 400;
4954
- return bold ? Math.max(700, regular) : regular;
4955
- }
4956
- function fontWeightShorthand(fontFamily, bold) {
4957
- const value = fontWeightAttribute(fontFamily, bold);
4958
- return value === void 0 ? "" : `${value} `;
4959
- }
4960
- function fontWeightAttribute(fontFamily, bold) {
4961
- const weight = resolveFontWeight(fontFamily, bold);
4962
- if (weight === 400) {
4963
- return void 0;
4964
- }
4965
- return weight === 700 ? "bold" : String(weight);
4966
- }
4967
- function resolveFontItalic(fontFamily, italic) {
4968
- if (italic) {
4969
- return true;
4970
- }
4971
- return fontFamily ? impliedStyle(primaryFamily(fontFamily))?.italic === true : false;
4972
- }
4973
- function fontStyleShorthand(fontFamily, italic) {
4974
- return resolveFontItalic(fontFamily, italic) ? "italic " : "";
4975
- }
4976
-
4977
2904
  // src/pptx/render/text-warp-envelope-measure.ts
4978
2905
  var measureCtx;
4979
2906
  function getMeasureCtx() {
@@ -4992,7 +2919,7 @@ function envelopeFontSizePx(font) {
4992
2919
  }
4993
2920
  function toCanvasFont(font, sizePx = envelopeFontSizePx(font)) {
4994
2921
  const family2 = font.fontFamily || chunkHTFYAGHG_cjs.DEFAULT_FONT_FAMILY;
4995
- return `${fontStyleShorthand(family2, font.italic)}${fontWeightShorthand(family2, font.bold)}${sizePx}px ${family2}`;
2922
+ return `${text$1.fontStyleShorthand(family2, font.italic)}${text$1.fontWeightShorthand(family2, font.bold)}${sizePx}px ${family2}`;
4996
2923
  }
4997
2924
  function enableKerning(ctx) {
4998
2925
  const kerning = ctx;
@@ -5072,8 +2999,8 @@ function resolveWarpRunPaint(segment, elementStyle, fallbackColor = "#000000", d
5072
2999
  ),
5073
3000
  fontFamily: family2 ? pptx.getSubstituteFontFamily(family2) : chunkHTFYAGHG_cjs.DEFAULT_FONT_FAMILY,
5074
3001
  fontSizePx: s.fontSize ?? elementStyle?.fontSize ?? defaultFontSizePx,
5075
- fontWeight: fontWeightAttribute(family2, s.bold ?? elementStyle?.bold),
5076
- fontStyle: resolveFontItalic(family2, s.italic ?? elementStyle?.italic) ? "italic" : void 0,
3002
+ fontWeight: text$1.fontWeightAttribute(family2, s.bold ?? elementStyle?.bold),
3003
+ fontStyle: text$1.resolveFontItalic(family2, s.italic ?? elementStyle?.italic) ? "italic" : void 0,
5077
3004
  textDecoration: decorations.length > 0 ? decorations.join(" ") : void 0
5078
3005
  };
5079
3006
  }
@@ -6940,7 +4867,7 @@ function isEmbeddedTypefaceTrusted(fonts, typeface) {
6940
4867
  return known;
6941
4868
  }
6942
4869
  let trusted = true;
6943
- if (name && resolveGoogleFontsFace(name)) {
4870
+ if (name && text$1.resolveGoogleFontsFace(name)) {
6944
4871
  for (const font of fonts) {
6945
4872
  if (trimmedName(font) !== name) {
6946
4873
  continue;
@@ -6950,8 +4877,8 @@ function isEmbeddedTypefaceTrusted(fonts, typeface) {
6950
4877
  if (!actual) {
6951
4878
  continue;
6952
4879
  }
6953
- const expectedWeight = resolveFontWeight(name, Boolean(font.bold));
6954
- const expectedItalic = resolveFontItalic(name, font.italic);
4880
+ const expectedWeight = text$1.resolveFontWeight(name, Boolean(font.bold));
4881
+ const expectedItalic = text$1.resolveFontItalic(name, font.italic);
6955
4882
  if (Math.abs(actual.weight - expectedWeight) >= WEIGHT_TOLERANCE || actual.italic !== expectedItalic) {
6956
4883
  trusted = false;
6957
4884
  break;
@@ -7458,32 +5385,6 @@ var GlyphOutlineFontCache = class {
7458
5385
  }
7459
5386
  };
7460
5387
 
7461
- // src/pptx/render/google-webfonts-metric-clones.ts
7462
- var METRIC_COMPATIBLE_CLONES = {
7463
- Calibri: "Carlito",
7464
- "Calibri Light": "Carlito",
7465
- Cambria: "Caladea",
7466
- Aptos: "Carlito",
7467
- "Aptos Display": "Carlito",
7468
- "Aptos Narrow": "Carlito",
7469
- "Aptos Serif": "Caladea",
7470
- Arial: "Arimo",
7471
- "Arial Black": "Arimo",
7472
- "Arial Narrow": "Arimo",
7473
- Helvetica: "Arimo",
7474
- "Helvetica Neue": "Arimo",
7475
- "Times New Roman": "Tinos",
7476
- "Courier New": "Cousine",
7477
- Georgia: "Gelasio"
7478
- };
7479
- function findMetricCompatibleGoogleFontsFamily(family2) {
7480
- if (findGoogleFontsFamily(family2) !== null) {
7481
- return null;
7482
- }
7483
- const clone = METRIC_COMPATIBLE_CLONES[family2.trim()];
7484
- return clone ? findGoogleFontsFamily(clone) : null;
7485
- }
7486
-
7487
5388
  // src/pptx/render/text-warp-outline-webfont-fetch.ts
7488
5389
  function unquote(value) {
7489
5390
  return value.trim().replace(/^['"]|['"]$/gu, "");
@@ -7557,7 +5458,7 @@ function fetchOnce(fetchImpl, url, kind) {
7557
5458
  return pending3;
7558
5459
  }
7559
5460
  async function fetchGoogleWebfontOutlineBytes(cssHref, referencedFamily, bold, italic, fetchImpl) {
7560
- const canonical = resolveGoogleFontsFace(referencedFamily)?.family ?? findMetricCompatibleGoogleFontsFamily(referencedFamily);
5461
+ const canonical = text$1.resolveGoogleFontsFace(referencedFamily)?.family ?? text$1.findMetricCompatibleGoogleFontsFamily(referencedFamily);
7561
5462
  if (!canonical) {
7562
5463
  return void 0;
7563
5464
  }
@@ -7566,12 +5467,12 @@ async function fetchGoogleWebfontOutlineBytes(cssHref, referencedFamily, bold, i
7566
5467
  if (css === void 0) {
7567
5468
  return void 0;
7568
5469
  }
7569
- const weight = resolveFontWeight(referencedFamily, bold);
5470
+ const weight = text$1.resolveFontWeight(referencedFamily, bold);
7570
5471
  const block = pickBlock(
7571
5472
  parseFontFaceBlocks(css),
7572
5473
  canonical,
7573
5474
  weight,
7574
- resolveFontItalic(referencedFamily, italic)
5475
+ text$1.resolveFontItalic(referencedFamily, italic)
7575
5476
  );
7576
5477
  if (!block) {
7577
5478
  return void 0;
@@ -23063,7 +20964,7 @@ function measure(text4, font) {
23063
20964
  return void 0;
23064
20965
  }
23065
20966
  const family2 = font.fontFamily || "sans-serif";
23066
- measureContext.font = `${fontStyleShorthand(family2, font.italic)}${fontWeightShorthand(family2, font.bold)}${font.fontSizePx}px ${family2}`;
20967
+ measureContext.font = `${text$1.fontStyleShorthand(family2, font.italic)}${text$1.fontWeightShorthand(family2, font.bold)}${font.fontSizePx}px ${family2}`;
23067
20968
  const width = measureContext.measureText(text4).width;
23068
20969
  return width > 0 ? width : void 0;
23069
20970
  }
@@ -23363,7 +21264,7 @@ function getMeasureContext() {
23363
21264
  function toCanvasFont2(font) {
23364
21265
  const size2 = font.fontSizePx && font.fontSizePx > 0 ? font.fontSizePx : chunkHTFYAGHG_cjs.DEFAULT_TEXT_FONT_SIZE;
23365
21266
  const family2 = font.fontFamily || chunkHTFYAGHG_cjs.DEFAULT_FONT_FAMILY;
23366
- return `${fontStyleShorthand(family2, font.italic)}${fontWeightShorthand(family2, font.bold)}${size2}px ${family2}`;
21267
+ return `${text$1.fontStyleShorthand(family2, font.italic)}${text$1.fontWeightShorthand(family2, font.bold)}${size2}px ${family2}`;
23367
21268
  }
23368
21269
  function advancesOf(ctx, canvasFont, chars) {
23369
21270
  ctx.font = canvasFont;
@@ -23794,8 +21695,8 @@ function segmentStyleToCss(seg, fontScale = 1, context3 = {}) {
23794
21695
  style.color = chunkHTFYAGHG_cjs.HYPERLINK_COLOR;
23795
21696
  }
23796
21697
  const renderedFamily = typeof style.fontFamily === "string" ? style.fontFamily : context3.blockFont?.fontFamily;
23797
- style.fontWeight = fontWeightAttribute(renderedFamily, s.bold) ?? "normal";
23798
- style.fontStyle = resolveFontItalic(renderedFamily, s.italic) ? "italic" : "normal";
21698
+ style.fontWeight = text$1.fontWeightAttribute(renderedFamily, s.bold) ?? "normal";
21699
+ style.fontStyle = text$1.resolveFontItalic(renderedFamily, s.italic) ? "italic" : "normal";
23799
21700
  if (isKoreanLanguage(s.language)) {
23800
21701
  style.wordBreak = context3.latinLineBreak ? "normal" : "keep-all";
23801
21702
  }
@@ -23846,7 +21747,7 @@ function isBoldCell(cellCss) {
23846
21747
  }
23847
21748
  const weight = cssFontWeightNumber(cellCss.fontWeight);
23848
21749
  const family2 = typeof cellCss.fontFamily === "string" ? cellCss.fontFamily : void 0;
23849
- return weight >= 700 && weight !== resolveFontWeight(family2, false);
21750
+ return weight >= 700 && weight !== text$1.resolveFontWeight(family2, false);
23850
21751
  }
23851
21752
  function cellRunStyle(run2, cellCss) {
23852
21753
  const css = {};
@@ -23870,15 +21771,15 @@ function cellRunStyle(run2, cellCss) {
23870
21771
  }
23871
21772
  if (run2.bold) {
23872
21773
  const family2 = run2.fontFamily ?? cellCss?.fontFamily;
23873
- css.fontWeight = fontWeightAttribute(family2, true) ?? "bold";
21774
+ css.fontWeight = text$1.fontWeightAttribute(family2, true) ?? "bold";
23874
21775
  } else if (run2.fontFamily && cellCss) {
23875
21776
  const cellWeight = cssFontWeightNumber(cellCss.fontWeight);
23876
- const weight = resolveFontWeight(run2.fontFamily, isBoldCell(cellCss));
21777
+ const weight = text$1.resolveFontWeight(run2.fontFamily, isBoldCell(cellCss));
23877
21778
  if (weight !== cellWeight) {
23878
21779
  css.fontWeight = weight;
23879
21780
  }
23880
21781
  }
23881
- if (resolveFontItalic(run2.fontFamily, run2.italic)) {
21782
+ if (text$1.resolveFontItalic(run2.fontFamily, run2.italic)) {
23882
21783
  css.fontStyle = "italic";
23883
21784
  }
23884
21785
  const deco = [];
@@ -23979,9 +21880,9 @@ function cellStyleToCss(style) {
23979
21880
  css.fontSize = `${style.fontSize}pt`;
23980
21881
  }
23981
21882
  if (style.bold) {
23982
- css.fontWeight = fontWeightAttribute(style.fontFamily, true) ?? "bold";
21883
+ css.fontWeight = text$1.fontWeightAttribute(style.fontFamily, true) ?? "bold";
23983
21884
  }
23984
- if (resolveFontItalic(style.fontFamily, style.italic)) {
21885
+ if (text$1.resolveFontItalic(style.fontFamily, style.italic)) {
23985
21886
  css.fontStyle = "italic";
23986
21887
  }
23987
21888
  if (style.underline) {
@@ -24351,11 +22252,11 @@ function applyTableCellFontWeight(css) {
24351
22252
  const family2 = typeof css.fontFamily === "string" ? css.fontFamily : void 0;
24352
22253
  const bold = cssFontWeightNumber(css.fontWeight) >= 700;
24353
22254
  recordTableCellBold(css, bold);
24354
- const weight = resolveFontWeight(family2, bold);
22255
+ const weight = text$1.resolveFontWeight(family2, bold);
24355
22256
  if (weight !== (bold ? 700 : 400)) {
24356
22257
  css.fontWeight = weight;
24357
22258
  }
24358
- if (resolveFontItalic(family2, false)) {
22259
+ if (text$1.resolveFontItalic(family2, false)) {
24359
22260
  css.fontStyle = "italic";
24360
22261
  }
24361
22262
  }
@@ -24377,6 +22278,151 @@ function typoLineGapEm(family2) {
24377
22278
  const own = family2 ? TYPO_LINE_GAP.get(family2.trim().toLowerCase()) : void 0;
24378
22279
  return own ?? text$1.officeFontVerticalMetrics(family2)?.lineGap ?? 0;
24379
22280
  }
22281
+ var WEBFONT_TIMEOUT_MS = 150;
22282
+ var WEBFONT_PROGRESS_DELAY_MS = 400;
22283
+ var INSTALLED_FONT_TEST_STRING = "mmmmmmmmmmllww";
22284
+ function isFontFamilyInstalledLocally(family2) {
22285
+ if (typeof document === "undefined") return false;
22286
+ try {
22287
+ const context3 = document.createElement("canvas").getContext("2d");
22288
+ if (!context3) return false;
22289
+ const quoted2 = `"${family2.replace(/[\\"]/gu, "\\$&")}"`;
22290
+ for (const fallback of ["monospace", "serif", "sans-serif"]) {
22291
+ context3.font = `72px ${fallback}`;
22292
+ const base2 = context3.measureText(INSTALLED_FONT_TEST_STRING).width;
22293
+ context3.font = `72px ${quoted2}, ${fallback}`;
22294
+ if (context3.measureText(INSTALLED_FONT_TEST_STRING).width !== base2) return true;
22295
+ }
22296
+ return false;
22297
+ } catch {
22298
+ return false;
22299
+ }
22300
+ }
22301
+ var prefetchLinkId = (linkId) => `${linkId}-prefetch`;
22302
+ function syncGoogleWebfontStylesheet(doc, id, href) {
22303
+ const existing = doc.getElementById(id);
22304
+ if (!href) {
22305
+ existing?.remove();
22306
+ const early = id.endsWith("-prefetch") ? null : doc.getElementById(prefetchLinkId(id));
22307
+ if (early && !early.dataset["pending"]) early.remove();
22308
+ return null;
22309
+ }
22310
+ if (existing?.getAttribute("href") === href) return existing;
22311
+ const link = existing ?? doc.createElement("link");
22312
+ link.id = id;
22313
+ link.rel = "stylesheet";
22314
+ link.href = href;
22315
+ if (!existing) doc.head.appendChild(link);
22316
+ return link;
22317
+ }
22318
+ var resolvedFamilies = /* @__PURE__ */ new Set();
22319
+ function resetWebfontSessionCache() {
22320
+ resolvedFamilies.clear();
22321
+ }
22322
+ function selectWebfontCandidates(families, embedded = [], isLocallyInstalled = isFontFamilyInstalledLocally) {
22323
+ return text$1.selectGoogleWebfontFamilies(
22324
+ families,
22325
+ embedded,
22326
+ (family2) => !resolvedFamilies.has(family2) && isLocallyInstalled(family2)
22327
+ );
22328
+ }
22329
+ function matchWebfontFragments(candidates) {
22330
+ return text$1.matchGoogleWebfontFragments(candidates, (family2) => resolvedFamilies.add(family2));
22331
+ }
22332
+ function webfontHref(candidates, base2) {
22333
+ if (base2 === null) return null;
22334
+ return text$1.buildGoogleFontsHref(matchWebfontFragments(candidates), base2);
22335
+ }
22336
+ function prefetchWebfonts(options) {
22337
+ const { document: doc, linkId, bytes, base: base2 } = options;
22338
+ const id = prefetchLinkId(linkId);
22339
+ try {
22340
+ if (base2 === null) {
22341
+ doc.getElementById(id)?.remove();
22342
+ return null;
22343
+ }
22344
+ const declared = opc.readDeclaredFonts(bytes);
22345
+ const candidates = selectWebfontCandidates(
22346
+ declared.families,
22347
+ declared.embedded,
22348
+ options.isLocallyInstalled ?? isFontFamilyInstalledLocally
22349
+ );
22350
+ const href = webfontHref(candidates, base2);
22351
+ const link = syncGoogleWebfontStylesheet(doc, id, href);
22352
+ if (link) link.dataset["pending"] = "1";
22353
+ return href;
22354
+ } catch {
22355
+ return null;
22356
+ }
22357
+ }
22358
+ function settlePrefetchedWebfonts(doc, linkId, base2) {
22359
+ const early = doc.getElementById(prefetchLinkId(linkId));
22360
+ if (!early) return;
22361
+ if (base2 === null) early.remove();
22362
+ else delete early.dataset["pending"];
22363
+ }
22364
+ function stylesheetSettled(link) {
22365
+ if (link.sheet) return Promise.resolve();
22366
+ return new Promise((resolve) => {
22367
+ link.addEventListener("load", () => resolve(), { once: true });
22368
+ link.addEventListener("error", () => resolve(), { once: true });
22369
+ });
22370
+ }
22371
+ async function loadFace(fonts, face) {
22372
+ try {
22373
+ await fonts.load(face.font, face.chars.size > 0 ? [...face.chars].join("") : "x");
22374
+ } catch {
22375
+ }
22376
+ }
22377
+ async function waitForFaces(link, fontSet, faces, families, context3) {
22378
+ const { href, unavailable, timeoutMs, progressDelayMs, onProgress, followMs, onProgressEnd } = context3;
22379
+ let loaded2 = 0;
22380
+ let reporting = false;
22381
+ let over = false;
22382
+ const timers = [];
22383
+ const report = () => {
22384
+ if (reporting && !over) onProgress?.({ loaded: loaded2, total: families.length, families });
22385
+ };
22386
+ const end = () => {
22387
+ if (over) return;
22388
+ over = true;
22389
+ for (const timer of timers) clearTimeout(timer);
22390
+ if (reporting) {
22391
+ reporting = false;
22392
+ onProgressEnd?.();
22393
+ }
22394
+ };
22395
+ const download = (async () => {
22396
+ await stylesheetSettled(link);
22397
+ await Promise.all(
22398
+ [...faces.values()].map(async (familyFaces) => {
22399
+ await Promise.all(familyFaces.map((face) => loadFace(fontSet, face)));
22400
+ loaded2 += 1;
22401
+ report();
22402
+ })
22403
+ );
22404
+ })();
22405
+ timers.push(
22406
+ setTimeout(() => {
22407
+ reporting = true;
22408
+ report();
22409
+ }, progressDelayMs)
22410
+ );
22411
+ if (followMs !== void 0) {
22412
+ timers.push(setTimeout(end, followMs));
22413
+ void download.then(end);
22414
+ }
22415
+ let waitTimer;
22416
+ const timedOut = await Promise.race([
22417
+ download.then(() => false),
22418
+ new Promise((resolve) => {
22419
+ waitTimer = setTimeout(() => resolve(true), timeoutMs);
22420
+ })
22421
+ ]);
22422
+ clearTimeout(waitTimer);
22423
+ if (followMs === void 0 || !timedOut) end();
22424
+ return { href, families, unavailable, timedOut };
22425
+ }
24380
22426
  function collectFontsFromElement(element, fonts) {
24381
22427
  if (pptx.hasTextProperties(element)) {
24382
22428
  if (element.textStyle?.fontFamily) {
@@ -24417,49 +22463,6 @@ function collectUsedFonts(slides) {
24417
22463
  }
24418
22464
  return [...fonts].sort();
24419
22465
  }
24420
-
24421
- // src/pptx/render/google-webfonts.ts
24422
- var GOOGLE_FONTS_CSS2_BASE = "https://fonts.googleapis.com/css2";
24423
- function normalizeGoogleFontsBaseUrl(baseUrl) {
24424
- if (typeof baseUrl !== "string" || baseUrl.trim() === "") {
24425
- return null;
24426
- }
24427
- let url;
24428
- try {
24429
- url = new URL(baseUrl.trim());
24430
- } catch {
24431
- return null;
24432
- }
24433
- if (url.protocol !== "http:" && url.protocol !== "https:") {
24434
- return null;
24435
- }
24436
- if (url.username !== "" || url.password !== "" || url.search !== "" || url.hash !== "") {
24437
- return null;
24438
- }
24439
- return url.href;
24440
- }
24441
- var warnedInvalidBaseUrls = /* @__PURE__ */ new Set();
24442
- function resolveGoogleFontsCss2Base(option) {
24443
- if (option === void 0) {
24444
- return GOOGLE_FONTS_CSS2_BASE;
24445
- }
24446
- if (option === false) {
24447
- return null;
24448
- }
24449
- const normalized = normalizeGoogleFontsBaseUrl(
24450
- typeof option === "object" && option !== null ? option.baseUrl : void 0
24451
- );
24452
- const raw = typeof option === "object" && option !== null ? String(option.baseUrl) : "";
24453
- if (normalized === null && !warnedInvalidBaseUrls.has(raw)) {
24454
- warnedInvalidBaseUrls.add(raw);
24455
- console.warn(
24456
- "[pptx-viewer] googleFonts.baseUrl must be an absolute http(s) URL without credentials, query or fragment; the Google Fonts fallback is disabled."
24457
- );
24458
- }
24459
- return normalized;
24460
- }
24461
- var GOOGLE_WEBFONT_AXIS = "ital,wght@0,400;0,700;1,400;1,700";
24462
- var DISPLAY_PARAM = "display=swap";
24463
22466
  function collectReferencedFontFamilies(slides) {
24464
22467
  const families = /* @__PURE__ */ new Set();
24465
22468
  for (const slide of slides) {
@@ -24469,96 +22472,24 @@ function collectReferencedFontFamilies(slides) {
24469
22472
  }
24470
22473
  return families;
24471
22474
  }
24472
- function selectGoogleWebfontFamilies(referenced, embedded, isLocallyInstalled) {
24473
- const embeddedSet = new Set(embedded ?? []);
24474
- const selected = [];
24475
- for (const family2 of referenced) {
24476
- if (embeddedSet.has(family2)) {
24477
- continue;
24478
- }
24479
- if (isLocallyInstalled?.(family2)) {
24480
- continue;
24481
- }
24482
- selected.push(family2);
24483
- }
24484
- return selected;
24485
- }
24486
- var INSTALLED_FONT_TEST_STRING = "mmmmmmmmmmllww";
24487
- function isFontFamilyInstalledLocally(family2) {
24488
- if (typeof document === "undefined") {
24489
- return false;
24490
- }
24491
- try {
24492
- const context3 = document.createElement("canvas").getContext("2d");
24493
- if (!context3) {
24494
- return false;
24495
- }
24496
- const quoted2 = `"${family2.replace(/[\\"]/gu, "\\$&")}"`;
24497
- for (const fallback of ["monospace", "serif", "sans-serif"]) {
24498
- context3.font = `72px ${fallback}`;
24499
- const base2 = context3.measureText(INSTALLED_FONT_TEST_STRING).width;
24500
- context3.font = `72px ${quoted2}, ${fallback}`;
24501
- if (context3.measureText(INSTALLED_FONT_TEST_STRING).width !== base2) {
24502
- return true;
24503
- }
24504
- }
24505
- return false;
24506
- } catch {
24507
- return false;
24508
- }
24509
- }
24510
- function buildGoogleFontsFragment(family2, weights) {
24511
- const sorted = [.../* @__PURE__ */ new Set([400, 700, ...weights ?? []])].sort((a, b) => a - b);
24512
- if (sorted.length === 2) {
24513
- return `${family2}:${GOOGLE_WEBFONT_AXIS}`;
24514
- }
24515
- const tuples = [0, 1].flatMap((ital) => sorted.map((weight) => `${ital},${weight}`));
24516
- return `${family2}:ital,wght@${tuples.join(";")}`;
24517
- }
24518
- function buildGoogleFontsHref(fragments, baseUrl = GOOGLE_FONTS_CSS2_BASE) {
24519
- if (fragments.length === 0) {
24520
- return null;
24521
- }
24522
- const query = fragments.map((fragment) => `family=${encodeURIComponent(fragment)}`).join("&");
24523
- return `${baseUrl}?${query}&${DISPLAY_PARAM}`;
24524
- }
24525
- var resolvedFamilies = /* @__PURE__ */ new Set();
24526
22475
  function resetGoogleWebfontSessionCache() {
24527
- resolvedFamilies.clear();
22476
+ resetWebfontSessionCache();
24528
22477
  }
24529
- function matchGoogleWebfontFragments(families) {
24530
- const weightsByFamily = /* @__PURE__ */ new Map();
24531
- for (const family2 of families) {
24532
- const face = resolveGoogleFontsFace(family2);
24533
- const canonical = face?.family ?? findMetricCompatibleGoogleFontsFamily(family2);
24534
- if (canonical === null) {
24535
- continue;
24536
- }
24537
- resolvedFamilies.add(family2);
24538
- let weights = weightsByFamily.get(canonical);
24539
- if (!weights) {
24540
- weights = /* @__PURE__ */ new Set();
24541
- weightsByFamily.set(canonical, weights);
24542
- }
24543
- if (face?.weight !== void 0) {
24544
- weights.add(face.weight);
24545
- weights.add(Math.max(700, face.weight));
24546
- }
24547
- }
24548
- return [...weightsByFamily].sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0).map(([family2, weights]) => buildGoogleFontsFragment(family2, weights));
22478
+ function matchGoogleWebfontFragments2(families) {
22479
+ return matchWebfontFragments(families);
24549
22480
  }
24550
22481
  async function resolveGoogleWebfontHref(slides, embeddedFonts, isLocallyInstalled = isFontFamilyInstalledLocally, googleFontsBaseUrl) {
24551
22482
  if (googleFontsBaseUrl === null) {
24552
22483
  return null;
24553
22484
  }
24554
22485
  const candidates = selectGoogleWebfontCandidates(slides, embeddedFonts, isLocallyInstalled);
24555
- return buildGoogleFontsHref(matchGoogleWebfontFragments(candidates), googleFontsBaseUrl);
22486
+ return webfontHref(candidates, googleFontsBaseUrl ?? text$1.GOOGLE_FONTS_CSS2_BASE);
24556
22487
  }
24557
22488
  function selectGoogleWebfontCandidates(slides, embeddedFonts, isLocallyInstalled = isFontFamilyInstalledLocally) {
24558
- return selectGoogleWebfontFamilies(
22489
+ return selectWebfontCandidates(
24559
22490
  collectReferencedFontFamilies(slides),
24560
22491
  selectTrustedEmbeddedFonts(embeddedFonts).map((font) => font.name),
24561
- (family2) => !resolvedFamilies.has(family2) && isLocallyInstalled(family2)
22492
+ isLocallyInstalled
24562
22493
  );
24563
22494
  }
24564
22495
 
@@ -30079,7 +28010,7 @@ function buildTabContext(tabStops, defaultTabSize, fontSizePx2, fontFamily, bold
30079
28010
  if (!tabStops || tabStops.length === 0) {
30080
28011
  return void 0;
30081
28012
  }
30082
- const font = `${fontStyleShorthand(fontFamily, italic)}${resolveFontWeight(fontFamily, bold)} ${fontSizePx2}px ${fontFamily}`;
28013
+ const font = `${text$1.fontStyleShorthand(fontFamily, italic)}${text$1.resolveFontWeight(fontFamily, bold)} ${fontSizePx2}px ${fontFamily}`;
30083
28014
  return {
30084
28015
  tabStops,
30085
28016
  defaultTabSize: typeof defaultTabSize === "number" && defaultTabSize > 0 ? defaultTabSize : 0,
@@ -30668,7 +28599,7 @@ function measureWidth(text4, font) {
30668
28599
  }
30669
28600
  const size2 = font.fontSizePx && font.fontSizePx > 0 ? font.fontSizePx : 16;
30670
28601
  const family2 = font.fontFamily || "sans-serif";
30671
- ctx.font = `${fontStyleShorthand(family2, font.italic)}${fontWeightShorthand(family2, font.bold)}${size2}px ${family2}`;
28602
+ ctx.font = `${text$1.fontStyleShorthand(family2, font.italic)}${text$1.fontWeightShorthand(family2, font.bold)}${size2}px ${family2}`;
30672
28603
  return ctx.measureText(text4).width;
30673
28604
  }
30674
28605
  function stitchContinuousGradientFill(runs) {
@@ -30738,13 +28669,13 @@ function buildBulletMarkerStyle(bullet, firstSeg, fontScale, textIndentPx) {
30738
28669
  bulletStyle.color = bullet.color;
30739
28670
  }
30740
28671
  if (bullet.fontFamily) {
30741
- bulletStyle.fontFamily = resolveGoogleFontsFace(bullet.fontFamily)?.weight === void 0 ? bullet.fontFamily : pptx.getSubstituteFontFamily(bullet.fontFamily);
28672
+ bulletStyle.fontFamily = text$1.resolveGoogleFontsFace(bullet.fontFamily)?.weight === void 0 ? bullet.fontFamily : pptx.getSubstituteFontFamily(bullet.fontFamily);
30742
28673
  } else if (firstSeg?.style?.fontFamily) {
30743
28674
  bulletStyle.fontFamily = pptx.getSubstituteFontFamily(firstSeg.style.fontFamily);
30744
28675
  }
30745
28676
  const markerFamily = typeof bulletStyle.fontFamily === "string" ? bulletStyle.fontFamily : firstSeg?.style?.fontFamily;
30746
- bulletStyle.fontWeight = resolveFontWeight(markerFamily, firstSeg?.style?.bold);
30747
- bulletStyle.fontStyle = resolveFontItalic(markerFamily, firstSeg?.style?.italic) ? "italic" : "normal";
28677
+ bulletStyle.fontWeight = text$1.resolveFontWeight(markerFamily, firstSeg?.style?.bold);
28678
+ bulletStyle.fontStyle = text$1.resolveFontItalic(markerFamily, firstSeg?.style?.italic) ? "italic" : "normal";
30748
28679
  const runFontSize = firstSeg?.style?.fontSize;
30749
28680
  if (typeof bullet.sizePts === "number") {
30750
28681
  bulletStyle.fontSize = `${bullet.sizePts}px`;
@@ -34132,8 +32063,8 @@ function buildTextBlockStyle(element, options = {}) {
34132
32063
  }
34133
32064
  style.fontSize = ts?.fontSize || chunkHTFYAGHG_cjs.DEFAULT_TEXT_FONT_SIZE;
34134
32065
  style.fontFamily = ts?.fontFamily ? pptx.getSubstituteFontFamily(ts.fontFamily, pptx.parsePanoseString(ts.latinFontPanose)) : chunkHTFYAGHG_cjs.DEFAULT_FONT_FAMILY;
34135
- style.fontWeight = resolveFontWeight(ts?.fontFamily, ts?.bold);
34136
- style.fontStyle = resolveFontItalic(ts?.fontFamily, ts?.italic) ? "italic" : "normal";
32066
+ style.fontWeight = text$1.resolveFontWeight(ts?.fontFamily, ts?.bold);
32067
+ style.fontStyle = text$1.resolveFontItalic(ts?.fontFamily, ts?.italic) ? "italic" : "normal";
34137
32068
  style.textDecorationLine = decorations.length > 0 ? decorations.join(" ") : "none";
34138
32069
  if (!hasTextSegments && ts?.strikethrough && ts?.strikeType === "dblStrike") {
34139
32070
  style.textDecorationStyle = "double";
@@ -42301,6 +40232,54 @@ function publishLiveGeometry(patcher, slideId, elementId, geometry) {
42301
40232
  patcher.patchGeometry(slideId, elementId, geometry);
42302
40233
  }
42303
40234
 
40235
+ // src/pptx/render/inline-text-seed.ts
40236
+ function applyInlineRunStyle(span, segment, textStyle) {
40237
+ const fontScale = resolveAutoFitFontScale(textStyle);
40238
+ const style = segmentStyleToCss(segment, fontScale, {
40239
+ blockFont: resolveBlockFont(textStyle, fontScale)
40240
+ });
40241
+ applyUnderlineVariant(style, segment);
40242
+ for (const [key, value] of Object.entries(style)) {
40243
+ if (value === void 0 || value === null || value === "") {
40244
+ continue;
40245
+ }
40246
+ span.style.setProperty(
40247
+ key.replace(/[A-Z]/g, (char) => `-${char.toLowerCase()}`),
40248
+ typeof value === "number" && !UNITLESS.has(key) ? `${value}px` : String(value)
40249
+ );
40250
+ }
40251
+ }
40252
+ var UNITLESS = /* @__PURE__ */ new Set(["fontWeight", "lineHeight", "opacity", "zIndex", "flexGrow"]);
40253
+ function seedPlainInlineText(surface, segments, initialText, textStyle) {
40254
+ const doc = surface.ownerDocument;
40255
+ if (!segments?.length) {
40256
+ surface.textContent = initialText;
40257
+ return surface;
40258
+ }
40259
+ const textFlow = doc.createElement("div");
40260
+ textFlow.dataset.pptxTextFlow = "";
40261
+ segments.forEach((segment, index) => {
40262
+ const span = doc.createElement("span");
40263
+ span.dataset.segIdx = String(index);
40264
+ applyInlineRunStyle(span, segment, textStyle);
40265
+ if (bulletToggle.isBulletMarkerSegment(segment)) {
40266
+ span.dataset.pptxBulletMarker = "";
40267
+ span.contentEditable = "false";
40268
+ }
40269
+ const precedingMarker = index > 0 && bulletToggle.isBulletMarkerSegment(segments[index - 1]);
40270
+ const carriesList = segment.bulletInfo && !segment.bulletInfo.none;
40271
+ if (segment.text.length === 0 && index === segments.length - 1 && (precedingMarker || carriesList)) {
40272
+ span.dataset.pptxEmptyRun = "";
40273
+ span.appendChild(doc.createElement("br"));
40274
+ } else {
40275
+ span.textContent = segment.text;
40276
+ }
40277
+ textFlow.appendChild(span);
40278
+ });
40279
+ surface.appendChild(textFlow);
40280
+ return textFlow;
40281
+ }
40282
+
42304
40283
  // src/pptx/render/inline-list-dom.ts
42305
40284
  var initialized = /* @__PURE__ */ new WeakSet();
42306
40285
  function initializeInlineListDom(root, seed) {
@@ -42309,7 +40288,6 @@ function initializeInlineListDom(root, seed) {
42309
40288
  return false;
42310
40289
  }
42311
40290
  const textStyle = "textStyle" in session.element ? session.element.textStyle : void 0;
42312
- const fontScale = resolveAutoFitFontScale(textStyle);
42313
40291
  for (const paragraph2 of seed.paragraphs) {
42314
40292
  const block = root.ownerDocument.createElement("div");
42315
40293
  block.dataset.pptxListParagraph = paragraph2.token;
@@ -42321,14 +40299,7 @@ function initializeInlineListDom(root, seed) {
42321
40299
  ...source,
42322
40300
  style: withInlineListDecorationDefaults(source.style, textStyle)
42323
40301
  };
42324
- const style = segmentStyleToCss(projected, fontScale);
42325
- applyUnderlineVariant(style, projected);
42326
- for (const [key, value] of Object.entries(style)) {
42327
- span.style.setProperty(
42328
- key.replace(/[A-Z]/g, (char) => `-${char.toLowerCase()}`),
42329
- String(value)
42330
- );
42331
- }
40302
+ applyInlineRunStyle(span, projected, textStyle);
42332
40303
  if (run2.text === "" || run2.isLineBreak) {
42333
40304
  span.append(root.ownerDocument.createElement("br"));
42334
40305
  } else {
@@ -51002,8 +48973,8 @@ function resolveFontVariant(font, mintObjectUrl2) {
51002
48973
  if (name.length === 0 || FONT_NAME_UNSAFE_CHARS.test(name)) {
51003
48974
  return null;
51004
48975
  }
51005
- const weight = String(resolveFontWeight(name, font.bold));
51006
- const style = resolveFontItalic(name, font.italic) ? "italic" : "normal";
48976
+ const weight = String(text$1.resolveFontWeight(name, font.bold));
48977
+ const style = text$1.resolveFontItalic(name, font.italic) ? "italic" : "normal";
51007
48978
  if (isInjectableUrl(font.dataUrl)) {
51008
48979
  return { name, url: font.dataUrl, format: normalizeFontFormat(font.format), weight, style };
51009
48980
  }
@@ -51160,29 +49131,9 @@ function createEmbeddedFontsSheet(doc, styleId) {
51160
49131
  }
51161
49132
  };
51162
49133
  }
51163
-
51164
- // src/pptx/render/google-webfonts-link.ts
51165
- function syncGoogleWebfontStylesheet(doc, id, href) {
51166
- const existing = doc.getElementById(id);
51167
- if (!href) {
51168
- existing?.remove();
51169
- return null;
51170
- }
51171
- if (existing?.getAttribute("href") === href) {
51172
- return existing;
51173
- }
51174
- const link = existing ?? doc.createElement("link");
51175
- link.id = id;
51176
- link.rel = "stylesheet";
51177
- link.href = href;
51178
- if (!existing) {
51179
- doc.head.appendChild(link);
51180
- }
51181
- return link;
51182
- }
51183
- var DECK_WEBFONT_TIMEOUT_MS = 8e3;
51184
- var DECK_WEBFONT_PROGRESS_DELAY_MS = 400;
51185
- var MAX_SAMPLE_CHARS = 256;
49134
+ var DECK_WEBFONT_TIMEOUT_MS = WEBFONT_TIMEOUT_MS;
49135
+ var DECK_WEBFONT_PROGRESS_DELAY_MS = WEBFONT_PROGRESS_DELAY_MS;
49136
+ var DECK_WEBFONT_FOLLOW_MS = 8e3;
51186
49137
  function collectRuns(element, runs) {
51187
49138
  if (pptx.hasTextProperties(element)) {
51188
49139
  const base2 = element.textStyle;
@@ -51224,71 +49175,26 @@ function collectRuns(element, runs) {
51224
49175
  }
51225
49176
  }
51226
49177
  }
51227
- function servedFamily(family2) {
51228
- return resolveGoogleFontsFace(family2)?.family ?? findMetricCompatibleGoogleFontsFamily(family2);
51229
- }
51230
- function quoteFamily(family2) {
51231
- return `"${family2.replace(/[\\"]/gu, "\\$&")}"`;
51232
- }
51233
49178
  function collectDeckWebfontFaces(slides, candidates) {
51234
- const wanted = new Set(candidates);
51235
- const unavailable = candidates.filter((family2) => servedFamily(family2) === null);
49179
+ return text$1.collectWebfontFaces(collectDeckWebfontRuns(slides), candidates);
49180
+ }
49181
+ function collectDeckWebfontRuns(slides) {
51236
49182
  const runs = [];
51237
49183
  for (const slide of slides) {
51238
49184
  for (const element of slide.elements ?? []) {
51239
49185
  collectRuns(element, runs);
51240
49186
  }
51241
49187
  }
51242
- const faces = /* @__PURE__ */ new Map();
51243
- const byFont = /* @__PURE__ */ new Map();
51244
- for (const run2 of runs) {
51245
- if (!run2.family || !wanted.has(run2.family)) {
51246
- continue;
51247
- }
51248
- const served = servedFamily(run2.family);
51249
- if (served === null) {
51250
- continue;
51251
- }
51252
- const weight = resolveFontWeight(run2.family, run2.bold);
51253
- const style = resolveFontItalic(run2.family, run2.italic) ? "italic " : "";
51254
- const font = `${style}${weight} 16px ${quoteFamily(served)}`;
51255
- let face = byFont.get(font);
51256
- if (!face) {
51257
- face = { family: served, font, chars: /* @__PURE__ */ new Set() };
51258
- byFont.set(font, face);
51259
- const list2 = faces.get(served);
51260
- if (list2) {
51261
- list2.push(face);
51262
- } else {
51263
- faces.set(served, [face]);
51264
- }
51265
- }
51266
- for (const char of run2.text) {
51267
- if (face.chars.size >= MAX_SAMPLE_CHARS) {
51268
- break;
51269
- }
51270
- if (char.trim() !== "") {
51271
- face.chars.add(char);
51272
- }
51273
- }
51274
- }
51275
- return { faces, unavailable };
49188
+ return runs;
51276
49189
  }
51277
- function stylesheetSettled(link) {
51278
- if (link.sheet) {
51279
- return Promise.resolve();
51280
- }
51281
- return new Promise((resolve) => {
51282
- link.addEventListener("load", () => resolve(), { once: true });
51283
- link.addEventListener("error", () => resolve(), { once: true });
49190
+ function prefetchDeckWebfonts(options) {
49191
+ return prefetchWebfonts({
49192
+ document: options.document,
49193
+ linkId: options.linkId,
49194
+ bytes: options.bytes,
49195
+ base: options.googleFontsBase
51284
49196
  });
51285
49197
  }
51286
- async function loadFace(fonts, face) {
51287
- try {
51288
- await fonts.load(face.font, face.chars.size > 0 ? [...face.chars].join("") : "x");
51289
- } catch {
51290
- }
51291
- }
51292
49198
  async function prepareDeckWebfonts(options) {
51293
49199
  const {
51294
49200
  document: doc,
@@ -51299,8 +49205,10 @@ async function prepareDeckWebfonts(options) {
51299
49205
  onProgress,
51300
49206
  timeoutMs = DECK_WEBFONT_TIMEOUT_MS,
51301
49207
  progressDelayMs = DECK_WEBFONT_PROGRESS_DELAY_MS,
49208
+ followMs = DECK_WEBFONT_FOLLOW_MS,
51302
49209
  isLocallyInstalled = isFontFamilyInstalledLocally
51303
49210
  } = options;
49211
+ settlePrefetchedWebfonts(doc, linkId, googleFontsBase);
51304
49212
  if (googleFontsBase === null) {
51305
49213
  return { href: null, families: [], unavailable: [], timedOut: false };
51306
49214
  }
@@ -51318,45 +49226,17 @@ async function prepareDeckWebfonts(options) {
51318
49226
  if (!link || families.length === 0 || !fontSet || typeof fontSet.load !== "function") {
51319
49227
  return { href, families, unavailable, timedOut: false };
51320
49228
  }
51321
- let loaded2 = 0;
51322
- let reporting = false;
51323
- const report = () => {
51324
- if (reporting) {
51325
- onProgress?.({ loaded: loaded2, total: families.length, families });
51326
- }
51327
- };
51328
- const download = (async () => {
51329
- await stylesheetSettled(link);
51330
- await Promise.all(
51331
- [...faces.values()].map(async (familyFaces) => {
51332
- await Promise.all(familyFaces.map((face) => loadFace(fontSet, face)));
51333
- loaded2 += 1;
51334
- report();
51335
- })
51336
- );
51337
- })();
51338
- let finished = false;
51339
- const timers = [];
51340
- const timedOut = await Promise.race([
51341
- download.then(() => false),
51342
- new Promise((resolve) => {
51343
- timers.push(setTimeout(() => resolve(true), timeoutMs));
51344
- timers.push(
51345
- setTimeout(() => {
51346
- if (!finished) {
51347
- reporting = true;
51348
- report();
51349
- }
51350
- }, progressDelayMs)
51351
- );
51352
- })
51353
- ]);
51354
- finished = true;
51355
- reporting = false;
51356
- for (const timer of timers) {
51357
- clearTimeout(timer);
51358
- }
51359
- return { href, families, unavailable, timedOut };
49229
+ return waitForFaces(link, fontSet, faces, families, {
49230
+ href,
49231
+ unavailable,
49232
+ timeoutMs,
49233
+ progressDelayMs,
49234
+ ...onProgress ? {
49235
+ onProgress,
49236
+ followMs: Math.max(followMs, timeoutMs),
49237
+ onProgressEnd: () => onProgress(null)
49238
+ } : {}
49239
+ });
51360
49240
  }
51361
49241
  function collectEnvelopeFonts(element, fonts) {
51362
49242
  if (pptx.hasTextProperties(element) && hasGlyphEnvelope(element.textStyle?.textWarpPreset)) {
@@ -51387,7 +49267,7 @@ async function loadDeckWebfontOutlines(options) {
51387
49267
  if (!fetchImpl) {
51388
49268
  return false;
51389
49269
  }
51390
- const families = selectGoogleWebfontFamilies(
49270
+ const families = text$1.selectGoogleWebfontFamilies(
51391
49271
  collectGlyphEnvelopeFontFamilies(slides),
51392
49272
  selectTrustedEmbeddedFonts(embeddedFonts).map((font) => font.name)
51393
49273
  );
@@ -63769,10 +61649,10 @@ function resolveEffectiveGoogleFonts(host2, options) {
63769
61649
  return options.trust.allowFontDownloads ? void 0 : false;
63770
61650
  }
63771
61651
  function resolveFontDownloadBase(host2, options) {
63772
- return resolveGoogleFontsCss2Base(resolveEffectiveGoogleFonts(host2, options));
61652
+ return text$1.resolveGoogleFontsCss2Base(resolveEffectiveGoogleFonts(host2, options));
63773
61653
  }
63774
61654
  function hostFontDownloadLock(host2) {
63775
- return host2 === void 0 ? void 0 : resolveGoogleFontsCss2Base(host2) !== null;
61655
+ return host2 === void 0 ? void 0 : text$1.resolveGoogleFontsCss2Base(host2) !== null;
63776
61656
  }
63777
61657
  function lockFontDownloadSetting(locked, host2) {
63778
61658
  const value = hostFontDownloadLock(host2);
@@ -75534,6 +73414,59 @@ function transformInlineListCase(snapshot, selection, mode) {
75534
73414
  return text4 === snapshot.text ? snapshot : { ...snapshot, text: text4, textSegments };
75535
73415
  }
75536
73416
 
73417
+ // src/pptx/render/inline-text-paragraph-marker.ts
73418
+ function isCaretPlaceholder(element) {
73419
+ const content = Array.from(element.childNodes).filter((child) => {
73420
+ if (child.nodeType === 3) {
73421
+ return (child.nodeValue ?? "").length > 0;
73422
+ }
73423
+ return child instanceof HTMLElement && !child.hasAttribute("data-pptx-bullet-marker");
73424
+ });
73425
+ if (content.length !== 1 || !(content[0] instanceof HTMLElement)) {
73426
+ return false;
73427
+ }
73428
+ return content[0].tagName === "BR" || isCaretPlaceholder(content[0]);
73429
+ }
73430
+ function firstEditableRunIndex(element) {
73431
+ const run2 = element.matches("[data-seg-idx]") && !element.hasAttribute("data-pptx-bullet-marker") ? element : element.querySelector("[data-seg-idx]:not([data-pptx-bullet-marker])");
73432
+ return run2?.dataset.segIdx;
73433
+ }
73434
+ function markInsertedParagraph(doc, surface) {
73435
+ const selection = doc.getSelection();
73436
+ const anchor = selection?.anchorNode;
73437
+ const anchorElement = anchor?.nodeType === Node.ELEMENT_NODE ? anchor : anchor?.parentElement;
73438
+ const insertedRun = anchorElement?.closest("[data-seg-idx]");
73439
+ if (!insertedRun || !surface.contains(insertedRun)) {
73440
+ return;
73441
+ }
73442
+ const block = insertedRun.closest("div, p");
73443
+ const isTextFlow = block?.hasAttribute("data-pptx-text-flow");
73444
+ const isSplitTextFlow = isTextFlow && block?.previousElementSibling?.hasAttribute("data-pptx-text-flow") && block.querySelector("[data-seg-idx]:not([data-pptx-bullet-marker])") === insertedRun;
73445
+ const caretParagraph = block && block !== surface && (!isTextFlow || isSplitTextFlow) && surface.contains(block) ? block : insertedRun;
73446
+ const previous = caretParagraph.previousElementSibling;
73447
+ const paragraph2 = previous instanceof HTMLElement && firstEditableRunIndex(previous) === insertedRun.dataset.segIdx && isCaretPlaceholder(previous) ? previous : caretParagraph;
73448
+ paragraph2.dataset.pptxParagraphStart = "";
73449
+ }
73450
+
73451
+ // src/pptx/render/inline-trailing-space.ts
73452
+ function spaceBeforeCaretRange(doc) {
73453
+ const selection = doc.getSelection();
73454
+ if (!selection || !selection.isCollapsed || selection.rangeCount === 0) {
73455
+ return null;
73456
+ }
73457
+ const { startContainer, startOffset } = selection.getRangeAt(0);
73458
+ if (startContainer.nodeType !== Node.TEXT_NODE || startOffset === 0) {
73459
+ return null;
73460
+ }
73461
+ if ((startContainer.textContent ?? "").charAt(startOffset - 1) !== " ") {
73462
+ return null;
73463
+ }
73464
+ const range = doc.createRange();
73465
+ range.setStart(startContainer, startOffset - 1);
73466
+ range.setEnd(startContainer, startOffset);
73467
+ return range;
73468
+ }
73469
+
75537
73470
  // src/pptx/render/edit-points/edit-points-svg.ts
75538
73471
  var COMMAND_RE = /[MLHVCSQTAZ][^MLHVCSQTAZ]*/gi;
75539
73472
  var NUMBER_RE2 = /[-+]?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi;
@@ -80510,6 +78443,13 @@ function statusBarState(host2) {
80510
78443
  showSorter: handles("sorter"),
80511
78444
  showSlideShow: handles("slideShow") && !hidden("fullscreen"),
80512
78445
  ...host2.viewMode ? { viewMode: host2.viewMode } : {},
78446
+ ...host2.fontProgress ? {
78447
+ fontText: host2.translate("pptx.viewer.loadingFonts", {
78448
+ loaded: host2.fontProgress.loaded,
78449
+ total: host2.fontProgress.total
78450
+ }),
78451
+ fontTitle: host2.fontProgress.families.join(", ")
78452
+ } : {},
80513
78453
  translate: host2.translate
80514
78454
  };
80515
78455
  }
@@ -90480,7 +88420,7 @@ function definePptxInsertSmartArtDialog(registry2) {
90480
88420
  if (this.#live || this.#draw) {
90481
88421
  return;
90482
88422
  }
90483
- this.#live = import('./smartart-insert-preview-R7USUBIX.cjs').then((module) => {
88423
+ this.#live = import('./smartart-insert-preview-GE47FXVT.cjs').then((module) => {
90484
88424
  if (this.#draw || !this.#picker) {
90485
88425
  return;
90486
88426
  }
@@ -94494,6 +92434,16 @@ function officeStatusBarState(state) {
94494
92434
  },
94495
92435
  { id: "language", text: t2("pptx.statusBar.language"), narrowHide: true },
94496
92436
  { id: "save", text: state.saveText, tone: state.saveKind, narrowHide: true },
92437
+ // The deck is already shown; its webfonts are still on their way.
92438
+ ...state.fontText ? [
92439
+ {
92440
+ id: "fonts",
92441
+ text: state.fontText,
92442
+ title: state.fontTitle,
92443
+ tone: "saving",
92444
+ narrowHide: true
92445
+ }
92446
+ ] : [],
94497
92447
  // Announced politely and only on steps worth hearing; the visible text above is not live.
94498
92448
  { id: "save-live", text: state.saveAnnouncement ?? "", live: true, srOnly: true }
94499
92449
  ],
@@ -98263,6 +96213,22 @@ Object.defineProperty(exports, "waypointsToPathData", {
98263
96213
  enumerable: true,
98264
96214
  get: function () { return geometry.waypointsToPathData; }
98265
96215
  });
96216
+ Object.defineProperty(exports, "GOOGLE_FONTS_CSS2_BASE", {
96217
+ enumerable: true,
96218
+ get: function () { return text$1.GOOGLE_FONTS_CSS2_BASE; }
96219
+ });
96220
+ Object.defineProperty(exports, "GOOGLE_WEBFONT_AXIS", {
96221
+ enumerable: true,
96222
+ get: function () { return text$1.GOOGLE_WEBFONT_AXIS; }
96223
+ });
96224
+ Object.defineProperty(exports, "buildGoogleFontsFragment", {
96225
+ enumerable: true,
96226
+ get: function () { return text$1.buildGoogleFontsFragment; }
96227
+ });
96228
+ Object.defineProperty(exports, "buildGoogleFontsHref", {
96229
+ enumerable: true,
96230
+ get: function () { return text$1.buildGoogleFontsHref; }
96231
+ });
98266
96232
  Object.defineProperty(exports, "buildLeaderString", {
98267
96233
  enumerable: true,
98268
96234
  get: function () { return text$1.buildLeaderString; }
@@ -98271,6 +96237,26 @@ Object.defineProperty(exports, "detectFontScript", {
98271
96237
  enumerable: true,
98272
96238
  get: function () { return text$1.detectFontScript; }
98273
96239
  });
96240
+ Object.defineProperty(exports, "findGoogleFontsFamily", {
96241
+ enumerable: true,
96242
+ get: function () { return text$1.findGoogleFontsFamily; }
96243
+ });
96244
+ Object.defineProperty(exports, "findMetricCompatibleGoogleFontsFamily", {
96245
+ enumerable: true,
96246
+ get: function () { return text$1.findMetricCompatibleGoogleFontsFamily; }
96247
+ });
96248
+ Object.defineProperty(exports, "fontStyleShorthand", {
96249
+ enumerable: true,
96250
+ get: function () { return text$1.fontStyleShorthand; }
96251
+ });
96252
+ Object.defineProperty(exports, "fontWeightAttribute", {
96253
+ enumerable: true,
96254
+ get: function () { return text$1.fontWeightAttribute; }
96255
+ });
96256
+ Object.defineProperty(exports, "fontWeightShorthand", {
96257
+ enumerable: true,
96258
+ get: function () { return text$1.fontWeightShorthand; }
96259
+ });
98274
96260
  Object.defineProperty(exports, "getLeaderCharacter", {
98275
96261
  enumerable: true,
98276
96262
  get: function () { return text$1.getLeaderCharacter; }
@@ -98283,10 +96269,34 @@ Object.defineProperty(exports, "hasDistinctScriptFonts", {
98283
96269
  enumerable: true,
98284
96270
  get: function () { return text$1.hasDistinctScriptFonts; }
98285
96271
  });
96272
+ Object.defineProperty(exports, "normalizeGoogleFontsBaseUrl", {
96273
+ enumerable: true,
96274
+ get: function () { return text$1.normalizeGoogleFontsBaseUrl; }
96275
+ });
96276
+ Object.defineProperty(exports, "parseFontWeightName", {
96277
+ enumerable: true,
96278
+ get: function () { return text$1.parseFontWeightName; }
96279
+ });
98286
96280
  Object.defineProperty(exports, "resolveFontForScript", {
98287
96281
  enumerable: true,
98288
96282
  get: function () { return text$1.resolveFontForScript; }
98289
96283
  });
96284
+ Object.defineProperty(exports, "resolveFontItalic", {
96285
+ enumerable: true,
96286
+ get: function () { return text$1.resolveFontItalic; }
96287
+ });
96288
+ Object.defineProperty(exports, "resolveFontWeight", {
96289
+ enumerable: true,
96290
+ get: function () { return text$1.resolveFontWeight; }
96291
+ });
96292
+ Object.defineProperty(exports, "resolveGoogleFontsCss2Base", {
96293
+ enumerable: true,
96294
+ get: function () { return text$1.resolveGoogleFontsCss2Base; }
96295
+ });
96296
+ Object.defineProperty(exports, "resolveGoogleFontsFace", {
96297
+ enumerable: true,
96298
+ get: function () { return text$1.resolveGoogleFontsFace; }
96299
+ });
98290
96300
  Object.defineProperty(exports, "resolveScriptFontSet", {
98291
96301
  enumerable: true,
98292
96302
  get: function () { return text$1.resolveScriptFontSet; }
@@ -98295,6 +96305,10 @@ Object.defineProperty(exports, "segmentByScript", {
98295
96305
  enumerable: true,
98296
96306
  get: function () { return text$1.segmentByScript; }
98297
96307
  });
96308
+ Object.defineProperty(exports, "selectGoogleWebfontFamilies", {
96309
+ enumerable: true,
96310
+ get: function () { return text$1.selectGoogleWebfontFamilies; }
96311
+ });
98298
96312
  Object.defineProperty(exports, "buildImageBiLevelTable", {
98299
96313
  enumerable: true,
98300
96314
  get: function () { return drawingml.buildImageBiLevelTable; }
@@ -99420,6 +97434,7 @@ exports.CURSOR_PALETTE = CURSOR_PALETTE;
99420
97434
  exports.DATA_LABEL_CONTENT_OPTIONS = DATA_LABEL_CONTENT_OPTIONS;
99421
97435
  exports.DATA_LABEL_POSITION_OPTIONS = DATA_LABEL_POSITION_OPTIONS;
99422
97436
  exports.DEBOUNCE_MS = DEBOUNCE_MS;
97437
+ exports.DECK_WEBFONT_FOLLOW_MS = DECK_WEBFONT_FOLLOW_MS;
99423
97438
  exports.DECK_WEBFONT_PROGRESS_DELAY_MS = DECK_WEBFONT_PROGRESS_DELAY_MS;
99424
97439
  exports.DECK_WEBFONT_TIMEOUT_MS = DECK_WEBFONT_TIMEOUT_MS;
99425
97440
  exports.DEFAULT_ANIMATION_TIMING_CURVE = DEFAULT_ANIMATION_TIMING_CURVE;
@@ -99537,8 +97552,6 @@ exports.GENERIC_FALLBACK_FILTER_FAMILIES = GENERIC_FALLBACK_FILTER_FAMILIES;
99537
97552
  exports.GEOMETRY_MORPH_STEPS = GEOMETRY_MORPH_STEPS;
99538
97553
  exports.GIF_POST_CAPTURE_MAX_SIDE = GIF_POST_CAPTURE_MAX_SIDE;
99539
97554
  exports.GLYPH_ENVELOPE_PRESETS = GLYPH_ENVELOPE_PRESETS;
99540
- exports.GOOGLE_FONTS_CSS2_BASE = GOOGLE_FONTS_CSS2_BASE;
99541
- exports.GOOGLE_WEBFONT_AXIS = GOOGLE_WEBFONT_AXIS;
99542
97555
  exports.GRADIENT_TYPE_OPTIONS = GRADIENT_TYPE_OPTIONS;
99543
97556
  exports.GRIDLINE_DASH_OPTIONS = GRIDLINE_DASH_OPTIONS;
99544
97557
  exports.GROUPED_INSERT_CHART_KINDS = GROUPED_INSERT_CHART_KINDS;
@@ -99994,6 +98007,7 @@ exports.applyElementActionAffordances = applyElementActionAffordances;
99994
98007
  exports.applyFontAlignmentFallback = applyFontAlignmentFallback;
99995
98008
  exports.applyHighlightClickStyle = applyHighlightClickStyle;
99996
98009
  exports.applyInlineCommand = applyInlineCommand;
98010
+ exports.applyInlineRunStyle = applyInlineRunStyle;
99997
98011
  exports.applyInlineTextDraft = applyInlineTextDraft;
99998
98012
  exports.applyListStyleUpdate = applyListStyleUpdate;
99999
98013
  exports.applyLockedOptions = applyLockedOptions;
@@ -100137,8 +98151,6 @@ exports.buildFreeformToolElement = buildFreeformToolElement;
100137
98151
  exports.buildFreeformToolGeometry = buildFreeformToolGeometry;
100138
98152
  exports.buildGlyphEnvelope = buildGlyphEnvelope;
100139
98153
  exports.buildGlyphEnvelopeBlock = buildGlyphEnvelopeBlock;
100140
- exports.buildGoogleFontsFragment = buildGoogleFontsFragment;
100141
- exports.buildGoogleFontsHref = buildGoogleFontsHref;
100142
98154
  exports.buildHelpRibbon = buildHelpRibbon;
100143
98155
  exports.buildHollowHitOutline = buildHollowHitOutline;
100144
98156
  exports.buildHyperlinkPatch = buildHyperlinkPatch;
@@ -100356,6 +98368,7 @@ exports.collectChartBuildInfo = collectChartBuildInfo;
100356
98368
  exports.collectCoherent3DOffNodeIds = collectCoherent3DOffNodeIds;
100357
98369
  exports.collectConnectorSiteCandidates = collectConnectorSiteCandidates;
100358
98370
  exports.collectDeckWebfontFaces = collectDeckWebfontFaces;
98371
+ exports.collectDeckWebfontRuns = collectDeckWebfontRuns;
100359
98372
  exports.collectDiagramBuildInfo = collectDiagramBuildInfo;
100360
98373
  exports.collectExternalFontFaceCss = collectExternalFontFaceCss;
100361
98374
  exports.collectFontFaceCss = collectFontFaceCss;
@@ -100684,12 +98697,10 @@ exports.findCommentLocation = findCommentLocation;
100684
98697
  exports.findConnectorSiteNear = findConnectorSiteNear;
100685
98698
  exports.findEffectSoundCatalogueEntry = findEffectSoundCatalogueEntry;
100686
98699
  exports.findEraserHitElementId = findEraserHitElementId;
100687
- exports.findGoogleFontsFamily = findGoogleFontsFamily;
100688
98700
  exports.findHighlightClickTarget = findHighlightClickTarget;
100689
98701
  exports.findMediaBookmarkGatedSteps = findMediaBookmarkGatedSteps;
100690
98702
  exports.findMediaElementByElementId = findMediaElementByElementId;
100691
98703
  exports.findMediaEndGatedSteps = findMediaEndGatedSteps;
100692
- exports.findMetricCompatibleGoogleFontsFamily = findMetricCompatibleGoogleFontsFamily;
100693
98704
  exports.findOutlineRow = findOutlineRow;
100694
98705
  exports.findPresentationActionTarget = findPresentationActionTarget;
100695
98706
  exports.findReplaceSessionActions = findReplaceSessionActions;
@@ -100718,9 +98729,6 @@ exports.fontHomeControls = fontHomeControls;
100718
98729
  exports.fontMimeForFormat = fontMimeForFormat;
100719
98730
  exports.fontPickerHomeControls = fontPickerHomeControls;
100720
98731
  exports.fontSizePx = fontSizePx;
100721
- exports.fontStyleShorthand = fontStyleShorthand;
100722
- exports.fontWeightAttribute = fontWeightAttribute;
100723
- exports.fontWeightShorthand = fontWeightShorthand;
100724
98732
  exports.foreignObjectSvgToDataUrl = foreignObjectSvgToDataUrl;
100725
98733
  exports.forgetSessionDeck = forgetSessionDeck;
100726
98734
  exports.forgetStepsUsingRemovedParts = forgetStepsUsingRemovedParts;
@@ -101120,6 +99128,7 @@ exports.mapReadingViewKey = mapReadingViewKey;
101120
99128
  exports.mapSlideShowStartKey = mapSlideShowStartKey;
101121
99129
  exports.mapSlideSorterKey = mapSlideSorterKey;
101122
99130
  exports.markAnimationGroupActive = markAnimationGroupActive;
99131
+ exports.markInsertedParagraph = markInsertedParagraph;
101123
99132
  exports.maskEdgeDecl = maskEdgeDecl;
101124
99133
  exports.maskEdgeInitialStyle = maskEdgeInitialStyle;
101125
99134
  exports.maskEdgePartialDecl = maskEdgePartialDecl;
@@ -101134,7 +99143,7 @@ exports.masterViewPartForElement = masterViewPartForElement;
101134
99143
  exports.masterViewParts = masterViewParts;
101135
99144
  exports.masterViewPseudoSlide = masterViewPseudoSlide;
101136
99145
  exports.matchCommentMentionAuthors = matchCommentMentionAuthors;
101137
- exports.matchGoogleWebfontFragments = matchGoogleWebfontFragments;
99146
+ exports.matchGoogleWebfontFragments = matchGoogleWebfontFragments2;
101138
99147
  exports.matchMorphElements = matchMorphElements;
101139
99148
  exports.matchMorphElementsFull = matchMorphElementsFull;
101140
99149
  exports.matchSlideSizePreset = matchSlideSizePreset;
@@ -101226,7 +99235,6 @@ exports.nextPresentedSlide = nextPresentedSlide;
101226
99235
  exports.nextShowSlideIndex = nextShowSlideIndex;
101227
99236
  exports.normalizeAccelDecel = normalizeAccelDecel;
101228
99237
  exports.normalizeFontFormat = normalizeFontFormat;
101229
- exports.normalizeGoogleFontsBaseUrl = normalizeGoogleFontsBaseUrl;
101230
99238
  exports.normalizeNotesLinkUrl = normalizeNotesLinkUrl;
101231
99239
  exports.normalizeOutlinePair = normalizeOutlinePair;
101232
99240
  exports.normalizeRegion = normalizeRegion;
@@ -101287,7 +99295,6 @@ exports.parseDrawingColor = parseDrawingColor;
101287
99295
  exports.parseDrawingColorChoice = parseDrawingColorChoice;
101288
99296
  exports.parseDrawingColorOpacity = parseDrawingColorOpacity;
101289
99297
  exports.parseEditPointsTarget = parseEditPointsTarget;
101290
- exports.parseFontWeightName = parseFontWeightName;
101291
99298
  exports.parseGradientCssStops = parseGradientCssStops;
101292
99299
  exports.parseHexColor = parseHexColor;
101293
99300
  exports.parseHexToRgb = parseHexToRgb;
@@ -101343,6 +99350,7 @@ exports.pptxChartFormatSource = pptxChartFormatSource;
101343
99350
  exports.pptxLoadErrorMessage = pptxLoadErrorMessage;
101344
99351
  exports.pptxOptionsLabels = pptxOptionsLabels;
101345
99352
  exports.prefersReducedMotion = prefersReducedMotion;
99353
+ exports.prefetchDeckWebfonts = prefetchDeckWebfonts;
101346
99354
  exports.prepareDeckWebfonts = prepareDeckWebfonts;
101347
99355
  exports.prepareElementForInsertion = prepareElementForInsertion;
101348
99356
  exports.prepareElementUpdateBatch = prepareElementUpdateBatch;
@@ -101543,14 +99551,10 @@ exports.resolveFieldDateText = resolveFieldDateText;
101543
99551
  exports.resolveFilterEffect = resolveFilterEffect;
101544
99552
  exports.resolveFilterPresetSubtype = resolveFilterPresetSubtype;
101545
99553
  exports.resolveFontDownloadBase = resolveFontDownloadBase;
101546
- exports.resolveFontItalic = resolveFontItalic;
101547
99554
  exports.resolveFontKerning = resolveFontKerning;
101548
99555
  exports.resolveFontRefIdx = resolveFontRefIdx;
101549
99556
  exports.resolveFontVariant = resolveFontVariant;
101550
- exports.resolveFontWeight = resolveFontWeight;
101551
99557
  exports.resolveForwardSlideWithZoomReturn = resolveForwardSlideWithZoomReturn;
101552
- exports.resolveGoogleFontsCss2Base = resolveGoogleFontsCss2Base;
101553
- exports.resolveGoogleFontsFace = resolveGoogleFontsFace;
101554
99558
  exports.resolveGoogleWebfontHref = resolveGoogleWebfontHref;
101555
99559
  exports.resolveGroupChildFill = resolveGroupChildFill;
101556
99560
  exports.resolveGroupDoubleClickTarget = resolveGroupDoubleClickTarget;
@@ -101741,6 +99745,7 @@ exports.secureRandomToken = secureRandomToken;
101741
99745
  exports.secureRandomUuid = secureRandomUuid;
101742
99746
  exports.seedBroadcastFields = seedBroadcastFields;
101743
99747
  exports.seedHyperlinkDraft = seedHyperlinkDraft;
99748
+ exports.seedPlainInlineText = seedPlainInlineText;
101744
99749
  exports.seedRecentColors = seedRecentColors;
101745
99750
  exports.seedShareFields = seedShareFields;
101746
99751
  exports.seedShareSessionFields = seedShareSessionFields;
@@ -101750,7 +99755,6 @@ exports.segmentsToParagraphs = segmentsToParagraphs;
101750
99755
  exports.segmentsToPlainText = segmentsToPlainText;
101751
99756
  exports.select = select;
101752
99757
  exports.selectGoogleWebfontCandidates = selectGoogleWebfontCandidates;
101753
- exports.selectGoogleWebfontFamilies = selectGoogleWebfontFamilies;
101754
99758
  exports.selectSorterSlide = selectSorterSlide;
101755
99759
  exports.selectTrustedEmbeddedFonts = selectTrustedEmbeddedFonts;
101756
99760
  exports.selectedBookmarkOptionValue = selectedBookmarkOptionValue;
@@ -101852,6 +99856,7 @@ exports.sorterGridColumns = sorterGridColumns;
101852
99856
  exports.sorterMenuContext = sorterMenuContext;
101853
99857
  exports.sorterPasteInsertAt = sorterPasteInsertAt;
101854
99858
  exports.sorterSelectionIndexes = sorterSelectionIndexes;
99859
+ exports.spaceBeforeCaretRange = spaceBeforeCaretRange;
101855
99860
  exports.splitCubic = splitCubic;
101856
99861
  exports.splitEastAsianBreaks = splitEastAsianBreaks;
101857
99862
  exports.splitEastAsianRunPieces = splitEastAsianRunPieces;