@openpresentation/opf 0.11.1 → 0.11.2
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.
- package/dist/{chunk-6UPHKXI5.js → chunk-BVLWFMDX.js} +40 -4
- package/dist/{chunk-M4GTWRK7.js → chunk-DJRZMGKY.js} +1 -1
- package/dist/{chunk-BP6WMSSS.js → chunk-K7IWYODS.js} +1 -1
- package/dist/{chunk-NPYN4TZ5.js → chunk-KZ6BT5UG.js} +108 -33
- package/dist/{chunk-KWIOQ3QR.js → chunk-SMYEM3HV.js} +2 -2
- package/dist/composition.js +1 -1
- package/dist/docs.js +7 -7
- package/dist/font-policy.d.ts +4 -0
- package/dist/font-policy.js +1 -1
- package/dist/index.js +7 -7
- package/dist/lint.js +3 -3
- package/dist/pagination.js +3 -3
- package/dist/spec/reference/font-policy.json +108 -33
- package/dist/spec/reference/font-policy.schema.json +10 -0
- package/dist/validator.js +2 -2
- package/package.json +1 -1
package/dist/font-policy.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ interface FontReplacement {
|
|
|
48
48
|
/** Weight to select in the replacement when the requested family encodes weight in its name
|
|
49
49
|
* (for example Segoe UI Semibold -> 600, Arial Black -> 900). */
|
|
50
50
|
weight?: number;
|
|
51
|
+
/** OpenType feature tags (for example `liga`, `clig`) that a renderer turns off when it shapes and
|
|
52
|
+
* draws this replacement. `measured` is taken with them off, and a metric claim holds only with them
|
|
53
|
+
* off (Georgia -> Gelasio: Gelasio ligates fi/fl where Georgia does not). */
|
|
54
|
+
disabledFeatures?: string[];
|
|
51
55
|
/** Null when the reference font was not available to the measuring host. */
|
|
52
56
|
measured: FontReplacementMeasurement | null;
|
|
53
57
|
/** Upstream statement of compatibility, when one exists. */
|
package/dist/font-policy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-
|
|
1
|
+
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-KZ6BT5UG.js';
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { specFileEntries, specFileKinds, specFilePaths } from './chunk-SDETQV7Y.js';
|
|
2
2
|
export { getLayoutPreview, hasLayoutPreview, layoutPreviewIndex, layoutPreviewSlugs, layoutPreviews } from './chunk-PIQXLBBJ.js';
|
|
3
|
-
export { lintPresentation, lintSource } from './chunk-
|
|
4
|
-
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-
|
|
3
|
+
export { lintPresentation, lintSource } from './chunk-K7IWYODS.js';
|
|
4
|
+
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-KZ6BT5UG.js';
|
|
5
5
|
export { OPFDataImportError, createDataContent, parseTabularData } from './chunk-SOSOBKQ2.js';
|
|
6
|
-
export { OPFPaginationError, paginatePresentation, paginateSlide } from './chunk-
|
|
7
|
-
import { isRecord, visitContentPayloads, bareIdPattern } from './chunk-
|
|
8
|
-
export { OPFValidationError, assertValid, assertValidCatalogRecord, assertValidPresentation, validate, validateCatalogRecord, validatePresentation } from './chunk-
|
|
9
|
-
import { resolveFontSchemeReference, DEFAULT_FONT_SCHEME, resolveFontFamilies } from './chunk-
|
|
10
|
-
export { DEFAULT_FONT_SCHEME, DEFAULT_FURNITURE_DATE_FORMAT, DEFAULT_SLIDE_NUMBER_FORMAT, MAX_COMPOSITION_DEPTH, OPFCompositionError, chartColorForFill, colorContrast, composeSlide, fitList, fitRichText, fitText, formatFurnitureDate, formatSlideNumber, layoutCode, layoutFurniture, layoutMetric, layoutQuote, layoutTimeline, measureText, measureTextOutline, normalizeHexColor, placeTextLines, resolveCanvasDimensions, resolveColorRef, resolveFontFamilies, resolveFontSchemeReference, resolveSocialProfile, resolveTextStyle, textColorForFill, textWidthMeasurer, wrapText } from './chunk-
|
|
6
|
+
export { OPFPaginationError, paginatePresentation, paginateSlide } from './chunk-SMYEM3HV.js';
|
|
7
|
+
import { isRecord, visitContentPayloads, bareIdPattern } from './chunk-DJRZMGKY.js';
|
|
8
|
+
export { OPFValidationError, assertValid, assertValidCatalogRecord, assertValidPresentation, validate, validateCatalogRecord, validatePresentation } from './chunk-DJRZMGKY.js';
|
|
9
|
+
import { resolveFontSchemeReference, DEFAULT_FONT_SCHEME, resolveFontFamilies } from './chunk-BVLWFMDX.js';
|
|
10
|
+
export { DEFAULT_FONT_SCHEME, DEFAULT_FURNITURE_DATE_FORMAT, DEFAULT_SLIDE_NUMBER_FORMAT, MAX_COMPOSITION_DEPTH, OPFCompositionError, chartColorForFill, colorContrast, composeSlide, fitList, fitRichText, fitText, formatFurnitureDate, formatSlideNumber, layoutCode, layoutFurniture, layoutMetric, layoutQuote, layoutTimeline, measureText, measureTextOutline, normalizeHexColor, placeTextLines, resolveCanvasDimensions, resolveColorRef, resolveFontFamilies, resolveFontSchemeReference, resolveSocialProfile, resolveTextStyle, textColorForFill, textWidthMeasurer, wrapText } from './chunk-BVLWFMDX.js';
|
|
11
11
|
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-LTSDDBNW.js';
|
|
12
12
|
import { catalogs, catalogEntries } from './chunk-7LF37SG3.js';
|
|
13
13
|
export { audiences, catalogEntries, catalogIndexes, catalogKinds, catalogSchemaNames, catalogs, chartTypes, colorSchemes, fontSchemes, languages, layouts, narratives, purposes, socialPlatforms, themes, tones } from './chunk-7LF37SG3.js';
|
package/dist/lint.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { lintPresentation, lintSource } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { lintPresentation, lintSource } from './chunk-K7IWYODS.js';
|
|
2
|
+
import './chunk-DJRZMGKY.js';
|
|
3
|
+
import './chunk-BVLWFMDX.js';
|
|
4
4
|
import './chunk-LTSDDBNW.js';
|
|
5
5
|
import './chunk-7LF37SG3.js';
|
package/dist/pagination.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { OPFPaginationError, paginatePresentation, paginateSlide } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { OPFPaginationError, paginatePresentation, paginateSlide } from './chunk-SMYEM3HV.js';
|
|
2
|
+
import './chunk-DJRZMGKY.js';
|
|
3
|
+
import './chunk-BVLWFMDX.js';
|
|
4
4
|
import './chunk-LTSDDBNW.js';
|
|
5
5
|
import './chunk-7LF37SG3.js';
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"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 scripts/measure-font-replacements.mjs is re-run.",
|
|
6
6
|
"decisions": {
|
|
7
7
|
"aptos-preview": {
|
|
8
|
-
"replacement": "
|
|
9
|
-
"compatibility": "
|
|
10
|
-
"note": "
|
|
8
|
+
"replacement": "Intos",
|
|
9
|
+
"compatibility": "metric",
|
|
10
|
+
"note": "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)."
|
|
11
11
|
},
|
|
12
12
|
"segoe-ui-preview": {
|
|
13
13
|
"replacement": "Red Hat Display",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"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.",
|
|
26
26
|
"version": 1,
|
|
27
27
|
"measurement": {
|
|
28
|
-
"tool": "fontkit 2.0.4 shaping with default features (kerning, ligatures), as opf-render measures text",
|
|
28
|
+
"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",
|
|
29
29
|
"corpus": "300 Latin title/body strings sampled from the 126 bundled example decks",
|
|
30
30
|
"evidence": "docs/evidence/font-replacements-20260923/README.md",
|
|
31
31
|
"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."
|
|
@@ -106,16 +106,18 @@
|
|
|
106
106
|
"embeddableByOpf": false,
|
|
107
107
|
"replacement": {
|
|
108
108
|
"decision": "aptos-preview",
|
|
109
|
+
"source": "https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
109
110
|
"measured": {
|
|
110
|
-
"replacement": "
|
|
111
|
-
"meanAbsWidthDelta": 0
|
|
112
|
-
"meanWidthDelta": 0
|
|
113
|
-
"maxAbsWidthDelta": 0
|
|
111
|
+
"replacement": "Intos",
|
|
112
|
+
"meanAbsWidthDelta": 0,
|
|
113
|
+
"meanWidthDelta": 0,
|
|
114
|
+
"maxAbsWidthDelta": 0,
|
|
114
115
|
"styles": 4,
|
|
115
116
|
"reference": "Aptos 2.01;O365"
|
|
116
117
|
}
|
|
117
118
|
},
|
|
118
119
|
"alternates": [
|
|
120
|
+
"Roboto",
|
|
119
121
|
"Carlito"
|
|
120
122
|
],
|
|
121
123
|
"sources": [
|
|
@@ -126,7 +128,7 @@
|
|
|
126
128
|
"https://microsoft.design/articles/a-change-of-typeface-microsoft-s-new-default-font-has-arrived/",
|
|
127
129
|
"https://www.microsoft.com/en-us/download/details.aspx?id=106087"
|
|
128
130
|
],
|
|
129
|
-
"note": "Microsoft 365 cloud font; not redistributable.
|
|
131
|
+
"note": "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."
|
|
130
132
|
},
|
|
131
133
|
{
|
|
132
134
|
"family": "Aptos Display",
|
|
@@ -137,18 +139,20 @@
|
|
|
137
139
|
],
|
|
138
140
|
"embeddableByOpf": false,
|
|
139
141
|
"replacement": {
|
|
140
|
-
"family": "
|
|
141
|
-
"compatibility": "
|
|
142
|
+
"family": "Intos Display",
|
|
143
|
+
"compatibility": "metric",
|
|
144
|
+
"source": "https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
142
145
|
"measured": {
|
|
143
|
-
"replacement": "
|
|
144
|
-
"meanAbsWidthDelta": 0
|
|
145
|
-
"meanWidthDelta":
|
|
146
|
-
"maxAbsWidthDelta": 0
|
|
146
|
+
"replacement": "Intos Display",
|
|
147
|
+
"meanAbsWidthDelta": 0,
|
|
148
|
+
"meanWidthDelta": 0,
|
|
149
|
+
"maxAbsWidthDelta": 0,
|
|
147
150
|
"styles": 4,
|
|
148
151
|
"reference": "Aptos Display 2.01;O365"
|
|
149
152
|
}
|
|
150
153
|
},
|
|
151
154
|
"alternates": [
|
|
155
|
+
"Carlito",
|
|
152
156
|
"Roboto"
|
|
153
157
|
],
|
|
154
158
|
"sources": [
|
|
@@ -158,7 +162,7 @@
|
|
|
158
162
|
"https://support.apple.com/en-us/122869",
|
|
159
163
|
"https://microsoft.design/articles/a-change-of-typeface-microsoft-s-new-default-font-has-arrived/"
|
|
160
164
|
],
|
|
161
|
-
"note": "Part of the Aptos family; cloud font list has Aptos Display (+Bold/Italic/Bold Italic)."
|
|
165
|
+
"note": "Part of the Aptos family; cloud font list has Aptos Display (+Bold/Italic/Bold Italic). Intos Display is its metric-compatible preview replacement."
|
|
162
166
|
},
|
|
163
167
|
{
|
|
164
168
|
"family": "Aptos Mono",
|
|
@@ -194,13 +198,14 @@
|
|
|
194
198
|
],
|
|
195
199
|
"embeddableByOpf": false,
|
|
196
200
|
"replacement": {
|
|
197
|
-
"family": "
|
|
198
|
-
"compatibility": "
|
|
201
|
+
"family": "Intos Narrow",
|
|
202
|
+
"compatibility": "metric",
|
|
203
|
+
"source": "https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
199
204
|
"measured": {
|
|
200
|
-
"replacement": "
|
|
201
|
-
"meanAbsWidthDelta": 0
|
|
202
|
-
"meanWidthDelta": 0
|
|
203
|
-
"maxAbsWidthDelta": 0
|
|
205
|
+
"replacement": "Intos Narrow",
|
|
206
|
+
"meanAbsWidthDelta": 0,
|
|
207
|
+
"meanWidthDelta": 0,
|
|
208
|
+
"maxAbsWidthDelta": 0,
|
|
204
209
|
"styles": 4,
|
|
205
210
|
"reference": "Aptos Narrow 2.01;O365"
|
|
206
211
|
}
|
|
@@ -212,7 +217,10 @@
|
|
|
212
217
|
"https://support.apple.com/en-us/122869",
|
|
213
218
|
"https://microsoft.design/articles/a-change-of-typeface-microsoft-s-new-default-font-has-arrived/"
|
|
214
219
|
],
|
|
215
|
-
"note": "Part of the Aptos family; cloud font list has Aptos Narrow (+Bold/Italic/Bold Italic)."
|
|
220
|
+
"note": "Part of the Aptos family; cloud font list has Aptos Narrow (+Bold/Italic/Bold Italic). Intos Narrow is its metric-compatible preview replacement.",
|
|
221
|
+
"alternates": [
|
|
222
|
+
"Carlito"
|
|
223
|
+
]
|
|
216
224
|
},
|
|
217
225
|
{
|
|
218
226
|
"family": "Aptos Serif",
|
|
@@ -223,9 +231,17 @@
|
|
|
223
231
|
],
|
|
224
232
|
"embeddableByOpf": false,
|
|
225
233
|
"replacement": {
|
|
226
|
-
"family": "
|
|
227
|
-
"compatibility": "
|
|
228
|
-
"
|
|
234
|
+
"family": "Intos Serif",
|
|
235
|
+
"compatibility": "metric",
|
|
236
|
+
"source": "https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
237
|
+
"measured": {
|
|
238
|
+
"replacement": "Intos Serif",
|
|
239
|
+
"meanAbsWidthDelta": 0,
|
|
240
|
+
"meanWidthDelta": 0,
|
|
241
|
+
"maxAbsWidthDelta": 0,
|
|
242
|
+
"styles": 4,
|
|
243
|
+
"reference": "Aptos Serif 2.01;240513210638;O365"
|
|
244
|
+
}
|
|
229
245
|
},
|
|
230
246
|
"sources": [
|
|
231
247
|
"https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list",
|
|
@@ -233,7 +249,10 @@
|
|
|
233
249
|
"https://learn.microsoft.com/en-us/typography/font-list/aptos",
|
|
234
250
|
"https://support.apple.com/en-us/122869"
|
|
235
251
|
],
|
|
236
|
-
"note": "
|
|
252
|
+
"note": "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).",
|
|
253
|
+
"alternates": [
|
|
254
|
+
"Tinos"
|
|
255
|
+
]
|
|
237
256
|
},
|
|
238
257
|
{
|
|
239
258
|
"family": "Arabic Typesetting",
|
|
@@ -1301,12 +1320,16 @@
|
|
|
1301
1320
|
"embeddableByOpf": false,
|
|
1302
1321
|
"replacement": {
|
|
1303
1322
|
"family": "Gelasio",
|
|
1304
|
-
"compatibility": "
|
|
1323
|
+
"compatibility": "metric",
|
|
1324
|
+
"disabledFeatures": [
|
|
1325
|
+
"liga",
|
|
1326
|
+
"clig"
|
|
1327
|
+
],
|
|
1305
1328
|
"measured": {
|
|
1306
1329
|
"replacement": "Gelasio",
|
|
1307
|
-
"meanAbsWidthDelta": 0
|
|
1308
|
-
"meanWidthDelta":
|
|
1309
|
-
"maxAbsWidthDelta": 0
|
|
1330
|
+
"meanAbsWidthDelta": 0,
|
|
1331
|
+
"meanWidthDelta": 0,
|
|
1332
|
+
"maxAbsWidthDelta": 0,
|
|
1310
1333
|
"styles": 4,
|
|
1311
1334
|
"reference": "Georgia 5.59"
|
|
1312
1335
|
},
|
|
@@ -1319,7 +1342,7 @@
|
|
|
1319
1342
|
"https://learn.microsoft.com/en-us/typography/font-list/georgia",
|
|
1320
1343
|
"https://support.apple.com/en-us/122869"
|
|
1321
1344
|
],
|
|
1322
|
-
"note": "Gelasio is designed to Georgia metrics and every basic-Latin advance matches Georgia 5.59
|
|
1345
|
+
"note": "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."
|
|
1323
1346
|
},
|
|
1324
1347
|
{
|
|
1325
1348
|
"family": "Gill Sans MT",
|
|
@@ -1502,6 +1525,58 @@
|
|
|
1502
1525
|
"https://support.apple.com/en-us/122869"
|
|
1503
1526
|
]
|
|
1504
1527
|
},
|
|
1528
|
+
{
|
|
1529
|
+
"family": "Intos",
|
|
1530
|
+
"licenseClass": "open",
|
|
1531
|
+
"license": "OFL-1.1",
|
|
1532
|
+
"availability": [],
|
|
1533
|
+
"embeddableByOpf": true,
|
|
1534
|
+
"replacement": null,
|
|
1535
|
+
"sources": [
|
|
1536
|
+
"https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
1537
|
+
"https://github.com/muglug/intos/blob/fef9315c14da9e4b23b4c3cac8e718998d4e4736/LICENSE.txt"
|
|
1538
|
+
],
|
|
1539
|
+
"note": "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."
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"family": "Intos Display",
|
|
1543
|
+
"licenseClass": "open",
|
|
1544
|
+
"license": "OFL-1.1",
|
|
1545
|
+
"availability": [],
|
|
1546
|
+
"embeddableByOpf": true,
|
|
1547
|
+
"replacement": null,
|
|
1548
|
+
"sources": [
|
|
1549
|
+
"https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
1550
|
+
"https://github.com/muglug/intos/blob/fef9315c14da9e4b23b4c3cac8e718998d4e4736/LICENSE.txt"
|
|
1551
|
+
],
|
|
1552
|
+
"note": "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."
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"family": "Intos Narrow",
|
|
1556
|
+
"licenseClass": "open",
|
|
1557
|
+
"license": "OFL-1.1",
|
|
1558
|
+
"availability": [],
|
|
1559
|
+
"embeddableByOpf": true,
|
|
1560
|
+
"replacement": null,
|
|
1561
|
+
"sources": [
|
|
1562
|
+
"https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
1563
|
+
"https://github.com/muglug/intos/blob/fef9315c14da9e4b23b4c3cac8e718998d4e4736/LICENSE.txt"
|
|
1564
|
+
],
|
|
1565
|
+
"note": "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."
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"family": "Intos Serif",
|
|
1569
|
+
"licenseClass": "open",
|
|
1570
|
+
"license": "OFL-1.1",
|
|
1571
|
+
"availability": [],
|
|
1572
|
+
"embeddableByOpf": true,
|
|
1573
|
+
"replacement": null,
|
|
1574
|
+
"sources": [
|
|
1575
|
+
"https://github.com/muglug/intos/tree/fef9315c14da9e4b23b4c3cac8e718998d4e4736",
|
|
1576
|
+
"https://github.com/muglug/intos/blob/fef9315c14da9e4b23b4c3cac8e718998d4e4736/LICENSE.txt"
|
|
1577
|
+
],
|
|
1578
|
+
"note": "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."
|
|
1579
|
+
},
|
|
1505
1580
|
{
|
|
1506
1581
|
"family": "Kalinga",
|
|
1507
1582
|
"licenseClass": "proprietary-standard",
|
|
@@ -2721,7 +2796,7 @@
|
|
|
2721
2796
|
"https://learn.microsoft.com/en-us/typography/font-list/segoe-ui",
|
|
2722
2797
|
"https://support.apple.com/en-us/122869"
|
|
2723
2798
|
],
|
|
2724
|
-
"note": "Microsoft's OFL Selawik
|
|
2799
|
+
"note": "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."
|
|
2725
2800
|
},
|
|
2726
2801
|
{
|
|
2727
2802
|
"family": "Segoe UI Emoji",
|
|
@@ -182,6 +182,16 @@
|
|
|
182
182
|
"minimum": 100,
|
|
183
183
|
"maximum": 900
|
|
184
184
|
},
|
|
185
|
+
"disabledFeatures": {
|
|
186
|
+
"description": "OpenType feature tags a renderer must turn off when it shapes and draws this replacement (for example liga and clig for Gelasio, which ligates fi and fl where Georgia does not). The measurement below is taken with them off, and a metric claim holds only with them off.",
|
|
187
|
+
"type": "array",
|
|
188
|
+
"minItems": 1,
|
|
189
|
+
"uniqueItems": true,
|
|
190
|
+
"items": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"pattern": "^[A-Za-z0-9 ]{4}$"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
185
195
|
"measured": {
|
|
186
196
|
"oneOf": [
|
|
187
197
|
{
|
package/dist/validator.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OPFValidationError, assertValid, assertValidCatalogRecord, assertValidPresentation, promotedRegionKeys, validate, validateCatalogRecord, validatePresentation } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { OPFValidationError, assertValid, assertValidCatalogRecord, assertValidPresentation, promotedRegionKeys, validate, validateCatalogRecord, validatePresentation } from './chunk-DJRZMGKY.js';
|
|
2
|
+
import './chunk-BVLWFMDX.js';
|
|
3
3
|
import './chunk-LTSDDBNW.js';
|
|
4
4
|
import './chunk-7LF37SG3.js';
|
package/package.json
CHANGED