@ot-builder/cli-proc
Advanced tools
+58
-1
@@ -5,3 +5,60 @@ { | ||
| { | ||
| "date": "Sat, 22 Apr 2023 00:59:44 GMT", | ||
| "date": "Sat, 22 Apr 2023 11:20:08 GMT", | ||
| "tag": "@ot-builder/cli-proc_v1.6.4", | ||
| "version": "1.6.4", | ||
| "comments": { | ||
| "patch": [ | ||
| { | ||
| "author": "otbbuilder-dev@users.noreply.github.com", | ||
| "package": "@ot-builder/cli-proc", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0", | ||
| "comment": "GC: fix indirect lookup collection" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/io-bin-font to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/primitive to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/common-impl to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/rectify to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/trace to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/prelude to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| }, | ||
| { | ||
| "author": "beachball", | ||
| "package": "@ot-builder/cli-proc", | ||
| "comment": "Bump @ot-builder/ot to v1.6.4", | ||
| "commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "date": "Sat, 22 Apr 2023 01:01:14 GMT", | ||
| "tag": "@ot-builder/cli-proc_v1.6.3", | ||
@@ -8,0 +65,0 @@ "version": "1.6.3", |
+17
-2
| # Change Log - @ot-builder/cli-proc | ||
| This log was last generated on Sat, 22 Apr 2023 00:59:44 GMT and should not be manually modified. | ||
| This log was last generated on Sat, 22 Apr 2023 11:20:08 GMT and should not be manually modified. | ||
| <!-- Start content --> | ||
| ## 1.6.4 | ||
| Sat, 22 Apr 2023 11:20:08 GMT | ||
| ### Patches | ||
| - GC: fix indirect lookup collection (otbbuilder-dev@users.noreply.github.com) | ||
| - Bump @ot-builder/io-bin-font to v1.6.4 | ||
| - Bump @ot-builder/primitive to v1.6.4 | ||
| - Bump @ot-builder/common-impl to v1.6.4 | ||
| - Bump @ot-builder/rectify to v1.6.4 | ||
| - Bump @ot-builder/trace to v1.6.4 | ||
| - Bump @ot-builder/prelude to v1.6.4 | ||
| - Bump @ot-builder/ot to v1.6.4 | ||
| ## 1.6.3 | ||
| Sat, 22 Apr 2023 00:59:44 GMT | ||
| Sat, 22 Apr 2023 01:01:14 GMT | ||
@@ -11,0 +26,0 @@ ### Patches |
+25
-0
@@ -5,2 +5,3 @@ "use strict"; | ||
| const ImpLib = require("@ot-builder/common-impl"); | ||
| const Ot = require("@ot-builder/ot"); | ||
| const Rectify = require("@ot-builder/rectify"); | ||
@@ -50,4 +51,28 @@ const initial_visible_glyphs_1 = require("../support/initial-visible-glyphs"); | ||
| } | ||
| extendIndirectLookups(keptLookups); | ||
| ImpLib.ArrayHelper.inPlaceShrinkArray(keptLookups, table.lookups); | ||
| } | ||
| function isChainingLookup(lookup) { | ||
| return lookup instanceof Ot.Gsub.Chaining || lookup instanceof Ot.Gpos.Chaining; | ||
| } | ||
| function extendIndirectLookups(keptLookups) { | ||
| let sizeOld = keptLookups.size; | ||
| for (;;) { | ||
| const sizeNew = keptLookups.size; | ||
| for (const l of keptLookups) { | ||
| if (isChainingLookup(l)) { | ||
| for (const rule of l.rules) { | ||
| for (const app of rule.applications) | ||
| keptLookups.add(app.apply); | ||
| } | ||
| } | ||
| } | ||
| if (sizeNew === sizeOld) { | ||
| break; | ||
| } | ||
| else { | ||
| sizeOld = sizeNew; | ||
| } | ||
| } | ||
| } | ||
| function collectAccessibleFeatures(lang, sink) { | ||
@@ -54,0 +79,0 @@ if (lang.requiredFeature) |
+8
-8
| { | ||
| "name": "@ot-builder/cli-proc", | ||
| "version": "1.6.3", | ||
| "version": "1.6.4", | ||
| "license": "MIT", | ||
@@ -27,9 +27,9 @@ "repository": { | ||
| "tslib": "^2.0.0", | ||
| "@ot-builder/io-bin-font": "1.6.3", | ||
| "@ot-builder/primitive": "1.6.3", | ||
| "@ot-builder/common-impl": "1.6.3", | ||
| "@ot-builder/rectify": "1.6.3", | ||
| "@ot-builder/trace": "1.6.3", | ||
| "@ot-builder/prelude": "1.6.3", | ||
| "@ot-builder/ot": "1.6.3" | ||
| "@ot-builder/io-bin-font": "1.6.4", | ||
| "@ot-builder/primitive": "1.6.4", | ||
| "@ot-builder/common-impl": "1.6.4", | ||
| "@ot-builder/rectify": "1.6.4", | ||
| "@ot-builder/trace": "1.6.4", | ||
| "@ot-builder/prelude": "1.6.4", | ||
| "@ot-builder/ot": "1.6.4" | ||
| }, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
109511
3.03%2652
3.19%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated