@openpresentation/opf-render 0.18.0 → 0.18.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/README.md +85 -7
- package/dist/element.js +14 -7
- package/dist/export-browser.js +2 -0
- package/dist/font-manifest.js +17 -17
- package/dist/font-registry.js +31 -0
- package/dist/font-subset.js +7 -1
- package/dist/fonts-browser.d.ts +3 -2
- package/dist/fonts-node.d.ts +6 -2
- package/dist/fonts-node.js +20 -17
- package/dist/fonts.d.ts +9 -1
- package/dist/hb-shape.js +16 -6
- package/dist/node-resolve.js +24 -0
- package/dist/pdf-text.js +4 -4
- package/dist/pdf-vector.js +13 -3
- package/dist/pdf-writer.js +5 -2
- package/dist/player.js +10 -3
- package/dist/preview-fonts-node.js +3 -6
- package/dist/raster-text.js +102 -12
- package/dist/raster.js +20 -12
- package/dist/script-fonts.js +11 -2
- package/dist/svg.js +5 -1
- package/dist/text-paths.js +13 -1
- package/package.json +23 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpresentation/opf-render",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Deterministic local OPF renderer for SVG, PNG, and PDF output.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -100,9 +100,11 @@
|
|
|
100
100
|
"check:font-hotlinks": "node --test scripts/check-font-hotlinks.test.mjs && node scripts/check-font-hotlinks.mjs",
|
|
101
101
|
"test:golden": "npm run build && node test/golden.mjs",
|
|
102
102
|
"test:packed": "node test/packed-install.mjs",
|
|
103
|
+
"test:next-bundle": "node scripts/check-next-bundle.mjs",
|
|
103
104
|
"test:browser": "npm run build:browser-check && node test/browser-check.mjs && node test/rich-tab-browser.mjs && node test/rich-tab-estimated-browser.mjs",
|
|
104
105
|
"golden:update": "npm run build && node test/golden.mjs --update",
|
|
105
106
|
"golden:promote": "node scripts/golden-promote.mjs",
|
|
107
|
+
"bench:soak": "node scripts/soak.mjs",
|
|
106
108
|
"prepack": "npm run build",
|
|
107
109
|
"build:browser-check": "node scripts/build-browser-check.mjs",
|
|
108
110
|
"test:styled-table": "node test/styled-table.mjs",
|
|
@@ -136,22 +138,23 @@
|
|
|
136
138
|
"test:emoji-math-browser": "node test/emoji-math-browser.mjs artifacts/emoji-math-browser.json",
|
|
137
139
|
"test:player": "node test/player-unit.mjs",
|
|
138
140
|
"test:player-browser": "node test/player-browser.mjs artifacts/player",
|
|
139
|
-
"test:preview-a11y-browser": "node test/preview-a11y-browser.mjs"
|
|
141
|
+
"test:preview-a11y-browser": "node test/preview-a11y-browser.mjs",
|
|
142
|
+
"test:forced-colors-browser": "node test/forced-colors-browser.mjs artifacts/forced-colors"
|
|
140
143
|
},
|
|
141
144
|
"dependencies": {
|
|
142
|
-
"@openpresentation/opf": "^0.18.
|
|
145
|
+
"@openpresentation/opf": "^0.18.4",
|
|
143
146
|
"bidi-js": "1.1.0",
|
|
144
147
|
"fontkit": "^2.0.4",
|
|
145
|
-
"harfbuzzjs": "1.6.
|
|
146
|
-
"pako": "
|
|
148
|
+
"harfbuzzjs": "1.6.3",
|
|
149
|
+
"pako": "3.0.2"
|
|
147
150
|
},
|
|
148
151
|
"peerDependencies": {
|
|
149
152
|
"@expo-google-fonts/arimo": "0.4.3",
|
|
150
153
|
"@expo-google-fonts/caladea": "0.4.2",
|
|
151
154
|
"@expo-google-fonts/cousine": "0.4.3",
|
|
152
155
|
"@expo-google-fonts/gelasio": "0.4.1",
|
|
153
|
-
"@expo-google-fonts/noto-color-emoji": "0.4.
|
|
154
|
-
"@expo-google-fonts/noto-emoji": "0.4.
|
|
156
|
+
"@expo-google-fonts/noto-color-emoji": "0.4.7",
|
|
157
|
+
"@expo-google-fonts/noto-emoji": "0.4.8",
|
|
155
158
|
"@expo-google-fonts/noto-naskh-arabic": "0.4.5",
|
|
156
159
|
"@expo-google-fonts/noto-nastaliq-urdu": "0.4.2",
|
|
157
160
|
"@expo-google-fonts/noto-sans": "0.4.2",
|
|
@@ -164,23 +167,23 @@
|
|
|
164
167
|
"@expo-google-fonts/noto-sans-gujarati": "0.4.2",
|
|
165
168
|
"@expo-google-fonts/noto-sans-gurmukhi": "0.4.1",
|
|
166
169
|
"@expo-google-fonts/noto-sans-hebrew": "0.4.1",
|
|
167
|
-
"@expo-google-fonts/noto-sans-jp": "0.4.
|
|
170
|
+
"@expo-google-fonts/noto-sans-jp": "0.4.4",
|
|
168
171
|
"@expo-google-fonts/noto-sans-kannada": "0.4.3",
|
|
169
172
|
"@expo-google-fonts/noto-sans-khmer": "0.4.3",
|
|
170
|
-
"@expo-google-fonts/noto-sans-kr": "0.4.
|
|
173
|
+
"@expo-google-fonts/noto-sans-kr": "0.4.4",
|
|
171
174
|
"@expo-google-fonts/noto-sans-lao": "0.4.2",
|
|
172
175
|
"@expo-google-fonts/noto-sans-malayalam": "0.4.2",
|
|
173
176
|
"@expo-google-fonts/noto-sans-math": "0.4.2",
|
|
174
177
|
"@expo-google-fonts/noto-sans-mongolian": "0.4.1",
|
|
175
178
|
"@expo-google-fonts/noto-sans-myanmar": "0.4.2",
|
|
176
179
|
"@expo-google-fonts/noto-sans-oriya": "0.4.2",
|
|
177
|
-
"@expo-google-fonts/noto-sans-sc": "0.4.
|
|
180
|
+
"@expo-google-fonts/noto-sans-sc": "0.4.4",
|
|
178
181
|
"@expo-google-fonts/noto-sans-sinhala": "0.4.2",
|
|
179
182
|
"@expo-google-fonts/noto-sans-symbols": "0.4.1",
|
|
180
183
|
"@expo-google-fonts/noto-sans-symbols-2": "0.4.1",
|
|
181
184
|
"@expo-google-fonts/noto-sans-syriac": "0.4.2",
|
|
182
185
|
"@expo-google-fonts/noto-sans-tamil": "0.4.3",
|
|
183
|
-
"@expo-google-fonts/noto-sans-tc": "0.4.
|
|
186
|
+
"@expo-google-fonts/noto-sans-tc": "0.4.4",
|
|
184
187
|
"@expo-google-fonts/noto-sans-telugu": "0.4.2",
|
|
185
188
|
"@expo-google-fonts/noto-sans-thaana": "0.4.2",
|
|
186
189
|
"@expo-google-fonts/noto-sans-thai": "0.4.2",
|
|
@@ -342,8 +345,8 @@
|
|
|
342
345
|
"@expo-google-fonts/caladea": "0.4.2",
|
|
343
346
|
"@expo-google-fonts/cousine": "0.4.3",
|
|
344
347
|
"@expo-google-fonts/gelasio": "0.4.1",
|
|
345
|
-
"@expo-google-fonts/noto-color-emoji": "0.4.
|
|
346
|
-
"@expo-google-fonts/noto-emoji": "0.4.
|
|
348
|
+
"@expo-google-fonts/noto-color-emoji": "0.4.7",
|
|
349
|
+
"@expo-google-fonts/noto-emoji": "0.4.8",
|
|
347
350
|
"@expo-google-fonts/noto-naskh-arabic": "0.4.5",
|
|
348
351
|
"@expo-google-fonts/noto-nastaliq-urdu": "0.4.2",
|
|
349
352
|
"@expo-google-fonts/noto-sans": "0.4.2",
|
|
@@ -356,23 +359,23 @@
|
|
|
356
359
|
"@expo-google-fonts/noto-sans-gujarati": "0.4.2",
|
|
357
360
|
"@expo-google-fonts/noto-sans-gurmukhi": "0.4.1",
|
|
358
361
|
"@expo-google-fonts/noto-sans-hebrew": "0.4.1",
|
|
359
|
-
"@expo-google-fonts/noto-sans-jp": "0.4.
|
|
362
|
+
"@expo-google-fonts/noto-sans-jp": "0.4.4",
|
|
360
363
|
"@expo-google-fonts/noto-sans-kannada": "0.4.3",
|
|
361
364
|
"@expo-google-fonts/noto-sans-khmer": "0.4.3",
|
|
362
|
-
"@expo-google-fonts/noto-sans-kr": "0.4.
|
|
365
|
+
"@expo-google-fonts/noto-sans-kr": "0.4.4",
|
|
363
366
|
"@expo-google-fonts/noto-sans-lao": "0.4.2",
|
|
364
367
|
"@expo-google-fonts/noto-sans-malayalam": "0.4.2",
|
|
365
368
|
"@expo-google-fonts/noto-sans-math": "0.4.2",
|
|
366
369
|
"@expo-google-fonts/noto-sans-mongolian": "0.4.1",
|
|
367
370
|
"@expo-google-fonts/noto-sans-myanmar": "0.4.2",
|
|
368
371
|
"@expo-google-fonts/noto-sans-oriya": "0.4.2",
|
|
369
|
-
"@expo-google-fonts/noto-sans-sc": "0.4.
|
|
372
|
+
"@expo-google-fonts/noto-sans-sc": "0.4.4",
|
|
370
373
|
"@expo-google-fonts/noto-sans-sinhala": "0.4.2",
|
|
371
374
|
"@expo-google-fonts/noto-sans-symbols": "0.4.1",
|
|
372
375
|
"@expo-google-fonts/noto-sans-symbols-2": "0.4.1",
|
|
373
376
|
"@expo-google-fonts/noto-sans-syriac": "0.4.2",
|
|
374
377
|
"@expo-google-fonts/noto-sans-tamil": "0.4.3",
|
|
375
|
-
"@expo-google-fonts/noto-sans-tc": "0.4.
|
|
378
|
+
"@expo-google-fonts/noto-sans-tc": "0.4.4",
|
|
376
379
|
"@expo-google-fonts/noto-sans-telugu": "0.4.2",
|
|
377
380
|
"@expo-google-fonts/noto-sans-thaana": "0.4.2",
|
|
378
381
|
"@expo-google-fonts/noto-sans-thai": "0.4.2",
|
|
@@ -384,12 +387,12 @@
|
|
|
384
387
|
"@expo-google-fonts/tinos": "0.4.2",
|
|
385
388
|
"@hyzyla/pdfium": "2.1.13",
|
|
386
389
|
"@jspawn/qpdf-wasm": "0.0.2",
|
|
387
|
-
"@napi-rs/canvas": "1.0.
|
|
390
|
+
"@napi-rs/canvas": "1.0.10",
|
|
388
391
|
"@resvg/resvg-js": "2.6.2",
|
|
389
|
-
"axe-core": "4.
|
|
392
|
+
"axe-core": "4.14.0",
|
|
390
393
|
"esbuild": "0.28.2",
|
|
391
394
|
"pdf-lib": "1.17.1",
|
|
392
|
-
"pdfjs-dist": "6.
|
|
395
|
+
"pdfjs-dist": "6.4.299",
|
|
393
396
|
"playwright": "1.63.0",
|
|
394
397
|
"sharp": "0.35.5"
|
|
395
398
|
},
|