@openpresentation/opf 0.36.0 → 0.37.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 (86) hide show
  1. package/dist/browser.js +19 -19
  2. package/dist/{catalog-refs-BgotJhR5.d.ts → catalog-refs-BeRgtpZS.d.ts} +4 -4
  3. package/dist/{catalog-schemas-BX-VEc5Q.d.ts → catalog-schemas-CwY-3cCP.d.ts} +1 -1
  4. package/dist/{chunk-OFL3WY6F.js → chunk-3A3PNYNP.js} +77 -15
  5. package/dist/{chunk-TJMESSBQ.js → chunk-44IS6ZU2.js} +109 -9
  6. package/dist/{chunk-J7FUSZZ5.js → chunk-4FA4ZABY.js} +6 -6
  7. package/dist/{chunk-F5SY7MSA.js → chunk-56BYOGIF.js} +1 -1
  8. package/dist/{chunk-MS2LPR7F.js → chunk-6WN6PRCI.js} +1 -1
  9. package/dist/{chunk-7JE3XTL7.js → chunk-BHRCWV6B.js} +4 -4
  10. package/dist/{chunk-4FA4AZXY.js → chunk-C5ACMFKB.js} +1392 -808
  11. package/dist/{chunk-2NIID3QD.js → chunk-CYGQY6HH.js} +6 -6
  12. package/dist/{chunk-SER6GJTT.js → chunk-EOMENOKY.js} +23 -6
  13. package/dist/{chunk-O65COLKF.js → chunk-HS2JQ3AO.js} +118 -19
  14. package/dist/chunk-IW4TXMJY.js +646 -0
  15. package/dist/{chunk-6WVPFWPD.js → chunk-JTNCBTEH.js} +4 -4
  16. package/dist/{chunk-3KPTVK77.js → chunk-KANQVJGK.js} +1244 -119
  17. package/dist/{chunk-VDZXNNZF.js → chunk-M4IPCFDV.js} +1 -1
  18. package/dist/{chunk-XRMYP4JD.js → chunk-ORVMHVOS.js} +86 -2
  19. package/dist/{chunk-HHQROUYC.js → chunk-QFT4R2IL.js} +4405 -2808
  20. package/dist/chunk-QQBOI5XI.js +86 -0
  21. package/dist/{chunk-GNKOQ6NA.js → chunk-TIVBO56G.js} +4 -4
  22. package/dist/{chunk-APCNAAA7.js → chunk-VD7WLE3C.js} +2 -2
  23. package/dist/{chunk-AZELWKG2.js → chunk-XJU2X5JM.js} +5 -4
  24. package/dist/chunk-YESKKKVE.js +1 -0
  25. package/dist/{chunk-BPSZ7OWD.js → chunk-YZ4WMB5C.js} +26 -21
  26. package/dist/{composition-CSM7YfBl.d.ts → composition-DiKC371V.d.ts} +707 -134
  27. package/dist/composition.d.ts +3 -3
  28. package/dist/composition.js +1 -1
  29. package/dist/{conversion-CL7ipVGO.d.ts → conversion-DF_HgknQ.d.ts} +6 -6
  30. package/dist/conversion-XIWN7FMW.js +25 -0
  31. package/dist/convert.d.ts +5 -5
  32. package/dist/convert.js +63 -23
  33. package/dist/data.d.ts +41 -3
  34. package/dist/data.js +2 -2
  35. package/dist/{deck-report-DhsB0SUz.d.ts → deck-report-BwgsIRAf.d.ts} +3 -3
  36. package/dist/deck.d.ts +6 -6
  37. package/dist/deck.js +11 -11
  38. package/dist/diff.js +4 -4
  39. package/dist/docs.js +43 -31
  40. package/dist/examples.js +2338 -392
  41. package/dist/font-policy.js +1 -1
  42. package/dist/format.js +2 -2
  43. package/dist/ids.d.ts +17 -4
  44. package/dist/ids.js +4 -4
  45. package/dist/index.d.ts +140 -23
  46. package/dist/index.js +22 -22
  47. package/dist/markdown.d.ts +2 -2
  48. package/dist/markdown.js +8 -8
  49. package/dist/metric-data-B4Q8RFRR.d.ts +382 -0
  50. package/dist/node-engine.d.ts +6 -6
  51. package/dist/node-engine.js +21 -21
  52. package/dist/{pagination-BSqq32xt.d.ts → pagination-C9qnH_n-.d.ts} +5 -5
  53. package/dist/pagination.d.ts +4 -4
  54. package/dist/pagination.js +4 -4
  55. package/dist/patch.js +3 -3
  56. package/dist/precompiled.js +2 -2
  57. package/dist/{presentation-Dx-kZC8Y.d.ts → presentation-DmOhusrX.d.ts} +541 -110
  58. package/dist/schema-engine-ajv.js +1 -1
  59. package/dist/schema-engine-precompiled.js +2 -2
  60. package/dist/schema.d.ts +2 -2
  61. package/dist/schema.js +3 -3
  62. package/dist/schemas.d.ts +46 -2
  63. package/dist/schemas.js +1 -1
  64. package/dist/shape-engine-eager.js +2 -2
  65. package/dist/shape-engine-lazy.js +1 -1
  66. package/dist/{shape-engine-module-N74FCHGY.js → shape-engine-module-YU2XGIQN.js} +2 -2
  67. package/dist/shape-geometry.js +1 -1
  68. package/dist/source.js +10 -10
  69. package/dist/spec/reference/engine-defaults.json +1 -1
  70. package/dist/spec/reference/engine-vocabularies.json +1 -0
  71. package/dist/spec/schemas/font-scheme.schema.json +5 -6
  72. package/dist/spec/schemas/layout.schema.json +5 -4
  73. package/dist/spec/schemas/narrative.schema.json +1 -0
  74. package/dist/spec/schemas/opf.schema.json +661 -98
  75. package/dist/types.d.ts +11 -12
  76. package/dist/{validation-types-bnrso0JL.d.ts → validation-types-CV-ngACL.d.ts} +49 -6
  77. package/dist/validator.d.ts +5 -5
  78. package/dist/validator.js +3 -3
  79. package/dist/yaml.d.ts +2 -2
  80. package/dist/yaml.js +7 -7
  81. package/package.json +5 -5
  82. package/dist/chart-data-B_k-WTex.d.ts +0 -194
  83. package/dist/chunk-6VGLE7C5.js +0 -3983
  84. package/dist/chunk-SEC4IOOS.js +0 -1
  85. package/dist/chunk-WCPDN7AY.js +0 -642
  86. package/dist/conversion-FTGQLJK7.js +0 -25
