@openpresentation/opf 0.34.2 → 0.35.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 +6 -6
  2. package/dist/browser.js +19 -19
  3. package/dist/{catalog-refs-wtuudZTe.d.ts → catalog-refs-BgotJhR5.d.ts} +105 -95
  4. package/dist/{catalog-schemas-CSxuFtsu.d.ts → catalog-schemas-BX-VEc5Q.d.ts} +1 -1
  5. package/dist/{chunk-RM4Z7ZSW.js → chunk-2GCTKQDD.js} +4 -4
  6. package/dist/{chunk-VI7VWDTN.js → chunk-3KPTVK77.js} +75 -283
  7. package/dist/{chunk-AQ3WR3H7.js → chunk-3ZTKRX7F.js} +4 -6
  8. package/dist/{chunk-IDYYLJCQ.js → chunk-4UMZDDJG.js} +11 -29
  9. package/dist/{chunk-NLJFNCZ4.js → chunk-6JHV2K67.js} +6 -6
  10. package/dist/{chunk-FK5XG742.js → chunk-6VGLE7C5.js} +114 -2
  11. package/dist/{chunk-V4G3BYPY.js → chunk-7KUUIL7W.js} +7 -7
  12. package/dist/{chunk-PHOSM2RA.js → chunk-ARPMSD7V.js} +1 -1
  13. package/dist/{chunk-UKI43JE6.js → chunk-GGN3NQDK.js} +1 -1
  14. package/dist/{chunk-XLXCXEVF.js → chunk-GKUAVSXU.js} +3 -10
  15. package/dist/{chunk-HX4HEJB4.js → chunk-HORPH6O7.js} +7 -6
  16. package/dist/{chunk-KJFCHCWV.js → chunk-JQNT37IO.js} +4 -13
  17. package/dist/{chunk-WBPXRUZT.js → chunk-KNMMEE67.js} +795 -467
  18. package/dist/{chunk-IGT4523S.js → chunk-LDLLZQPP.js} +706 -432
  19. package/dist/{chunk-6MSH3KCZ.js → chunk-MS2LPR7F.js} +1 -5
  20. package/dist/{chunk-NMZCPZ3R.js → chunk-MVPQEMCP.js} +97 -15
  21. package/dist/{chunk-P2X4BBW2.js → chunk-NPRNWPP4.js} +1 -1
  22. package/dist/{chunk-EQCZ2SFD.js → chunk-P2ACZJUL.js} +6 -6
  23. package/dist/chunk-SEC4IOOS.js +1 -0
  24. package/dist/{chunk-VVPPMHP6.js → chunk-VMPOCXTE.js} +5 -17
  25. package/dist/{chunk-MDAXXFAY.js → chunk-ZZWX4W2G.js} +2 -2
  26. package/dist/{composition-DF07Ha4R.d.ts → composition-BmJfljJl.d.ts} +198 -114
  27. package/dist/composition.d.ts +2 -2
  28. package/dist/composition.js +1 -1
  29. package/dist/{conversion-52ki0lfZ.d.ts → conversion-BbXhlurO.d.ts} +7 -7
  30. package/dist/conversion-VWCH3NKR.js +25 -0
  31. package/dist/convert.d.ts +11 -11
  32. package/dist/convert.js +61 -86
  33. package/dist/data.d.ts +1 -1
  34. package/dist/data.js +2 -2
  35. package/dist/{deck-report-C3EsoHC3.d.ts → deck-report-BYkbL7uT.d.ts} +3 -3
  36. package/dist/deck.d.ts +6 -6
  37. package/dist/deck.js +11 -11
  38. package/dist/diagram-engine-eager.js +1 -1
  39. package/dist/diagram-engine-lazy.js +1 -1
  40. package/dist/{diagram-plantuml-XRZ6VAOL.js → diagram-plantuml-GWXGKY7R.js} +1 -1
  41. package/dist/diff.d.ts +2 -2
  42. package/dist/diff.js +4 -4
  43. package/dist/docs.js +39 -39
  44. package/dist/examples.js +6336 -8170
  45. package/dist/{finding-l9dlQ2NF.d.ts → finding-mcHslZLA.d.ts} +6 -2
  46. package/dist/font-policy.d.ts +16 -2
  47. package/dist/font-policy.js +1 -1
  48. package/dist/format.js +2 -2
  49. package/dist/ids.d.ts +2 -2
  50. package/dist/ids.js +4 -4
  51. package/dist/index.d.ts +125 -27
  52. package/dist/index.js +24 -23
  53. package/dist/markdown.d.ts +1 -1
  54. package/dist/markdown.js +8 -8
  55. package/dist/node-engine.d.ts +6 -6
  56. package/dist/node-engine.js +21 -21
  57. package/dist/{pagination-Do7vNgU-.d.ts → pagination-C0FPjO29.d.ts} +4 -4
  58. package/dist/pagination.d.ts +3 -3
  59. package/dist/pagination.js +4 -4
  60. package/dist/patch.d.ts +4 -4
  61. package/dist/patch.js +3 -3
  62. package/dist/precompiled.js +2 -2
  63. package/dist/{presentation-ANs2WkaS.d.ts → presentation-Dx-kZC8Y.d.ts} +25 -81
  64. package/dist/repo-readme.js +1 -1
  65. package/dist/schema-engine-ajv.js +1 -1
  66. package/dist/schema-engine-precompiled.js +2 -2
  67. package/dist/schema.d.ts +5 -7
  68. package/dist/schema.js +3 -3
  69. package/dist/schemas.js +1 -1
  70. package/dist/source.js +10 -10
  71. package/dist/spec/reference/engine-defaults.json +1 -1
  72. package/dist/spec/reference/engine-vocabularies.json +43 -43
  73. package/dist/spec/reference/font-policy.json +114 -2
  74. package/dist/spec/reference/font-policy.schema.json +45 -1
  75. package/dist/spec/schemas/color-scheme.schema.json +2 -2
  76. package/dist/spec/schemas/finding.schema.json +2 -1
  77. package/dist/spec/schemas/layout.schema.json +27 -85
  78. package/dist/spec/schemas/opf.schema.json +26 -175
  79. package/dist/spec/schemas/theme.schema.json +10 -10
  80. package/dist/symbol-font-encodings.d.ts +2 -2
  81. package/dist/types.d.ts +74 -86
  82. package/dist/{validation-types-BNS41nzb.d.ts → validation-types-DKIe1RQW.d.ts} +5 -5
  83. package/dist/validator.d.ts +5 -7
  84. package/dist/validator.js +3 -3
  85. package/dist/yaml.d.ts +1 -1
  86. package/dist/yaml.js +7 -7
  87. package/package.json +5 -5
  88. package/dist/chunk-HSXWDXKM.js +0 -1
  89. package/dist/conversion-F3HSCFOV.js +0 -25
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Engine vocabularies of OPF 0.15: the values an engine must understand to draw, validated directly with no catalog lookup. chartTypes are the values of chart.type; socialPlatforms are the keys of Organization.socials and Speaker.socials with the URL patterns engines link a handle with; languages are the BCP-47 tags engines know the script, base direction, OOXML language tag and default script fonts of (any other well-formed tag is accepted, with its script inferred). Labels, descriptions, icons and brand colours are catalog display metadata, published by pptx.gallery and shipped in @openpresentation/gallery. Core compiles this file into its engine code (scripts/generate.mjs).",
2
+ "description": "Engine vocabularies of OPF 0.15: the values an engine must understand to draw, validated directly with no catalog lookup. chartTypes are the values of chart.type; socialPlatforms are the keys of Organization.socials and Speaker.socials with the URL patterns engines link a handle with; languages are the BCP-47 tags engines know the script, base direction, OOXML language tag and default script fonts of (any other well-formed tag is accepted, with its script inferred). Labels, descriptions, icons and brand colors are catalog display metadata, published by pptx.gallery and shipped in @openpresentation/gallery. Core compiles this file into its engine code (scripts/generate.mjs).",
3
3
  "chartTypes": [
4
4
  "100pct-stacked-area",
5
5
  "100pct-stacked-bar",
@@ -124,8 +124,8 @@
124
124
  "ooxmlLang": "am-ET",
125
125
  "fonts": {
126
126
  "powerpoint": {
127
- "major": "Nyala",
128
- "minor": "Nyala"
127
+ "major": "Ebrima",
128
+ "minor": "Ebrima"
129
129
  },
130
130
  "google": {
131
131
  "major": "Noto Sans Ethiopic",
@@ -140,8 +140,8 @@
140
140
  "ooxmlLang": "ar-SA",
141
141
  "fonts": {
142
142
  "powerpoint": {
143
- "major": "Arabic Typesetting",
144
- "minor": "Arabic Typesetting"
143
+ "major": "Times New Roman",
144
+ "minor": "Arial"
145
145
  },
146
146
  "google": {
147
147
  "major": "Noto Naskh Arabic",
@@ -209,8 +209,8 @@
209
209
  "ooxmlLang": "bn-BD",
210
210
  "fonts": {
211
211
  "powerpoint": {
212
- "major": "Shonar Bangla",
213
- "minor": "Shonar Bangla"
212
+ "major": "Nirmala UI",
213
+ "minor": "Nirmala UI"
214
214
  },
215
215
  "google": {
216
216
  "major": "Noto Sans Bengali",
@@ -347,8 +347,8 @@
347
347
  "ooxmlLang": "bn-BD",
348
348
  "fonts": {
349
349
  "powerpoint": {
350
- "major": "Vrinda",
351
- "minor": "Vrinda"
350
+ "major": "Nirmala UI",
351
+ "minor": "Nirmala UI"
352
352
  },
353
353
  "google": {
354
354
  "major": "Noto Sans Bengali",
@@ -707,8 +707,8 @@
707
707
  "ooxmlLang": "gu-IN",
708
708
  "fonts": {
709
709
  "powerpoint": {
710
- "major": "Shruti",
711
- "minor": "Shruti"
710
+ "major": "Nirmala UI",
711
+ "minor": "Nirmala UI"
712
712
  },
713
713
  "google": {
714
714
  "major": "Noto Sans Gujarati",
@@ -739,8 +739,8 @@
739
739
  "ooxmlLang": "he-IL",
740
740
  "fonts": {
741
741
  "powerpoint": {
742
- "major": "David",
743
- "minor": "David"
742
+ "major": "Segoe UI",
743
+ "minor": "Segoe UI"
744
744
  },
745
745
  "google": {
746
746
  "major": "Noto Sans Hebrew",
@@ -760,8 +760,8 @@
760
760
  "ooxmlLang": "hi-IN",
761
761
  "fonts": {
762
762
  "powerpoint": {
763
- "major": "Mangal",
764
- "minor": "Mangal"
763
+ "major": "Nirmala UI",
764
+ "minor": "Nirmala UI"
765
765
  },
766
766
  "google": {
767
767
  "major": "Noto Sans Devanagari",
@@ -855,8 +855,8 @@
855
855
  "ooxmlLang": "ja-JP",
856
856
  "fonts": {
857
857
  "powerpoint": {
858
- "major": "Meiryo",
859
- "minor": "Meiryo"
858
+ "major": "Yu Gothic",
859
+ "minor": "Yu Gothic"
860
860
  },
861
861
  "google": {
862
862
  "major": "Noto Sans JP",
@@ -876,8 +876,8 @@
876
876
  "ooxmlLang": "kn-IN",
877
877
  "fonts": {
878
878
  "powerpoint": {
879
- "major": "Tunga",
880
- "minor": "Tunga"
879
+ "major": "Nirmala UI",
880
+ "minor": "Nirmala UI"
881
881
  },
882
882
  "google": {
883
883
  "major": "Noto Sans Kannada",
@@ -908,8 +908,8 @@
908
908
  "ooxmlLang": "km-KH",
909
909
  "fonts": {
910
910
  "powerpoint": {
911
- "major": "DaunPenh",
912
- "minor": "DaunPenh"
911
+ "major": "Leelawadee UI",
912
+ "minor": "Leelawadee UI"
913
913
  },
914
914
  "google": {
915
915
  "major": "Noto Sans Khmer",
@@ -1057,8 +1057,8 @@
1057
1057
  "ooxmlLang": "ml-IN",
1058
1058
  "fonts": {
1059
1059
  "powerpoint": {
1060
- "major": "Kartika",
1061
- "minor": "Kartika"
1060
+ "major": "Nirmala UI",
1061
+ "minor": "Nirmala UI"
1062
1062
  },
1063
1063
  "google": {
1064
1064
  "major": "Noto Sans Malayalam",
@@ -1089,8 +1089,8 @@
1089
1089
  "ooxmlLang": "mr-IN",
1090
1090
  "fonts": {
1091
1091
  "powerpoint": {
1092
- "major": "Mangal",
1093
- "minor": "Mangal"
1092
+ "major": "Nirmala UI",
1093
+ "minor": "Nirmala UI"
1094
1094
  },
1095
1095
  "google": {
1096
1096
  "major": "Noto Sans Devanagari",
@@ -1121,8 +1121,8 @@
1121
1121
  "ooxmlLang": "ne-NP",
1122
1122
  "fonts": {
1123
1123
  "powerpoint": {
1124
- "major": "Mangal",
1125
- "minor": "Mangal"
1124
+ "major": "Nirmala UI",
1125
+ "minor": "Nirmala UI"
1126
1126
  },
1127
1127
  "google": {
1128
1128
  "major": "Noto Sans Devanagari",
@@ -1158,8 +1158,8 @@
1158
1158
  "ooxmlLang": "or-IN",
1159
1159
  "fonts": {
1160
1160
  "powerpoint": {
1161
- "major": "Kalinga",
1162
- "minor": "Kalinga"
1161
+ "major": "Nirmala UI",
1162
+ "minor": "Nirmala UI"
1163
1163
  },
1164
1164
  "google": {
1165
1165
  "major": "Noto Sans Oriya",
@@ -1190,7 +1190,7 @@
1190
1190
  "ooxmlLang": "ps-AF",
1191
1191
  "fonts": {
1192
1192
  "powerpoint": {
1193
- "major": "Arial Black",
1193
+ "major": "Times New Roman",
1194
1194
  "minor": "Arial"
1195
1195
  },
1196
1196
  "google": {
@@ -1206,8 +1206,8 @@
1206
1206
  "ooxmlLang": "fa-IR",
1207
1207
  "fonts": {
1208
1208
  "powerpoint": {
1209
- "major": "Arabic Typesetting",
1210
- "minor": "Arabic Typesetting"
1209
+ "major": "Times New Roman",
1210
+ "minor": "Arial"
1211
1211
  },
1212
1212
  "google": {
1213
1213
  "major": "Noto Naskh Arabic",
@@ -1264,8 +1264,8 @@
1264
1264
  "ooxmlLang": "pa-IN",
1265
1265
  "fonts": {
1266
1266
  "powerpoint": {
1267
- "major": "Raavi",
1268
- "minor": "Raavi"
1267
+ "major": "Nirmala UI",
1268
+ "minor": "Nirmala UI"
1269
1269
  },
1270
1270
  "google": {
1271
1271
  "major": "Noto Sans Gurmukhi",
@@ -1280,7 +1280,7 @@
1280
1280
  "ooxmlLang": "pa-Arab-PK",
1281
1281
  "fonts": {
1282
1282
  "powerpoint": {
1283
- "major": "Arial Black",
1283
+ "major": "Times New Roman",
1284
1284
  "minor": "Arial"
1285
1285
  },
1286
1286
  "google": {
@@ -1519,8 +1519,8 @@
1519
1519
  "ooxmlLang": "ta-IN",
1520
1520
  "fonts": {
1521
1521
  "powerpoint": {
1522
- "major": "Latha",
1523
- "minor": "Latha"
1522
+ "major": "Nirmala UI",
1523
+ "minor": "Nirmala UI"
1524
1524
  },
1525
1525
  "google": {
1526
1526
  "major": "Noto Sans Tamil",
@@ -1535,8 +1535,8 @@
1535
1535
  "ooxmlLang": "te-IN",
1536
1536
  "fonts": {
1537
1537
  "powerpoint": {
1538
- "major": "Gautami",
1539
- "minor": "Gautami"
1538
+ "major": "Nirmala UI",
1539
+ "minor": "Nirmala UI"
1540
1540
  },
1541
1541
  "google": {
1542
1542
  "major": "Noto Sans Telugu",
@@ -1551,8 +1551,8 @@
1551
1551
  "ooxmlLang": "th-TH",
1552
1552
  "fonts": {
1553
1553
  "powerpoint": {
1554
- "major": "Angsana New",
1555
- "minor": "Angsana New"
1554
+ "major": "Leelawadee UI",
1555
+ "minor": "Leelawadee UI"
1556
1556
  },
1557
1557
  "google": {
1558
1558
  "major": "Noto Sans Thai",
@@ -1614,8 +1614,8 @@
1614
1614
  "ooxmlLang": "ur-PK",
1615
1615
  "fonts": {
1616
1616
  "powerpoint": {
1617
- "major": "Arabic Typesetting",
1618
- "minor": "Arabic Typesetting"
1617
+ "major": "Times New Roman",
1618
+ "minor": "Arial"
1619
1619
  },
1620
1620
  "google": {
1621
1621
  "major": "Noto Nastaliq Urdu",
@@ -334,6 +334,14 @@
334
334
  "styles": 4,
335
335
  "reference": "Arial 7.06"
336
336
  },
337
+ "scripts": {
338
+ "Arab": {
339
+ "family": "Noto Naskh Arabic",
340
+ "compatibility": "visual",
341
+ "sizeAdjust": 0.96,
342
+ "sizeAdjustBasis": "v0.35 Arabic default: sum of Arial 7.07 advances over sum of Noto Naskh Arabic 400 advances (fontkit, read in place; each sample in its own OpenType language) over the Arabic-script runs of the 12 Arabic-script corpus samples of opf-render test/fixtures/script-corpora.json: 0.964 (per-sample 0.90 to 1.16; the samples without digits of their own 0.90 to 0.99, the two digit samples 1.08 and 1.16). Arial's Arabic is Times New Roman's (235 of the 256 glyphs of the Arabic block have the same outlines and advances); Arial's wider space makes its runs 1.5 percent longer. Bold: Arial Bold over Noto Naskh Arabic 700 0.946, so bold runs draw about 1.5 percent long. At 0.96 the body letters stand as high as the real font's (heh 1.03, meem 1.07 of the replacement's) and alef and lam somewhat lower (1.15). Noto Naskh Arabic, not Noto Sans Arabic: those samples vary less against Arial (0.90 to 0.99 against 0.82 to 0.94, which is 0.88 pooled) and its bold keeps the regular ratio (Noto Sans Arabic 700: 0.82, so bold would draw 7 percent long)."
343
+ }
344
+ },
337
345
  "source": "https://github.com/google/fonts/blob/main/ofl/arimo/METADATA.pb"
338
346
  },
339
347
  "alternates": [
@@ -1158,6 +1166,14 @@
1158
1166
  "maxAbsWidthDelta": 0.0934,
1159
1167
  "styles": 2,
1160
1168
  "reference": "Ebrima 5.19"
1169
+ },
1170
+ "scripts": {
1171
+ "Ethi": {
1172
+ "family": "Noto Sans Ethiopic",
1173
+ "compatibility": "visual",
1174
+ "sizeAdjust": 1.06,
1175
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Ebrima 5.20 advances over sum of Noto Sans Ethiopic 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.055 (per-sentence 1.032 to 1.076)."
1176
+ }
1161
1177
  }
1162
1178
  },
1163
1179
  "alternates": [
@@ -1714,6 +1730,36 @@
1714
1730
  ],
1715
1731
  "note": "Script replacement; widths not measured. Windows: Tamil Supplemental Fonts FOD."
1716
1732
  },
1733
+ {
1734
+ "family": "Leelawadee UI",
1735
+ "licenseClass": "proprietary-standard",
1736
+ "license": "proprietary (Microsoft)",
1737
+ "availability": [
1738
+ "windows"
1739
+ ],
1740
+ "embeddableByOpf": false,
1741
+ "replacement": {
1742
+ "family": "Noto Sans Thai",
1743
+ "compatibility": "visual",
1744
+ "sizeAdjust": 0.96,
1745
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Leelawadee UI 6.00 advances over sum of Noto Sans Thai 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 0.958 (per-sentence 0.935 to 0.985).",
1746
+ "measured": null,
1747
+ "scripts": {
1748
+ "Khmr": {
1749
+ "family": "Noto Sans Khmer",
1750
+ "compatibility": "visual",
1751
+ "sizeAdjust": 1.19,
1752
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Leelawadee UI 6.00 advances over sum of Noto Sans Khmer 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.19 (per-sentence 1.163 to 1.235)."
1753
+ }
1754
+ }
1755
+ },
1756
+ "sources": [
1757
+ "https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list",
1758
+ "https://learn.microsoft.com/en-us/typography/fonts/windows_10_font_list",
1759
+ "https://learn.microsoft.com/en-us/typography/font-list/leelawadee-ui"
1760
+ ],
1761
+ "note": "The default for Thai and Khmer since 0.35. Thai text previews in Noto Sans Thai, Khmer in Noto Sans Khmer."
1762
+ },
1717
1763
  {
1718
1764
  "family": "Liberation Mono",
1719
1765
  "licenseClass": "open",
@@ -2218,6 +2264,56 @@
2218
2264
  "maxAbsWidthDelta": 0.0939,
2219
2265
  "styles": 2,
2220
2266
  "reference": "Nirmala UI 1.46"
2267
+ },
2268
+ "scripts": {
2269
+ "Beng": {
2270
+ "family": "Noto Sans Bengali",
2271
+ "compatibility": "visual",
2272
+ "sizeAdjust": 1.08,
2273
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Bengali 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.079 (per-sentence 1.056 to 1.094)."
2274
+ },
2275
+ "Gujr": {
2276
+ "family": "Noto Sans Gujarati",
2277
+ "compatibility": "visual",
2278
+ "sizeAdjust": 1.13,
2279
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Gujarati 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.128 (per-sentence 1.097 to 1.151)."
2280
+ },
2281
+ "Guru": {
2282
+ "family": "Noto Sans Gurmukhi",
2283
+ "compatibility": "visual",
2284
+ "sizeAdjust": 1.08,
2285
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Gurmukhi 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.084 (per-sentence 1.073 to 1.094)."
2286
+ },
2287
+ "Knda": {
2288
+ "family": "Noto Sans Kannada",
2289
+ "compatibility": "visual",
2290
+ "sizeAdjust": 1.17,
2291
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Kannada 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.166 (per-sentence 1.132 to 1.186). Noto Sans Kannada is the narrower design, so at this factor its letters stand about 15 percent taller than Nirmala UI's."
2292
+ },
2293
+ "Mlym": {
2294
+ "family": "Noto Sans Malayalam",
2295
+ "compatibility": "visual",
2296
+ "sizeAdjust": 1.13,
2297
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Malayalam 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.13 (per-sentence 1.113 to 1.169)."
2298
+ },
2299
+ "Orya": {
2300
+ "family": "Noto Sans Oriya",
2301
+ "compatibility": "visual",
2302
+ "sizeAdjust": 0.98,
2303
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Oriya 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 0.983 (per-sentence 0.971 to 0.998)."
2304
+ },
2305
+ "Taml": {
2306
+ "family": "Noto Sans Tamil",
2307
+ "compatibility": "visual",
2308
+ "sizeAdjust": 1.04,
2309
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Tamil 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.039 (per-sentence 1.033 to 1.047)."
2310
+ },
2311
+ "Telu": {
2312
+ "family": "Noto Sans Telugu",
2313
+ "compatibility": "visual",
2314
+ "sizeAdjust": 1.17,
2315
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Nirmala UI 1.46 advances over sum of Noto Sans Telugu 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.169 (per-sentence 1.128 to 1.196)."
2316
+ }
2221
2317
  }
2222
2318
  },
2223
2319
  "sources": [
@@ -2240,7 +2336,7 @@
2240
2336
  "https://github.com/googlefonts/noto-emoji",
2241
2337
  "https://www.npmjs.com/package/@expo-google-fonts/noto-color-emoji"
2242
2338
  ],
2243
- "note": "Colour emoji (COLRv1 and OT-SVG glyphs; the Google Fonts build, 25.1 MB). Preview face for Segoe UI Emoji (FF-45); drawn in colour by browsers, as a monochrome Noto Emoji silhouette by the resvg raster path."
2339
+ "note": "Color emoji (COLRv1 and OT-SVG glyphs; the Google Fonts build, 25.1 MB). Preview face for Segoe UI Emoji (FF-45); drawn in color by browsers, as a monochrome Noto Emoji silhouette by the resvg raster path."
2244
2340
  },
2245
2341
  {
2246
2342
  "family": "Noto Emoji",
@@ -3020,6 +3116,14 @@
3020
3116
  "maxAbsWidthDelta": 0.0709,
3021
3117
  "styles": 4,
3022
3118
  "reference": "Segoe UI 5.71"
3119
+ },
3120
+ "scripts": {
3121
+ "Hebr": {
3122
+ "family": "Noto Sans Hebrew",
3123
+ "compatibility": "visual",
3124
+ "sizeAdjust": 1.03,
3125
+ "sizeAdjustBasis": "v0.35 script defaults: sum of Segoe UI 5.72 advances over sum of Noto Sans Hebrew 400 advances (HarfBuzz shaping with the language tag, fonts read in place) over 8 sentences: 1.026 (per-sentence 1.015 to 1.036)."
3126
+ }
3023
3127
  }
3024
3128
  },
3025
3129
  "alternates": [
@@ -3060,7 +3164,7 @@
3060
3164
  "https://learn.microsoft.com/en-us/typography/font-list/segoe-ui-emoji",
3061
3165
  "https://support.apple.com/en-us/122869"
3062
3166
  ],
3063
- "note": "FF-45: previews with Noto Color Emoji (OFL-1.1, COLRv1 and OT-SVG colour glyphs, 25.1 MB) loaded as the opf-render emoji pack (@expo-google-fonts/noto-color-emoji, optional peer); Noto Emoji (monochrome) is the alternate and the face the resvg raster path draws, because resvg draws neither COLRv1 nor OT-SVG glyphs. Visual: every emoji sequence advances 1.2451 em in Noto Color Emoji against 1.3730 em in Segoe UI Emoji 1.33 (-9.3%); Noto Color Emoji has no Latin glyphs, so Latin text and digits of a Segoe UI Emoji run take a text face by glyph fallback. Not measured on the policy corpus (measured: null). Color font (COLRv1 in Windows 11, version 1.33 per the list)."
3167
+ "note": "FF-45: previews with Noto Color Emoji (OFL-1.1, COLRv1 and OT-SVG color glyphs, 25.1 MB) loaded as the opf-render emoji pack (@expo-google-fonts/noto-color-emoji, optional peer); Noto Emoji (monochrome) is the alternate and the face the resvg raster path draws, because resvg draws neither COLRv1 nor OT-SVG glyphs. Visual: every emoji sequence advances 1.2451 em in Noto Color Emoji against 1.3730 em in Segoe UI Emoji 1.33 (-9.3%); Noto Color Emoji has no Latin glyphs, so Latin text and digits of a Segoe UI Emoji run take a text face by glyph fallback. Not measured on the policy corpus (measured: null). Color font (COLRv1 in Windows 11, version 1.33 per the list)."
3064
3168
  },
3065
3169
  {
3066
3170
  "family": "Segoe UI Light",
@@ -3535,6 +3639,14 @@
3535
3639
  "styles": 4,
3536
3640
  "reference": "Times New Roman 7.12"
3537
3641
  },
3642
+ "scripts": {
3643
+ "Arab": {
3644
+ "family": "Noto Naskh Arabic",
3645
+ "compatibility": "visual",
3646
+ "sizeAdjust": 0.95,
3647
+ "sizeAdjustBasis": "v0.35 Arabic default: sum of Times New Roman 7.13 advances over sum of Noto Naskh Arabic 400 advances (fontkit, read in place; each sample in its own OpenType language) over the Arabic-script runs of the 12 Arabic-script corpus samples of opf-render test/fixtures/script-corpora.json: 0.950 (per-sample 0.89 to 1.15; the samples without digits of their own 0.89 to 0.96, the two digit samples 1.07 and 1.15). Bold: Times New Roman Bold over Noto Naskh Arabic 700 0.932, so bold runs draw about 2 percent long. At 0.95 the body letters stand as high as the real font's (heh 1.05, meem 1.08 of the replacement's) and alef and lam somewhat lower (1.16). Noto Naskh Arabic, not Noto Sans Arabic: Times New Roman's Arabic is a naskh design, those samples vary less against it (0.89 to 0.96 against 0.81 to 0.93, which is 0.86 pooled) and its bold keeps the regular ratio (Noto Sans Arabic 700: 0.81, so bold would draw 7 percent long)."
3648
+ }
3649
+ },
3538
3650
  "source": "https://github.com/google/fonts/blob/main/ofl/tinos/METADATA.pb"
3539
3651
  },
3540
3652
  "alternates": [
@@ -55,7 +55,7 @@
55
55
  "$ref": "#/$defs/compatibility"
56
56
  },
57
57
  "metricModeFallback": {
58
- "description": "Metric-mode registries still preview with this visual replacement (reported as visual) so an earlier metric behaviour does not regress.",
58
+ "description": "Metric-mode registries still preview with this visual replacement (reported as visual) so an earlier metric behavior does not regress.",
59
59
  "type": "boolean"
60
60
  },
61
61
  "note": {
@@ -242,6 +242,17 @@
242
242
  }
243
243
  ]
244
244
  },
245
+ "scripts": {
246
+ "description": "Script replacements (v0.35), keyed by ISO 15924 script code (Arab). Runs of that script in this family are measured and drawn with the entry's open face instead of `family`, at its own preview-only size multiplier; text of any other script keeps `family` (Arial draws Latin text with Arimo, at the composed size, and Arabic-script runs with Noto Naskh Arabic at 0.96). The PPTX still names this row's family.",
247
+ "type": "object",
248
+ "minProperties": 1,
249
+ "propertyNames": {
250
+ "pattern": "^[A-Z][a-z]{3}$"
251
+ },
252
+ "additionalProperties": {
253
+ "$ref": "#/$defs/scriptReplacement"
254
+ }
255
+ },
245
256
  "source": {
246
257
  "type": "string",
247
258
  "format": "uri"
@@ -278,6 +289,39 @@
278
289
  ]
279
290
  }
280
291
  },
292
+ "scriptReplacement": {
293
+ "description": "The open face that previews one script of a family (`replacement.scripts`).",
294
+ "type": "object",
295
+ "additionalProperties": false,
296
+ "required": [
297
+ "family",
298
+ "compatibility"
299
+ ],
300
+ "dependentRequired": {
301
+ "sizeAdjust": [
302
+ "sizeAdjustBasis"
303
+ ]
304
+ },
305
+ "properties": {
306
+ "family": {
307
+ "$ref": "#/$defs/family"
308
+ },
309
+ "compatibility": {
310
+ "$ref": "#/$defs/compatibility"
311
+ },
312
+ "sizeAdjust": {
313
+ "description": "Preview-only font-size multiplier for this script's runs, as `replacement.sizeAdjust`: the sum of the real font's shaped advances over the sum of this face's, on the script corpus, regular style. Absent means 1.",
314
+ "type": "number",
315
+ "minimum": 0.25,
316
+ "maximum": 2
317
+ },
318
+ "sizeAdjustBasis": {
319
+ "description": "How `sizeAdjust` was measured: the corpus, the reference font version, the advance ratio it is rounded from, the bold ratio and the letter heights at the multiplier, and why this face. Required with `sizeAdjust`.",
320
+ "type": "string",
321
+ "minLength": 1
322
+ }
323
+ }
324
+ },
281
325
  "entry": {
282
326
  "type": "object",
283
327
  "additionalProperties": false,
@@ -22,12 +22,12 @@
22
22
  "$schema": {
23
23
  "type": "string",
24
24
  "const": "https://openpresentation.org/schema/opf-color-scheme/v1",
25
- "description": "Identifies a published record file as a colour scheme record. Required in a published file; an embedded copy omits it."
25
+ "description": "Identifies a published record file as a color scheme record. Required in a published file; an embedded copy omits it."
26
26
  },
27
27
  "id": {
28
28
  "type": "string",
29
29
  "pattern": "^[a-z][a-z0-9-]*$",
30
- "description": "The colour scheme's id in its catalog, lowercase kebab-case. Required in a published record file; a document references the record by it (a bare id, or 'name:id' for a named group) and embeds it keyed by it, without this field.",
30
+ "description": "The color scheme's id in its catalog, lowercase kebab-case. Required in a published record file; a document references the record by it (a bare id, or 'name:id' for a named group) and embeds it keyed by it, without this field.",
31
31
  "examples": [
32
32
  "cool-horizon",
33
33
  "boost",
@@ -107,7 +107,8 @@
107
107
  "title": { "type": "string", "minLength": 1, "description": "What applying the fix does, in a few words." },
108
108
  "id": { "type": "string", "description": "Stable id within one finding, such as `focus-alt` or `use-readable-color`." },
109
109
  "kind": { "type": "string", "enum": ["patch", "focus"], "default": "patch", "description": "`patch` fixes carry `patch`; `focus` fixes carry `focus`." },
110
- "safe": { "type": "boolean", "description": "True when applying the fix cannot change what the content says or how it looks beyond the repair, such as switching a failing colour to the one the theme chose. False fixes need a deliberate choice." },
110
+ "safe": { "type": "boolean", "description": "True when the fix is the one repair the finding needs and can be applied without a person: it loses no content, what it writes is valid, and it changes nothing beyond the repair except what `changesDrawing` says, such as a removed key's mechanical replacement. False fixes need a deliberate choice, such as a new text color. Only a `patch` fix is applied; a `focus` fix names a field to write whatever `safe` says." },
111
+ "changesDrawing": { "type": "boolean", "description": "True when applying this patch can change how a slide draws: the repair does not keep the drawing of the release that wrote the deck, such as a removed layout's replacement whose title column is narrower. Absent or false when the fixed deck draws as before. Hosts list such fixes, even safe ones, as changing the drawing." },
111
112
  "patch": {
112
113
  "type": "array",
113
114
  "description": "RFC 6902 JSON Patch operations that apply the fix to the checked presentation.",