@@ -0,0 +1,86 @@
1
+ // src/generated/font-policy.ts
2
+ var fontPolicySource = /* @__PURE__ */ (() => {
3
+ const s0 = "Intos", s1 = "metric", s2 = "Red Hat Display", s3 = "visual", s4 = "Caladea", s5 = "proprietary-standard", s6 = "proprietary (Unity Progress/Monotype/Microsoft, licensed to Microsoft)", s7 = "windows-optional", s8 = "office-cloud", s9 = "Noto Sans Thai", s10 = "https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list", s11 = "https://learn.microsoft.com/en-us/typography/fonts/windows_10_font_list", s12 = "https://support.microsoft.com/en-us/office/cloud-fonts-in-office-f7b009fe-037f-45ed-a556-b5fe6ede6adb", s13 = "https://support.apple.com/en-us/122869", s14 = "Anton", s15 = "open", s16 = "OFL-1.1", s17 = "Noto Sans Devanagari", s18 = "Script replacement; widths not measured. Windows: Devanagari Supplemental Fonts FOD.", s19 = "proprietary (Microsoft)", s20 = "https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736", s21 = "Roboto", s22 = "Carlito", s23 = "https://learn.microsoft.com/en-us/typography/font-list/aptos", s24 = "https://microsoft.design/articles/a-change-of-typeface-microsoft-s-new-default-font-has-arrived/", s25 = "Intos Display", s26 = "Cousine", s27 = "Roboto Mono", s28 = "Intos Narrow", s29 = "Intos Serif", s30 = "Tinos", s31 = "Noto Naskh Arabic", s32 = "Script replacement; the width measurement covers Latin text only. Windows: Arabic Script Supplemental Fonts FOD.", s33 = "Archivo Narrow", s34 = "proprietary (Monotype, licensed to Microsoft)", s35 = "windows", s36 = "macos", s37 = "Arimo", s38 = "https://github.com/google/fonts/blob/main/ofl/arimo/METADATA.pb", s39 = "Liberation Sans", s40 = "Montserrat", s41 = "Barlow", s42 = "Libre Caslon Text", s43 = "Not in Windows lists or on the macOS list.", s44 = "proprietary (HanYang I&C, licensed to Microsoft)", s45 = "Noto Sans KR", s46 = "https://learn.microsoft.com/en-us/typography/font-list/batang", s47 = "Serif design previewed with a sans. Reference not available to the measuring host; widths not measured. Windows: Korean Supplemental Fonts FOD (in Batang.ttc).", s48 = "Bitter", s49 = "Playfair Display", s50 = "PT Serif", s51 = 'Not in Windows lists. macOS Tahoe lists it only as a document-support font, so "macos" omitted.', s52 = "Gelasio", s53 = "https://github.com/googlefonts/carlito", s54 = "https://learn.microsoft.com/en-us/typography/font-list/calibri", s55 = "office", s56 = "STIX Two Math", s57 = "https://github.com/stipub/stixfonts", s58 = "Noto Sans Math", s59 = "Source Sans 3", s60 = '"office" is from the MS Learn product table (Office 2007, Office Mac 2008).', s61 = "Work Sans", s62 = "https://github.com/google/fonts/blob/main/ofl/cousine/METADATA.pb", s63 = "Liberation Mono", s64 = "Noto Sans Khmer", s65 = "Script replacement; widths not measured. Windows: Khmer Supplemental Fonts FOD.", s66 = "proprietary (Kivun Computers/Monotype, licensed to Microsoft)", s67 = "Noto Serif Hebrew", s68 = "Noto Sans Hebrew", s69 = "Script replacement; widths not measured. Windows: Hebrew Supplemental Fonts FOD.", s70 = "EB Garamond", s71 = "Noto Sans", s72 = "Noto Sans Ethiopic", s73 = "proprietary (Beijing ZhongYi Electronics, licensed to Microsoft)", s74 = "Noto Sans SC", s75 = "Figtree", s76 = "proprietary (ITC design, licensed to Microsoft)", s77 = "https://learn.microsoft.com/en-us/typography/font-list/franklin-gothic", s78 = "Noto Sans Telugu", s79 = "https://github.com/SorkinType/Gelasio", s80 = "https://learn.microsoft.com/en-us/typography/font-list/gungsuh", s81 = "https://github.com/muglug/intos/blob/fef9315c14da9e4b23b4c3cac8e718998d4e4736/LICENSE.txt", s82 = "Noto Sans Oriya", s83 = "Noto Sans Malayalam", s84 = "Noto Sans Tamil", s85 = "https://github.com/liberationfonts/liberation-fonts/blob/2.1.5/README.md", s86 = "https://github.com/liberationfonts/liberation-fonts", s87 = "Liberation Serif", s88 = "proprietary (Bigelow & Holmes, licensed to Microsoft)", s89 = "Script replacement; the width measurement covers Latin text only.", s90 = "Noto Sans JP", s91 = "Noto Sans TC", s92 = "proprietary (DynaComware, licensed to Microsoft)", s93 = "https://learn.microsoft.com/en-us/typography/font-list/mingliu", s94 = "proprietary (Ricoh/Ryobi Imagix, licensed to Microsoft)", s95 = "Noto Sans Bengali", s96 = "Noto Sans Gujarati", s97 = "Noto Sans Gurmukhi", s98 = "Noto Sans Kannada", s99 = "Noto Color Emoji", s100 = "https://github.com/googlefonts/noto-emoji", s101 = "Noto Emoji", s102 = "On the macOS Tahoe installed/downloadable list.", s103 = "Shipped in the opf-render script pack (FF-19) and qualified against the script corpus (FF-44, docs/programs/font-fidelity-everywhere/script-corpora.md); it had no policy row until RR-17.", s104 = "Noto Sans Armenian", s105 = 'macOS Tahoe lists it only as a document-support font, so "macos" omitted.', s106 = "Noto Sans Georgian", s107 = "Open Sans", s108 = "Red Hat Text", s109 = "segoe-ui-preview", s110 = "https://learn.microsoft.com/en-us/typography/font-list/segoe-ui", s111 = "Script replacement; widths not measured. Windows: Bangla Script Supplemental Fonts FOD.", s112 = "https://github.com/google/fonts/blob/main/ofl/sourcesans3/METADATA.pb", s113 = "https://github.com/google/fonts/blob/main/ofl/tinos/METADATA.pb";
4
+ const o0 = (p0, p1, p2) => ({ "replacement": p0, "compatibility": p1, "note": p2 }), o1 = (p0, p1, p2, p3, p4, p5) => ({ "replacement": p0, "meanAbsWidthDelta": p1, "meanWidthDelta": p2, "maxAbsWidthDelta": p3, "styles": p4, "reference": p5 }), o2 = (p0, p1, p2, p3, p4, p5, p6, p7) => ({ "family": p0, "compatibility": p1, "sizeAdjust": p2, "lineAscent": p3, "lineAscentMixed": p4, "lineAscentBasis": p5, "sizeAdjustBasis": p6, "measured": p7 }), o3 = (p0, p1, p2, p3, p4, p5, p6, p7) => ({ "family": p0, "licenseClass": p1, "license": p2, "availability": p3, "embeddableByOpf": p4, "replacement": p5, "sources": p6, "note": p7 }), o4 = (p0, p1, p2, p3, p4, p5, p6) => ({ "family": p0, "licenseClass": p1, "license": p2, "availability": p3, "embeddableByOpf": p4, "replacement": p5, "sources": p6 }), o5 = (p0, p1, p2) => ({ "family": p0, "compatibility": p1, "measured": p2 }), o6 = (p0, p1, p2, p3, p4, p5, p6, p7, p8) => ({ "family": p0, "licenseClass": p1, "license": p2, "availability": p3, "embeddableByOpf": p4, "replacement": p5, "alternates": p6, "sources": p7, "note": p8 }), o7 = (p0, p1, p2, p3) => ({ "family": p0, "compatibility": p1, "source": p2, "measured": p3 }), o8 = (p0, p1, p2, p3) => ({ "family": p0, "compatibility": p1, "sizeAdjust": p2, "sizeAdjustBasis": p3 }), o9 = (p0, p1, p2, p3, p4) => ({ "family": p0, "compatibility": p1, "measured": p2, "scripts": p3, "source": p4 }), o10 = (p0, p1, p2, p3, p4, p5, p6, p7) => ({ "family": p0, "licenseClass": p1, "license": p2, "availability": p3, "embeddableByOpf": p4, "replacement": p5, "alternates": p6, "sources": p7 }), o11 = (p0, p1, p2, p3) => ({ "family": p0, "compatibility": p1, "measured": p2, "source": p3 }), o12 = (p0, p1, p2) => ({ "decision": p0, "weight": p1, "measured": p2 });
5
+ return { "$schema": "./font-policy.schema.json", "provisionalDecisions": { "status": "provisional, owner may revise", "note": "Owner decisions resolved provisionally with the recommended defaults. Changing a decision here is the whole edit: every row whose replacement names this decision takes its family and compatibility from it. A recorded measurement for a different family is ignored (treated as unmeasured) until the measurement is repeated.", "decisions": { "aptos-preview": o0(s0, s1, "Owner policy 2026-09-29: a licensed font the user selects previews with an open replacement that looks similar and has the same size on screen; the PPTX keeps the selected name. Aptos previews with Intos (metric, OFL-1.1, vendored in opf-render); Roboto and Carlito are alternates for registries built without the Intos faces (they are in the opf-render office pack)."), "segoe-ui-preview": o0(s2, s3, "Segoe UI previews with Red Hat Display (catalog pack) and falls back to a bundled face."), "cambria-tier": { "replacement": s4, "compatibility": s3, "metricModeFallback": true, "note": "Cambria -> Caladea is visual: advances differ from Cambria 6.99 by a mean of 2.7%. metricModeFallback keeps metric-mode registries previewing Cambria with Caladea (reported as visual), as they did before FF-31." } } }, "description": "OPF font policy (font-fidelity-everywhere FF-31). One row per font family that OPF catalogs, defaults or renderer rules name. Renderers preview a proprietary family with its openly licensed replacement for measurement and drawing only. Exporters always write the chosen family, never write a replacement, and never embed a proprietary family. Open families may be bundled for rendering and reach a PPTX only through an explicit embed path. See docs/font-fidelity.md.", "version": 1, "measurement": { "tool": "fontkit 2.0.4 shaping with default features (kerning, ligatures), as opf-render measures text; a replacement that lists disabledFeatures (Georgia -> Gelasio) is shaped with those features off", "corpus": "300 Latin title/body strings sampled from the 126 bundled example decks", "evidence": "docs/evidence/font-replacements-20260923/README.md", "definition": "For each style both fonts have (regular, bold, italic, bold italic, or the weight the family name encodes), the shaped advance width of every corpus string in the replacement is divided by the width in the real font. meanAbsWidthDelta averages |ratio - 1| over strings and styles; meanWidthDelta averages the signed value; maxAbsWidthDelta is the largest single-string |ratio - 1|. Reference fonts were read in place from a licensed Windows 11 + Microsoft 365 host and never copied." }, "families": [o3("Angsana New", s5, s6, [s7, s8], false, o2(s9, s3, 0.75, 0.83, 0.86, "opf#361 native probe, PowerPoint 365 16.0 build 20430 (RR-38 setup, 2880 px; bottom edge of the last row with 35 percent of the darkest row's ink): 0.833 / 0.833 / 0.833 em at 18 / 24 / 32 pt, with a Latin run 0.856 / 0.866 / 0.862 (replaces the 0.85 read from 1280 px PNGs). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", "opf#361 rule: the smallest factor (0.01 steps, up) at which no line of the FF-44 script corpus or of the scheme's Latin overhangs over 3 percent natively, regular and bold (Angsana New 5.06 advances over Noto Sans Thai's, fontkit, read in place). Exact 0.7401; worst line thai-digits +1.6 percent; Latin slack 42.9 percent (Latin is drawn by the replacement at the composed size). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", o1(s9, 0.7476, 0.7476, 0.8473, 2, "Angsana New 5.06")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/angsana-new", s13], "Angsana New is a looped Thai design; Noto Sans Thai is loopless. Width measurement covers Latin text only. Windows: Thai Supplemental Fonts FOD."), o4(s14, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/anton/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/anton"]), o3("Aparajita", s5, "proprietary (Modular Infotech, licensed to Microsoft)", [s7, s8], false, o5(s17, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/aparajita", s13], s18), o6("Aptos", s5, s19, [s8], false, { "decision": "aptos-preview", "source": s20, "measured": o1(s0, 0, 0, 0, 4, "Aptos 2.01;O365") }, [s21, s22], [s10, s12, s23, s13, s24, "https://www.microsoft.com/en-us/download/details.aspx?id=106087"], "Microsoft 365 cloud font; not redistributable. Intos is metric-compatible (OFL, Inter-derived outlines with Aptos advances, kerning and vertical metrics) and previews it in the default opf-render office pack; Roboto and Carlito are the visual fallbacks for registries built without the Intos faces. Not in the Windows 10/11 font lists; delivered as a Microsoft 365 cloud font. Microsoft also offers a standalone download (Download Center id=106087) under Microsoft terms, not an open license."), o6("Aptos Display", s5, s19, [s8], false, o7(s25, s1, s20, o1(s25, 0, 0, 0, 4, "Aptos Display 2.01;O365")), [s22, s21], [s10, s12, s23, s13, s24], "Part of the Aptos family; cloud font list has Aptos Display (+Bold/Italic/Bold Italic). Intos Display is its metric-compatible preview replacement."), o6("Aptos Mono", s5, s19, [s8], false, o5(s26, s3, o1(s26, 0, 0, 0, 4, "Aptos Mono 2.01;O365")), [s27], [s10, s12, s23, s13, s24], "RR-17 (FF-42): measured against Aptos Mono 2.01 (Microsoft's standalone Aptos Fonts download, read in place). Aptos Mono is a 1229/2048 em cell, the Courier New cell, so Cousine matches every corpus string in all four styles at 0.0000% and wraps identically; the tier stays visual because the vertical metrics differ (Cousine hhea ascent 0.833 em against 0.939, x-height 0.528 em against 0.476, cap-height 0.659 against 0.657) and Cousine's outlines are not Aptos Mono's. Part of the Aptos family; cloud font list has Aptos Mono (+Bold/Italic/Bold Italic)."), o6("Aptos Narrow", s5, s19, [s8], false, o7(s28, s1, s20, o1(s28, 0, 0, 0, 4, "Aptos Narrow 2.01;O365")), [s22], [s10, s12, s23, s13, s24], "Part of the Aptos family; cloud font list has Aptos Narrow (+Bold/Italic/Bold Italic). Intos Narrow is its metric-compatible preview replacement."), o6("Aptos Serif", s5, s19, [s8], false, o7(s29, s1, s20, o1(s29, 0, 0, 0, 4, "Aptos Serif 2.01;240513210638;O365")), [s30], [s10, s12, s23, s13], "Part of the Aptos family; cloud list has Aptos Serif, Bold, Italic and Bold Italic. Intos Serif (Gelasio-derived outlines, Aptos Serif metrics) is its metric-compatible preview replacement. Not installed on the measuring host: measured from the files in Microsoft's Aptos Fonts download (Download Center id=106087)."), o3("Arabic Typesetting", s5, s19, [s7, s8], false, o2(s31, s3, 0.64, 0.74, 0.8, "opf#361 native probe, PowerPoint 365 16.0 build 20430 (RR-38 setup, 2880 px; bottom edge of the last row with 35 percent of the darkest row's ink): 0.741 / 0.736 / 0.740 em at 18 / 24 / 32 pt, with a Latin run 0.801 / 0.810 / 0.800. Corrects RR-38's 0.70 / 0.78 (an earlier estimator; RR-38's own 2560 px PNGs re-read 0.743 / 0.745 / 0.746 and 0.79 to 0.80 with this rule). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", "RR-38: sum of Arabic Typesetting 6.85 advances over sum of Noto Naskh Arabic 400 advances (fontkit, each sample's OpenType language). 0.643 on the 12 Arabic-script corpus samples of opf-render test/fixtures/script-corpora.json (per-sample range 0.57 to 0.86); 0.598 on 29 Arabic strings of the RR-05b native deck (running Arabic text); 0.614 pooled; Noto Naskh Arabic 700 gives 0.62, 0.58 and 0.59, so bold runs draw about 3 percent long. Ink height of alef, lam, meem and heh is 0.71 of Noto Naskh Arabic's. 0.64 balances the two: lines come out about 4 percent longer than PowerPoint's and glyphs about 10 percent smaller. Native check (RR-38 probe): PowerPoint's BoundWidth of the 45-character probe line is 216.9, 289.0 and 386.1 pt at 18, 24 and 32 pt, 1.8 to 2.0 percent above the fontkit advance of the installed font (213.0, 284.0, 378.7).", o1(s31, 0.6632, 0.6632, 0.7426, 1, "Arabic Typesetting 6.85")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/arabic-typesetting", s13], s32), o4(s33, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/archivonarrow/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/archivo-narrow"]), o10("Arial", s5, s34, [s35, s36, s8], false, o9(s37, s1, o1(s37, 0, 0, 0, 4, "Arial 7.06"), { "Arab": o8(s31, s3, 0.96, "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).") }, s38), [s39], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/arial", s13]), o10("Arial Black", s5, s34, [s35, s36, s8], false, { "family": s40, "compatibility": s3, "weight": 900, "measured": o1(s40, 75e-4, -29e-4, 0.0281, 1, "Arial Black 5.23") }, [s37], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/arial-black", s13]), o6("Arial Narrow", s5, s34, [s36, s8], false, o5(s33, s3, o1(s33, 38e-4, 35e-4, 0.0431, 4, "Arial Narrow 2.40")), [s22], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/arial-narrow", s13], "Liberation Sans Narrow is metric-compatible but only in older GPL releases, so OPF does not ship it. Not in Windows 10/11 lists. On the macOS Tahoe installed/downloadable list."), o3(s37, s15, s16, [], true, null, [s38, "https://www.npmjs.com/package/@expo-google-fonts/arimo"], "Metric-compatible with Arial."), o4(s41, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/barlow/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/barlow"]), o6("Baskerville Old Face", s5, "proprietary (Stephenson Blake/URW/Microsoft)", [s8], false, o5(s42, s3, o1(s42, 0.1923, 0.1923, 0.2371, 1, "Baskerville Old Face 1.51")), [s30], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/baskerville-old-face", s13], s43), o3("Batang", s5, s44, [s7, s8], false, o5(s45, s3, null), [s10, s11, s12, s46, s13], "Batang is a serif (Myeongjo) design previewed with a sans. Reference not available to the measuring host; widths not measured. Windows: Korean Supplemental Fonts FOD."), o3("BatangChe", s5, s44, [s7, s8], false, o5(s45, s3, null), [s10, s11, s12, s46, s13], s47), o3("Bebas Neue", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/bebasneue/METADATA.pb", s13], 'macOS Tahoe lists "Bebas Neue" only as a document-support font, so "macos" omitted.'), o4(s48, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/bitter/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/bitter"]), o6("Bodoni MT", s5, s34, [s8], false, o5(s49, s3, o1(s49, 0.0687, 0.0556, 0.1987, 4, "Bodoni MT 2.10")), [s4], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/bodoni-mt", s13], s43), o6("Book Antiqua", s5, s34, [s8], false, o5(s50, s3, o1(s50, 0.024, 0.0193, 0.0778, 4, "Book Antiqua 2.35")), [s4], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/book-antiqua", s13], s51), o6("Bookman Old Style", s5, s34, [s8], false, o5(s42, s3, o1(s42, 0.0411, -0.0381, 0.1396, 4, "Bookman Old Style 2.35/2.36")), [s52], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/bookman-old-style", s13], 'TeX Gyre Bonum and URW Bookman are documented metric clones but are not OFL/Apache packages. Not in Windows lists. On macOS Tahoe it is only a "document-support" font (usable by documents/apps that request it by name, not in the installed/downloadable list), so "macos" is omitted.'), o3(s4, s15, s16, [], true, null, ["https://github.com/huertatipografica/Caladea", "https://www.npmjs.com/package/@expo-google-fonts/caladea"], "Designed as a Cambria replacement; OPF measures it as visual against Cambria 6.99."), o4("Calibri", s5, s19, [s35, s8], false, o11(s22, s1, o1(s22, 0, 0, 26e-4, 4, "Calibri 6.27"), s53), [s10, s11, s12, s54, s13]), o3("Calibri Light", s5, s19, [s35, s8], false, o5(s22, s3, o1(s22, 0.0144, 0.0144, 0.0225, 2, "Calibri Light 6.27")), [s10, s11, s12, s54, s13], "Carlito has no Light face; the regular face previews it. Style of the Calibri family (Calibril.ttf) in the Windows default set."), o3("Cambria", s5, s19, [s35, s55, s8], false, { "decision": "cambria-tier", "measured": o1(s4, 0.0269, -0.0269, 0.0647, 4, "Cambria 6.99/6.98"), "source": "https://chromium.googlesource.com/external/fontconfig/+/refs/heads/main/conf.d/30-metric-aliases.conf" }, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/cambria", s13], 'Fontconfig lists Caladea as a metric alias, but its advances differ from Cambria 6.99 (Windows 11), so OPF classes it as visual. "office" is from the MS Learn product table (Office 2007, Office Mac 2008); no current per-version Office install list was found.'), o6("Cambria Math", s5, s19, [s35, s8], false, o11(s56, s3, null, s57), [s58, s4], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/cambria-math", s13], 'FF-45: previews with STIX Two Math (OFL-1.1, Reserved Font Name "TM Math", which its family and file names do not carry; serif math face with a MATH table), loaded as the opf-render math pack (@expo-google-fonts/stix-two-math, optional peer). Visual: on a 32-string math corpus (Latin, digits, Greek, operators, arrows, math alphanumerics) fontkit advances differ from Cambria Math 6.99 by a mean of 5.0% (Latin 0.9%, digits 10.0%, Greek 7.8%, operators 4.8%); Noto Sans Math 8.3%; Caladea covers only the Latin half of the corpus. Not measured on the policy corpus (measured: null). OPF has no equation model and the renderer draws text runs only (no MATH-table layout); native OMML equations are not represented. The former math-font-required renderer failure is replaced by this route; without the pack the renderer reports font-unavailable naming it. In Cambria.ttc in the Windows default set.'), o6("Candara", s5, s19, [s35, s55, s8], false, o5(s59, s3, o1(s59, 0.0195, 64e-4, 0.0523, 4, "Candara 5.64")), [s22], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/candara", s13], s60), o3(s22, s15, s16, [], true, null, [s53, "https://www.npmjs.com/package/@expo-google-fonts/carlito"], "Metric-compatible with Calibri (upstream intent)."), o6("Century Gothic", s5, s34, [s8], false, o5(s61, s3, o1(s61, 0.0255, 0.0188, 0.1549, 4, "Century Gothic 2.35")), [s37], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/century-gothic", s13], s51), o3("Century Schoolbook", s5, s34, [s8], false, o5(s52, s3, o1(s52, 0.0266, -0.0175, 0.0753, 4, "Century Schoolbook 2.35")), [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/century-schoolbook", s13], 'TeX Gyre Schola and URW C059 are documented metric clones but are not OFL/Apache packages. MS Learn: "Exclusively included with Microsoft products and services". On macOS Tahoe only a document-support font, so "macos" omitted.'), o6("Consolas", s5, s19, [s35, s55, s8], false, o5(s26, s3, o1(s26, 0.0915, 0.0915, 0.0915, 4, "Consolas 7.01")), [s27], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/consolas", s13], 'Consolas advances are 0.55em; open monospace faces use 0.5em or 0.6em, so every candidate differs by 8-9%. Roboto Mono measures slightly closer (7.95% vs 9.15%) but the bundled Roboto Mono has no italics, so Cousine, which keeps all four styles, is the replacement. DMCA Sans Serif claims Consolas metrics but has no pinned package. "office" is from the MS Learn product table (Office 2007, Office Mac 2008).'), o6("Constantia", s5, s19, [s35, s55, s8], false, o5(s50, s3, o1(s50, 0.0229, 36e-4, 0.0577, 4, "Constantia 5.93")), [s4], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/constantia", s13], s60), o6("Corbel", s5, s19, [s35, s55, s8], false, o5(s59, s3, o1(s59, 0.0158, 0.0152, 0.0521, 4, "Corbel 6.01")), [s22], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/corbel", s13], s60), o10("Courier New", s5, s34, [s35, s36, s8], false, o11(s26, s1, o1(s26, 0, 0, 0, 4, "Courier New 6.95"), s62), [s63], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/courier-new", s13]), o3(s26, s15, s16, [], true, null, [s62, "https://www.npmjs.com/package/@expo-google-fonts/cousine"], "Metric-compatible with Courier New."), o3("DaunPenh", s5, "proprietary (OM Mony/Microsoft)", [s7, s8], false, o5(s64, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/daunpenh", s13], s65), o6("David", s5, s66, [s7, s8], false, o5(s67, s3, null), [s68], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/david", s13], s69), o6("Didot", s5, "proprietary (bundled with macOS; vendor not stated on the Apple page)", [s36], false, o5(s49, s3, null), [s30], [s10, s12, s13], 'macOS font; reference not measured. Apple-only: on the macOS Tahoe installed/downloadable list (Regular/Bold/Italic). Not in Windows lists or the Office cloud list. Any Windows/Office "Didot" is unrelated.'), o3("DilleniaUPC", s5, s6, [s7, s8], false, o2(s9, s3, 0.68, 0.82, 0.85, "opf#361 native probe, PowerPoint 365 16.0 build 20430 (RR-38 setup, 2880 px; bottom edge of the last row with 35 percent of the darkest row's ink): 0.815 / 0.819 / 0.813 em at 18 / 24 / 32 pt, with a Latin run 0.856 / 0.852 / 0.841. Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", "opf#361 rule: the smallest factor (0.01 steps, up) at which no line of the FF-44 script corpus or of the scheme's Latin overhangs over 3 percent natively, regular and bold (DilleniaUPC 5.05 advances over Noto Sans Thai's, fontkit, read in place). Exact 0.6704; worst line thai-digits +1.6 percent; Latin slack 41.5 percent (Latin is drawn by the replacement at the composed size). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", o1(s9, 0.7077, 0.7077, 0.8544, 2, "DilleniaUPC 5.05")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/dilleniaupc", s13], "Looped Thai design previewed with loopless Noto Sans Thai. Width measurement covers Latin text only. Windows: Thai Supplemental Fonts FOD."), o4(s70, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/ebgaramond/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/eb-garamond"]), o6("Ebrima", s5, s19, [s35, s8], false, { "family": s71, "compatibility": s3, "measured": o1(s71, 0.0618, 0.0618, 0.0934, 2, "Ebrima 5.19"), "scripts": { "Ethi": o8(s72, s3, 1.06, "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).") } }, [s37], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/ebrima", s13], "Noto Sans covers Latin only here, not N'Ko, Tifinagh or Vai."), o3("FangSong", s5, s73, [s7, s8], false, o5(s74, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/fangsong", s13], "FangSong is a calligraphic serif design previewed with a sans. Reference not available to the measuring host; widths not measured. Windows: Chinese (Simplified) Supplemental Fonts FOD."), o4(s75, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/figtree/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/figtree"]), o6("Franklin Gothic Book", s5, s76, [s8], false, o5(s41, s3, o1(s41, 0.0181, 0.0119, 0.0755, 2, "Franklin Gothic Book 2.01")), [s22], [s10, s12, s77, s13], "Not in Windows lists (only Franklin Gothic Medium is default). Cloud list has Book and Book Italic."), o6("Franklin Gothic Medium", s5, s76, [s35, s8], false, o5(s41, s3, o1(s41, 0.0142, -43e-4, 0.0648, 2, "Franklin Gothic Medium 5.02/5.01")), [s21], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/franklin-gothic-medium", s13, s77], "License wording is from the MS Learn franklin-gothic page; the franklin-gothic-medium page has no copyright field."), o6("Garamond", s5, s34, [s8], false, o5(s70, s3, o1(s70, 0.0488, 0.0277, 0.1883, 3, "Garamond 2.40")), [s30], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/garamond", s13], 'Not in Windows lists. On macOS Tahoe only a document-support font, so "macos" omitted.'), o3("Gautami", s5, s19, [s7, s8], false, o5(s78, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/gautami", s13], "Script replacement; widths not measured. Windows: Telugu Supplemental Fonts FOD."), o3(s52, s15, s16, [], true, null, [s79, "https://www.npmjs.com/package/@expo-google-fonts/gelasio"], "Metric-compatible with Georgia."), o3("Georgia", s5, s19, [s35, s36, s8], false, { "family": s52, "compatibility": s1, "disabledFeatures": ["liga", "clig"], "measured": o1(s52, 0, 0, 0, 4, "Georgia 5.59"), "source": s79 }, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/georgia", s13], "Gelasio is designed to Georgia metrics and every basic-Latin advance matches Georgia 5.59. With default features Gelasio applies fi/fl/ffi/ffl ligatures that Georgia does not, which changes runs by up to 1.02%. Renderers therefore turn liga and clig off in Gelasio (disabledFeatures); the measurement below shapes Gelasio that way. Georgia has no liga or clig feature, so its default shaping is unchanged. The metric claim holds only with those features off."), o6("Gill Sans MT", s5, s34, [s8], false, o5(s59, s3, o1(s59, 0.0511, 39e-4, 0.1459, 4, "Gill Sans MT 1.65")), [s22], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/gill-sans-mt", s13], 'Not in Windows lists (the Windows Pan-European FOD has the separate family "Gill Sans Nova"). Not on the macOS list.'), o3("Gisha", s5, s19, [s7, s8], false, o5(s68, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/gisha", s13], s69), o6("Grandview", s5, s19, [s8], false, o5(s41, s3, o1(s41, 0.0467, -0.0467, 0.0976, 4, "Grandview 1.04;O365")), [s21], [s10, s12, s13, s24], "Microsoft 365 cloud font not available to the measuring host; Barlow shares its DIN lineage. One of the five fonts Microsoft commissioned in the 2021 default-font search; no MS Learn font-list page found (404/no product section)."), o6("Grandview Display", s5, s19, [s8], false, o5(s41, s3, o1(s41, 0.0249, -0.0242, 0.0599, 2, "Grandview Display 0.90;O365")), [s21], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Grandview Display 0.90;O365, cached by Office on the measuring host and read in place. Cloud list has Grandview Display and Grandview Display Italic only."), o3("Gungsuh", s5, s44, [s7, s8], false, o5(s45, s3, null), [s10, s11, s12, s80, s13], s47), o3("GungsuhChe", s5, s44, [s7, s8], false, o5(s45, s3, null), [s10, s11, s12, s80, s13], s47), o10("Impact", s5, s34, [s35, s36, s8], false, o5(s14, s3, o1(s14, 0.0192, -0.019, 0.0512, 1, "Impact 5.11")), [s22], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/impact", s13]), o3(s0, s15, s16, [], true, null, [s20, s81], "Metric-compatible with Aptos (Aptos advance widths, kerning and vertical metrics on Inter-derived outlines). Vendored in opf-render at the pinned commit; single-maintainer project created September 2026, so Roboto and Carlito stay as fallbacks."), o3(s25, s15, s16, [], true, null, [s20, s81], "Metric-compatible with Aptos Display (Aptos advance widths, kerning and vertical metrics on Inter-derived outlines). Vendored in opf-render at the pinned commit; single-maintainer project created September 2026, so Roboto and Carlito stay as fallbacks."), o3(s28, s15, s16, [], true, null, [s20, s81], "Metric-compatible with Aptos Narrow (Aptos advance widths, kerning and vertical metrics on Inter-derived outlines). Vendored in opf-render at the pinned commit; single-maintainer project created September 2026, so Roboto and Carlito stay as fallbacks."), o3(s29, s15, s16, [], true, null, [s20, s81], "Metric-compatible with Aptos Serif (Aptos Serif advance widths, kerning and vertical metrics on Gelasio-derived outlines). Vendored in opf-render at the pinned commit; Tinos stays as the visual fallback."), o3("Kalinga", s5, s19, [s7, s8], false, o5(s82, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/kalinga", s13], "Script replacement; widths not measured. Windows: Odia Supplemental Fonts FOD."), o3("Kartika", s5, s19, [s7, s8], false, o5(s83, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/kartika", s13], "Script replacement; widths not measured. Windows: Malayalam Supplemental Fonts FOD."), o3("Khmer UI", s5, s19, [s7, s8], false, o5(s64, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/khmer-ui", s13], s65), o3("Latha", s5, s19, [s7, s8], false, o5(s84, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/latha", s13], "Script replacement; widths not measured. Windows: Tamil Supplemental Fonts FOD."), o3("Leelawadee UI", s5, s19, [s35], false, { "family": s9, "compatibility": s3, "sizeAdjust": 0.96, "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).", "measured": null, "scripts": { "Khmr": o8(s64, s3, 1.19, "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).") } }, [s10, s11, "https://learn.microsoft.com/en-us/typography/font-list/leelawadee-ui"], "The default for Thai and Khmer since 0.35. Thai text previews in Noto Sans Thai, Khmer in Noto Sans Khmer."), o3(s63, s15, s16, [], true, o11(s26, s1, o1(s26, 0, 0, 0, 4, "Liberation Mono 2.1.5"), s85), [s86], "Metric-compatible with Courier New (upstream intent). RR-17: opf-render does not ship the Liberation files (Reserved Font Name Liberation; about 4.4 MB for twelve faces). It previews a Liberation Mono document with Cousine, the Croscore family Liberation 2 is built from: all 300 corpus strings in four styles measure 0.0000% mean and maximum off Liberation Mono 2.1.5, and hhea, glyph boxes and x-height and cap-height match. Evidence: docs/evidence/font-replacements-20260923/latin-qualification-20261001.json."), o3(s39, s15, s16, [], true, o11(s37, s1, o1(s37, 0, 0, 0, 4, "Liberation Sans 2.1.5"), s85), [s86], "Metric-compatible with Arial (upstream intent). RR-17: opf-render does not ship the Liberation files (Reserved Font Name Liberation; about 4.4 MB for twelve faces). It previews a Liberation Sans document with Arimo, the Croscore family Liberation 2 is built from: all 300 corpus strings in four styles measure 0.0000% mean and maximum off Liberation Sans 2.1.5, and hhea, glyph boxes and x-height and cap-height match. Evidence: docs/evidence/font-replacements-20260923/latin-qualification-20261001.json."), o3(s87, s15, s16, [], true, o11(s30, s1, o1(s30, 0, 0, 0, 4, "Liberation Serif 2.1.5"), s85), [s86], "Metric-compatible with Times New Roman (upstream intent). RR-17: opf-render does not ship the Liberation files (Reserved Font Name Liberation; about 4.4 MB for twelve faces). It previews a Liberation Serif document with Tinos, the Croscore family Liberation 2 is built from: all 300 corpus strings in four styles measure 0.0000% mean and maximum off Liberation Serif 2.1.5, and hhea, glyph boxes and x-height and cap-height match. Evidence: docs/evidence/font-replacements-20260923/latin-qualification-20261001.json."), o4(s42, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/librecaslontext/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/libre-caslon-text"]), o4("Lora", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/lora/METADATA.pb", s13]), o3("Lucida Console", s5, s88, [s35], false, o5(s26, s3, o1(s26, 41e-4, -41e-4, 41e-4, 1, "Lucida Console 5.01")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/lucida-console", s13], "Not in the Office cloud font list (the Lucida entries there are Bright, Calligraphy, Fax, Handwriting, Sans, Sans Typewriter and Sans Unicode)."), o6("Lucida Sans", s5, s88, [s8], false, o5(s61, s3, o1(s61, 0.0124, 47e-4, 0.0498, 2, "Lucida Sans 1.67")), [s37], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/lucida-sans", s13], 'Not in Windows lists (Windows ships the different family "Lucida Sans Unicode"); not on the macOS Tahoe list (macOS has Lucida Grande).'), o10("Lucida Sans Unicode", s5, s88, [s35, s8], false, o5(s61, s3, o1(s61, 0.0132, 0.0102, 0.0498, 1, "Lucida Sans Unicode 5.01")), [s37], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/lucida-sans-unicode", s13]), o3("Malgun Gothic", s5, s19, [s35, s8], false, { "family": s45, "compatibility": s3, "sizeAdjust": 1.07, "sizeAdjustBasis": "opf#361 rule: the smallest factor (0.01 steps, up) at which no line of the FF-44 script corpus or of the scheme's Latin overhangs over 3 percent natively, regular and bold (Malgun Gothic 6.69 advances over Noto Sans KR's, fontkit, read in place). Exact 1.0557 on precomposed Hangul; worst line kore-sentence +1.6 percent at 1.07 (Hangul); latn-numerals +2.7 percent (Latin, at any factor); Latin slack 1.6 percent (Latin is drawn by the replacement at the composed size). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010. Decomposed conjoining jamo (U+1100-11FF, U+A960-A97F, U+D7B0-D7FF; sample kore-jamo, 1.0669) is a documented limitation outside the row decision: PowerPoint draws it unshaped. No lineAscent: the native baseline is 1.06 em, below core's 1.0.", "measured": o1(s45, 0.0176, 0.0171, 0.0791, 2, "Malgun Gothic 6.69") }, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/malgun-gothic", s13], s89), o3("Mangal", s5, s19, [s7, s8], false, o5(s17, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/mangal", s13], s18), o3("Meiryo", s5, s19, [s7, s8], false, o5(s90, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/meiryo", s13], "Script replacement; widths not measured. Windows: Japanese Supplemental Fonts FOD."), o4("Merriweather Sans", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/merriweathersans/METADATA.pb", s13]), o3("Microsoft JhengHei", s5, s19, [s35, s8], false, o5(s91, s3, o1(s91, 0.0141, 4e-3, 0.0611, 2, "Microsoft JhengHei 6.15")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/microsoft-jhenghei", s13], s89), o3("Microsoft Sans Serif", s5, s19, [s35, s36, s8], false, o5(s37, s3, o1(s37, 2e-3, 3e-4, 0.0291, 1, "Microsoft Sans Serif 7.04")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/microsoft-sans-serif", s13], "Also on the macOS Tahoe installed/downloadable list."), o3("Microsoft YaHei", s5, "proprietary (Microsoft; portions Beijing Founder)", [s35, s8], false, o5(s74, s3, o1(s74, 0.0314, -0.0314, 0.059, 2, "Microsoft YaHei 6.31")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/microsoft-yahei", s13], s89), o3("MingLiU", s5, s92, [s7, s8], false, o5(s91, s3, null), [s10, s11, s12, s93, s13], "Serif (Ming) design previewed with a sans. Reference not available to the measuring host; widths not measured. Windows: Chinese (Traditional) Supplemental Fonts FOD; only MingLiU-ExtB is in the default set."), o3("Miriam", s5, s66, [s7, s8], false, o5(s68, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/miriam", s13], s69), o4(s40, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/montserrat/METADATA.pb", s13]), o3("MS Gothic", s5, s94, [s35, s8], false, o5(s90, s3, o1(s90, 0.0493, -0.0361, 0.1522, 1, "MS Gothic 5.32")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/ms-gothic", s13], "Script replacement; the width measurement covers Latin text only. Default on Windows (Msgothic.ttc), unlike MS Mincho, which is FOD."), o3("MS Mincho", s5, s94, [s7, s8], false, o5(s90, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/ms-mincho", s13], "MS Mincho is a serif (Mincho) design previewed with a sans. Reference not available to the measuring host; widths not measured. Windows: Japanese Supplemental Fonts FOD."), o3("Nirmala UI", s5, s19, [s35, s8], false, { "family": s17, "compatibility": s3, "sizeAdjust": 1.07, "lineAscent": 0.97, "lineAscentMixed": 0.94, "lineAscentBasis": "opf#361 native probe, PowerPoint 365 16.0 build 20430 (RR-38 setup, 2880 px; bottom edge of the last row with 35 percent of the darkest row's ink): Devanagari stem bottoms 0.981 / 0.972 / 0.969 em at 18 / 24 / 32 pt, with a Latin run 0.930 / 0.935 / 0.935. Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", "sizeAdjustBasis": "opf#361 rule: the smallest factor (0.01 steps, up) at which no line of the FF-44 script corpus or of the scheme's Latin overhangs over 3 percent natively, regular and bold (Nirmala UI 1.46 advances over Noto Sans Devanagari's, fontkit, read in place). Exact 1.0695; worst line deva-matras +2.9 percent; Latin slack 6.0 percent (Latin is drawn by the replacement at the composed size). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", "measured": o1(s17, 0.0638, 0.0638, 0.0939, 2, "Nirmala UI 1.46"), "scripts": { "Beng": o8(s95, s3, 1.08, "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)."), "Gujr": o8(s96, s3, 1.13, "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)."), "Guru": o8(s97, s3, 1.08, "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)."), "Knda": o8(s98, s3, 1.17, "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."), "Mlym": o8(s83, s3, 1.13, "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)."), "Orya": o8(s82, s3, 0.98, "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)."), "Taml": o8(s84, s3, 1.04, "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)."), "Telu": o8(s78, s3, 1.17, "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).") } }, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/nirmala-ui", s13], "Nirmala UI covers every Indic script; Devanagari is previewed. Pick the script Noto family for other scripts. Width measurement covers Latin text only."), o3(s99, s15, s16, [], true, null, [s100, "https://www.npmjs.com/package/@expo-google-fonts/noto-color-emoji"], "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."), o3(s101, s15, s16, [], true, null, [s100, "https://www.npmjs.com/package/@expo-google-fonts/noto-emoji"], "Monochrome emoji. Alternate for Segoe UI Emoji and the face the raster path draws in place of Noto Color Emoji (FF-45)."), o4(s31, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notonaskharabic/METADATA.pb", s13]), o3("Noto Nastaliq Urdu", s15, s16, [s36], true, null, ["https://github.com/google/fonts/blob/main/ofl/notonastaliqurdu/METADATA.pb", s13], s102), o4(s71, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosans/METADATA.pb", s13]), o3("Noto Sans Arabic", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansarabic/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-arabic"], s103), o3(s104, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansarmenian/METADATA.pb", s13], s105), o4(s95, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansbengali/METADATA.pb", s13]), o4(s17, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansdevanagari/METADATA.pb", s13]), o4(s72, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansethiopic/METADATA.pb", s13]), o4(s106, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansgeorgian/METADATA.pb", s13]), o4(s96, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansgujarati/METADATA.pb", s13]), o4(s97, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansgurmukhi/METADATA.pb", s13]), o4(s68, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanshebrew/METADATA.pb", s13]), o4(s90, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansjp/METADATA.pb", s13]), o3(s98, s15, s16, [s36], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanskannada/METADATA.pb", s13], s102), o4(s64, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanskhmer/METADATA.pb", s13]), o4(s45, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanskr/METADATA.pb", s13]), o3("Noto Sans Lao", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanslao/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-lao"], s103), o4(s83, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansmalayalam/METADATA.pb", s13]), o3(s58, s15, s16, [], true, null, ["https://github.com/notofonts/math", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-math"], "Sans math face with a MATH table. Alternate for Cambria Math and the designated math face of sans schemes in glyph fallback (FF-45)."), o3("Noto Sans Mongolian", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansmongolian/METADATA.pb", s13], s105), o3("Noto Sans Myanmar", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansmyanmar/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-myanmar"], s103), o3(s82, s15, s16, [s36], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansoriya/METADATA.pb", s13], s102), o4(s74, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanssc/METADATA.pb", s13]), o3("Noto Sans Sinhala", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanssinhala/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-sinhala"], s103), o3("Noto Sans Syriac", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanssyriac/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-syriac"], s103), o4(s84, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanstamil/METADATA.pb", s13]), o4(s91, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanstc/METADATA.pb", s13]), o4(s78, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosanstelugu/METADATA.pb", s13]), o3("Noto Sans Thaana", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansthaana/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-sans-thaana"], s103), o4(s9, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notosansthai/METADATA.pb", s13]), o4(s67, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notoserifhebrew/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-serif-hebrew"]), o3("Noto Serif Tibetan", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/notoseriftibetan/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/noto-serif-tibetan"], s103), o3("Nyala", s5, s19, [s7, s8], false, o5(s72, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/nyala", s13], "Script replacement; widths not measured. Windows: Ethiopic Supplemental Fonts FOD."), o4(s107, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/opensans/METADATA.pb", s13]), o6("Palatino Linotype", s5, "proprietary (Linotype/Heidelberger, licensed to Microsoft)", [s35, s8], false, o5(s50, s3, o1(s50, 0.0252, 0.0213, 0.0909, 4, "Palatino Linotype 5.03")), [s4], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/palatino-linotype", s13], 'TeX Gyre Pagella and URW P052 are documented clones but are not OFL/Apache packages. Not on the macOS Tahoe list (macOS ships "Palatino", a different family name).'), o4(s49, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/playfairdisplay/METADATA.pb", s13]), o3("PMingLiU", s5, s92, [s7, s8], false, o5(s91, s3, null), [s10, s11, s12, s93, s13], "Serif (Ming) design previewed with a sans. Reference not available to the measuring host; widths not measured. Windows: Chinese (Traditional) Supplemental Fonts FOD (in Mingliu.ttc); only PMingLiU-ExtB is default."), o4("Poppins", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/poppins/METADATA.pb", s13]), o3(s50, s15, s16, [s36], true, null, ["https://github.com/google/fonts/blob/main/ofl/ptserif/METADATA.pb", s13], s102), o3("Raavi", s5, s19, [s7, s8], false, o5(s97, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/raavi", s13], "Script replacement; widths not measured. Windows: Gurmukhi Supplemental Fonts FOD."), o4("Raleway", s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/raleway/METADATA.pb", s13]), o4(s2, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/redhatdisplay/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/red-hat-display"]), o4(s108, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/redhattext/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/red-hat-text"]), o3(s21, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/roboto/METADATA.pb", s13], "Now OFL in google/fonts (ofl/roboto); older releases were Apache-2.0."), o3(s27, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/robotomono/METADATA.pb", s13], "Now OFL in google/fonts (ofl/robotomono); older releases were Apache-2.0."), o6("Rockwell", s5, s34, [s36, s8], false, o5(s48, s3, o1(s48, 0.0255, -0.0149, 0.0845, 4, "Rockwell 1.65")), [s52], [s10, s12, "https://learn.microsoft.com/en-us/typography/font-list/rockwell", s13], 'Not in Windows lists (Windows Pan-European FOD has the separate family "Rockwell Nova"). On the macOS Tahoe installed/downloadable list.'), o3("Sakkal Majalla", s5, "proprietary (Microsoft; portions Sakkal Design)", [s7, s8], false, o2(s31, s3, 0.89, 0.76, 0.81, "opf#361 native probe, PowerPoint 365 16.0 build 20430 (RR-38 setup, 2880 px; bottom edge of the last row with 35 percent of the darkest row's ink): 0.759 / 0.764 / 0.760 em at 18 / 24 / 32 pt, with a Latin run 0.819 / 0.810 / 0.810 (replaces the 0.78 read from 1280 px PNGs). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", "opf#361 rule: the smallest factor (0.01 steps, up) at which no line of the FF-44 script corpus or of the scheme's Latin overhangs over 3 percent natively, regular and bold (Sakkal Majalla 7.00 advances over Noto Naskh Arabic's, fontkit, read in place). Exact 0.8866; worst line arab-fa-digits +2.6 percent; Latin slack 35.1 percent (Latin is drawn by the replacement at the composed size). Evidence: docs/evidence/ff-46-sizeadjust-native-20261010.", o1(s31, 0.5423, 0.5423, 0.6142, 2, "Sakkal Majalla 7.00")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/sakkal-majalla", s13], s32), o6("Seaford", s5, s19, [s8], false, o5(s59, s3, o1(s59, 0.0483, -0.0483, 0.0965, 4, "Seaford 1.04;O365")), [s22], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Seaford 1.04;O365, cached by Office on the measuring host and read in place. One of the five fonts Microsoft commissioned in 2021; no MS Learn font-list page found."), o6("Seaford Display", s5, s19, [s8], false, o5(s59, s3, o1(s59, 0.0389, 0.0388, 0.0667, 2, "Seaford Display 1.04;O365")), [s22], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Seaford Display 1.04;O365, cached by Office on the measuring host and read in place. Cloud list has Seaford Display and Seaford Display Italic."), o6("Segoe UI", s5, s19, [s35, s8], false, { "decision": s109, "measured": o1(s2, 0.0172, -9e-3, 0.0709, 4, "Segoe UI 5.71"), "scripts": { "Hebr": o8(s68, s3, 1.03, "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).") } }, [s107, s37], [s10, s11, s12, s110, s13], "Microsoft's OFL Selawik 1.01 was measured and rejected as a metric replacement: 0.16% mean and 2.5% maximum in regular, no italic faces (2.65% mean), and Semibold is 1.75% off. Red Hat Display remains the closest shipped face with all four styles; see docs/programs/font-fidelity-everywhere/font-licensing.md."), o6("Segoe UI Emoji", s5, s19, [s35, s8], false, o11(s99, s3, null, s100), [s101], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/segoe-ui-emoji", s13], "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)."), o6("Segoe UI Light", s5, s19, [s35, s8], false, o12(s109, 300, null), [s22], [s10, s11, s12, s110, s13], "Style of Segoe UI (Segoeuil.ttf) in the Windows default set."), o6("Segoe UI Semibold", s5, s19, [s35, s8], false, o12(s109, 600, o1(s2, 0.0101, -13e-4, 0.0651, 2, "Segoe UI Semibold 5.71")), [s21], [s10, s11, s12, s110, s13], "Style of Segoe UI (Seguisb.ttf) in the Windows default set."), o6("Segoe UI Semilight", s5, s19, [s35, s8], false, o12(s109, 350, null), [s21], [s10, s11, s12, s110, s13], "Style of Segoe UI (Segoeuisl.ttf) in the Windows default set."), o3("Shonar Bangla", s5, s19, [s7, s8], false, o5(s95, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/shonar-bangla", s13], s111), o3("Shruti", s5, s19, [s7, s8], false, o5(s96, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/shruti", s13], "Script replacement; widths not measured. Windows: Gujarati Supplemental Fonts FOD."), o3("SimHei", s5, s73, [s7, s8], false, o5(s74, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/simhei", s13], "Script replacement; widths not measured. Windows: Chinese (Simplified) Supplemental Fonts FOD."), o3("SimSun", s5, "proprietary (ZhongYi Electronic, licensed to Microsoft)", [s35, s8], false, o5(s74, s3, o1(s74, 0.0493, -0.0361, 0.1522, 1, "SimSun 5.24")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/simsun", s13], "SimSun is a serif (Song) design previewed with a sans; Noto Serif SC is not in a pinned pack. Width measurement covers Latin text only."), o6("Skeena", s5, s19, [s8], false, o5(s107, s3, o1(s107, 0.0926, 0.0926, 0.1593, 4, "Skeena 1.04;O365")), [s22], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Skeena 1.04;O365, cached by Office on the measuring host and read in place. One of the five fonts Microsoft commissioned in 2021; no MS Learn font-list page found."), o6("Skeena Display", s5, s19, [s8], false, o5(s107, s3, o1(s107, 0.1306, 0.1306, 0.2001, 4, "Skeena Display 1.04;O365")), [s22], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Skeena Display 1.04;O365, cached by Office on the measuring host and read in place. Cloud list has Skeena Display (+Bold/Italic/Bold Italic)."), o3(s59, s15, s16, [s8], true, null, [s112, s13, s12], 'The Office cloud list carries the predecessor family under the name "Source Sans Pro" (12 styles), not "Source Sans 3". Google Fonts has only Source Sans 3; @expo-google-fonts/source-sans-pro is deprecated.'), o3("Source Sans Pro", s15, s16, [s8], true, o5(s59, s3, o1(s59, 3e-4, -3e-4, 41e-4, 4, "Source Sans Pro 2.045")), [s112, s12], "Predecessor name of Source Sans 3; the renamed family previews it. RR-17: measured against the upstream Source Sans Pro 2.045 (roman) and 1.095 (italic) release (adobe-fonts/source-sans, OFL-1.1, read for measurement only): regular and bold are within 0.15% of Source Sans 3 on every corpus string, the italics up to 0.41%, so the alias stays visual."), o3(s56, s15, s16, [], true, null, [s57, "https://www.npmjs.com/package/@expo-google-fonts/stix-two-math"], 'Serif math face with a MATH table; Reserved Font Name "TM Math" (not carried by its family or file name). Preview face for Cambria Math (FF-45).'), o6("Sylfaen", s5, s19, [s35, s8], false, o5(s71, s3, o1(s71, 0.1096, 0.1096, 0.1593, 1, "Sylfaen 5.08")), [s106, s104], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/sylfaen", s13], "Sylfaen covers Latin, Georgian and Armenian; Noto Sans previews Latin, and Noto Sans Georgian/Armenian cover those scripts."), o3("Symbol", s5, s34, [s35, s36, s8], false, null, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/symbol", s13], `Symbol-encoded (FF-45): no text replacement; a renderer maps each code 0x20..0xFF through spec/reference/symbol-font-encodings.json (Adobe and Apple Symbol tables, verified against Windows Symbol 5.01: 189 of 224 codes have a Unicode equivalent) and previews the equivalent with the first loaded open face of Noto Sans (Greek letters, digits, punctuation), Noto Sans Math (operators, bracket pieces), Noto Sans Symbols 2 and Noto Sans Symbols, at the verified font's advance; the PPTX keeps the family and codes. macOS lists a "Symbol" (version 13.0d2e2), which is Apple's own build: 0x27, 0x6D, 0xE1, 0xF1 and 0xF0 (Apple logo) differ and are recorded per code.`), o6("Tahoma", s5, s19, [s35, s36, s8], false, o5(s108, s3, o1(s108, 0.0167, -35e-4, 0.0629, 2, "Tahoma 7.05")), [s107, s37], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/tahoma", s13], "Wine Tahoma (LGPL) is documented as metric-compatible but is not openly licensed under OFL or Apache."), o6("Tenorite", s5, s19, [s8], false, o5(s75, s3, o1(s75, 0.042, 0.042, 0.0836, 1, "Tenorite 1.04;O365")), [s21], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Tenorite 1.04;O365 (regular only: the host has cached no other style). One of the five fonts Microsoft commissioned in 2021; no MS Learn font-list page found."), o6("Tenorite Display", s5, s19, [s8], false, o5(s75, s3, o1(s75, 0.1476, 0.1476, 0.1975, 2, "Tenorite Display 1.04;O365")), [s21], [s10, s12, s13, s24], "RR-17: measured against the Microsoft 365 cloud font Tenorite Display 1.04;O365 (regular and bold). Cloud list has Tenorite Display Regular/Italic/Bold/Bold Italic."), o10("Times New Roman", s5, s34, [s35, s36, s8], false, o9(s30, s1, o1(s30, 0, 0, 0, 4, "Times New Roman 7.12"), { "Arab": o8(s31, s3, 0.95, "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).") }, s113), [s87], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/times-new-roman", s13]), o3(s30, s15, s16, [], true, null, [s113, "https://www.npmjs.com/package/@expo-google-fonts/tinos"], "Metric-compatible with Times New Roman."), o3("Traditional Arabic", s5, s34, [s7, s8], false, o5(s31, s3, o1(s31, 0.1573, 0.1573, 0.2415, 2, "Traditional Arabic 6.85")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/traditional-arabic", s13], s32), o10("Trebuchet MS", s5, s19, [s35, s36, s8], false, o5(s75, s3, o1(s75, 0.0149, -7e-3, 0.0665, 4, "Trebuchet MS 5.15")), [s37], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/trebuchet-ms", s13]), o3("Tunga", s5, s19, [s7, s8], false, o5(s98, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/tunga", s13], "Script replacement; widths not measured. Windows: Kannada Supplemental Fonts FOD."), o6("Verdana", s5, s19, [s35, s36, s8], false, o5(s40, s3, o1(s40, 0.0368, -0.0281, 0.0915, 4, "Verdana 5.33")), [s37], [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/verdana", s13], "No open metric-compatible face exists; DejaVu Sans is visually similar but narrower."), o3("Vrinda", s5, s19, [s7, s8], false, o5(s95, s3, null), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/vrinda", s13], s111), o3("Webdings", s5, s19, [s35, s36, s8], false, null, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/webdings", s13], "Symbol-encoded (FF-45): no text replacement; a renderer maps each code 0x20..0xFF through spec/reference/symbol-font-encodings.json (the Unicode 7.0 Webdings repertoire, L2/11-052R and L2/11-344, verified against Windows Webdings 5.01: 223 of 224 codes have a Unicode equivalent) and previews the equivalent with the first loaded open face of Noto Sans Symbols 2, Noto Sans Symbols, Noto Sans Math and Noto Sans, at the verified font's advance; the PPTX keeps the family and codes. It is also on the macOS Tahoe list."), o3("Wingdings", s5, s19, [s35, s36, s8], false, null, [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/wingdings", s13], `Symbol-encoded (FF-45): no text replacement; a renderer maps each code 0x20..0xFF through spec/reference/symbol-font-encodings.json (the Unicode 7.0 Wingdings repertoire, L2/11-052R and L2/11-344, verified against Windows Wingdings 5.01: 222 of 224 codes have a Unicode equivalent, 0xFF is the Windows logo; Wingdings 2 and 3 verified against 1.55 with 217 and 208) and previews the equivalent with the first loaded open face of Noto Sans Symbols 2, Noto Sans Symbols, Noto Sans Math and Noto Sans, at the verified font's advance; the PPTX keeps the family and codes. It is also on the macOS Tahoe list ("Wingdings Version 5.00x").`), o4(s61, s15, s16, [], true, null, ["https://github.com/google/fonts/blob/main/ofl/worksans/METADATA.pb", "https://www.npmjs.com/package/@expo-google-fonts/work-sans"]), o3("Yu Gothic", s5, "proprietary (JIYUKOBO, licensed to Microsoft)", [s35, s8], false, o5(s90, s3, o1(s90, 91e-4, 32e-4, 0.0533, 2, "Yu Gothic 1.95")), [s10, s11, s12, "https://learn.microsoft.com/en-us/typography/font-list/yu-gothic", s13], 'Script replacement; the width measurement covers Latin text only. macOS Tahoe lists "YuGothic" (Medium/Bold), a different family name from Windows "Yu Gothic", so "macos" is omitted; name-based matching would not resolve it.')] };
6
+ })();
7
+
8
+ // src/font-policy.ts
9
+ var freeze = (value) => {
10
+ if (value && typeof value === "object") {
11
+ for (const child of Object.values(value)) freeze(child);
12
+ Object.freeze(value);
13
+ }
14
+ return value;
15
+ };
16
+ function applyFontPolicyDecisions(source) {
17
+ const table = structuredClone(source);
18
+ const decisions = table.provisionalDecisions?.decisions ?? {};
19
+ for (const row of table.families) {
20
+ const replacement = row.replacement;
21
+ if (!replacement?.decision) continue;
22
+ const decision = decisions[replacement.decision];
23
+ if (!decision) throw new Error(`Font policy row '${row.family}' names unknown decision '${replacement.decision}'.`);
24
+ replacement.family = decision.replacement;
25
+ replacement.compatibility = decision.compatibility;
26
+ if (decision.metricModeFallback) replacement.metricModeFallback = true;
27
+ else delete replacement.metricModeFallback;
28
+ if (replacement.measured && replacement.measured.replacement !== decision.replacement) replacement.measured = null;
29
+ }
30
+ return table;
31
+ }
32
+ var FONT_POLICY = freeze(applyFontPolicyDecisions(fontPolicySource));
33
+ var byFamily = new Map(FONT_POLICY.families.map((entry) => [entry.family.toLowerCase(), entry]));
34
+ function fontPolicyFor(family) {
35
+ return typeof family === "string" ? byFamily.get(family.trim().toLowerCase()) : void 0;
36
+ }
37
+ function fontAvailabilityDiagnostics(families) {
38
+ const diagnostics = [];
39
+ const seen = /* @__PURE__ */ new Set();
40
+ for (const raw of families) {
41
+ if (typeof raw !== "string" || !raw.trim() || raw.startsWith("+")) continue;
42
+ const family = raw.trim();
43
+ if (seen.has(family.toLowerCase())) continue;
44
+ seen.add(family.toLowerCase());
45
+ const entry = fontPolicyFor(family);
46
+ if (!entry) {
47
+ diagnostics.push({
48
+ code: "font-policy-unknown",
49
+ severity: "info",
50
+ family,
51
+ message: `'${family}' is not in the OPF font policy table, so OPF cannot say whether viewers have it or which open font previews it. The PPTX still names '${family}'. Supply its font files to the renderer, or choose a listed family.`
52
+ });
53
+ continue;
54
+ }
55
+ if (entry.licenseClass === "open") continue;
56
+ if (entry.licenseClass === "proprietary-nonstandard") {
57
+ diagnostics.push({
58
+ code: "font-viewer-nonstandard",
59
+ severity: "warning",
60
+ family,
61
+ message: `'${family}' is proprietary and does not ship with Windows, macOS or Microsoft Office. The PPTX names it, but viewers without a license substitute another font.`
62
+ });
63
+ continue;
64
+ }
65
+ const has = (value) => entry.availability.includes(value);
66
+ if (has("windows") || has("macos") || has("office")) continue;
67
+ if (has("office-cloud") && !has("windows-optional")) {
68
+ diagnostics.push({
69
+ code: "font-viewer-cloud-only",
70
+ severity: "info",
71
+ family,
72
+ message: `'${family}' is a Microsoft 365 cloud font. Microsoft 365 apps download it on demand; older Office versions, LibreOffice, Keynote and Google Slides substitute another font.`
73
+ });
74
+ continue;
75
+ }
76
+ diagnostics.push({
77
+ code: "font-viewer-optional-feature",
78
+ severity: "info",
79
+ family,
80
+ message: `'${family}' ships in an optional Windows language "Supplemental Fonts" feature (and as a Microsoft 365 cloud font). Viewers without that language feature or Microsoft 365 substitute another font.`
81
+ });
82
+ }
83
+ return diagnostics;
84
+ }
85
+
86
+ export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor };
@@ -1,8 +1,8 @@
1
- import { fromMarkdown, toMarkdown } from './chunk-2NIID3QD.js';
2
- import { fromYaml, toYaml } from './chunk-J7FUSZZ5.js';
1
+ import { fromMarkdown, toMarkdown } from './chunk-CYGQY6HH.js';
2
+ import { fromYaml, toYaml } from './chunk-4FA4ZABY.js';
3
3
  import { NOT_CHECKED } from './chunk-RYZPBJLB.js';
4
- import { parseSource, validate, OPFValidationError } from './chunk-4FA4AZXY.js';
5
- import { checkCatalogsOption } from './chunk-HHQROUYC.js';
4
+ import { parseSource, validate, OPFValidationError } from './chunk-C5ACMFKB.js';
5
+ import { checkCatalogsOption } from './chunk-QFT4R2IL.js';
6
6
 
7
7
  // src/deck-report.ts
8
8
  var DECK_FORMATS = ["json", "yaml", "markdown"];
@@ -1,5 +1,5 @@
1
- import { isRecord, same } from './chunk-AZELWKG2.js';
2
- import { createLocator } from './chunk-4FA4AZXY.js';
1
+ import { isRecord, same } from './chunk-XJU2X5JM.js';
2
+ import { createLocator } from './chunk-C5ACMFKB.js';
3
3
  import { parseDocument, isMap, isSeq, isScalar, YAMLMap, Scalar, stringify, visit } from 'yaml';
4
4
 
5
5
  var sentence = (text) => text.charAt(0).toUpperCase() + text.slice(1);
@@ -1,7 +1,7 @@
1
- import { validate } from './chunk-4FA4AZXY.js';
1
+ import { validate } from './chunk-C5ACMFKB.js';
2
2
 
3
3
  // src/convert/shared.ts
4
- var CONTENT_KEYS = ["text", "items", "bullets", "image", "video", "chart", "table", "code", "metric", "quote", "timeline", "diagram"];
4
+ var CONTENT_KEYS = ["text", "items", "bullets", "image", "video", "embed", "chart", "table", "code", "metric", "quote", "timeline", "diagram"];
5
5
  var SLIDE_ONLY_KEYS = ["title", "subtitle", "tag", "layout", "design", "notes", "section", "hidden", "beat"];
6
6
  var OPFConversionError = class extends Error {
7
7
  code;
@@ -38,9 +38,10 @@ var contentKeysOf = (payload) => CONTENT_KEYS.filter((key) => payload[key] !== v
38
38
  function assertValidOutput(value, as = "block", context = {}) {
39
39
  const slides = as === "slides" ? value : as === "slide" ? [value] : [{ blocks: [value] }];
40
40
  const datasets = isRecord(context.datasets) ? context.datasets : void 0;
41
+ const datasources = isRecord(context.datasources) ? context.datasources : void 0;
41
42
  const referencesProvided = own(context, "references");
42
- const report2 = validate({ ...datasets ? { datasets } : {}, ...referencesProvided ? { references: context.references } : {}, slides }, { only: ["format"] });
43
- const errors = report2.findings.filter((entry) => entry.severity === "error").filter((entry) => (datasets || entry.ruleId !== "opf/dataset-unknown" && entry.ruleId !== "opf/dataset-field-unknown") && (referencesProvided || entry.ruleId !== "opf/cite-unknown-reference"));
43
+ const report2 = validate({ ...datasets ? { datasets } : {}, ...datasources ? { datasources } : {}, ...referencesProvided ? { references: context.references } : {}, slides }, { only: ["format"], slideLinks: false });
44
+ const errors = report2.findings.filter((entry) => entry.severity === "error").filter((entry) => (datasets || entry.ruleId !== "opf/dataset-unknown" && entry.ruleId !== "opf/dataset-field-unknown") && (datasources || entry.ruleId !== "opf/datasource-unknown") && (referencesProvided || entry.ruleId !== "opf/cite-unknown-reference"));
44
45
  if (errors.length) {
45
46
  const first = errors[0];
46
47
  throw new OPFConversionError("invalid-output", `The converted content is not valid OPF: ${first?.message ?? "unknown error"}${first?.path ? ` (${first.path})` : ""}.`, { issues: errors });