@ot-builder/io-bin-layout 1.7.4 → 1.7.6
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/lib/gdef/attachment-point.d.ts +1 -2
- package/lib/math/kern.js +4 -2
- package/lib/shared/class-def.d.ts +1 -1
- package/package.json +21 -21
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Frag } from "@ot-builder/bin-util";
|
|
2
1
|
import { OtGlyph } from "@ot-builder/ot-glyphs";
|
|
3
2
|
import { Gdef } from "@ot-builder/ot-layout";
|
|
4
3
|
import { Data } from "@ot-builder/prelude";
|
|
5
4
|
import { LayoutCfg } from "../cfg";
|
|
6
5
|
export declare const GdefAttachmentPointList: {
|
|
7
|
-
write(target: Frag, t: Gdef.AttachPointList, cfg: LayoutCfg, gOrd: Data.Order<OtGlyph>): void;
|
|
6
|
+
write(target: import("@ot-builder/bin-util").Frag, t: Gdef.AttachPointList, cfg: LayoutCfg, gOrd: Data.Order<OtGlyph>): void;
|
|
8
7
|
read(view: import("@ot-builder/bin-util").BinaryView, gOrd: Data.Order<OtGlyph>): Gdef.AttachPointList;
|
|
9
8
|
};
|
|
10
9
|
//# sourceMappingURL=attachment-point.d.ts.map
|
package/lib/math/kern.js
CHANGED
|
@@ -15,8 +15,10 @@ const MathKern = {
|
|
|
15
15
|
write(fr, x) {
|
|
16
16
|
const correctionHeight = [];
|
|
17
17
|
const kernValues = [];
|
|
18
|
-
for (const [h, v] of x.corrections)
|
|
19
|
-
correctionHeight.push(h)
|
|
18
|
+
for (const [h, v] of x.corrections) {
|
|
19
|
+
correctionHeight.push(h);
|
|
20
|
+
kernValues.push(v);
|
|
21
|
+
}
|
|
20
22
|
kernValues.push(x.kernValue);
|
|
21
23
|
fr.uint16(correctionHeight.length);
|
|
22
24
|
fr.arrayN(math_value_record_1.MathValueRecord, correctionHeight.length, correctionHeight);
|
|
@@ -17,7 +17,7 @@ export declare const ClassDef: {
|
|
|
17
17
|
export declare const Ptr16ClassDef: Read<LayoutCommon.ClassDef.T<OtGlyph>, [gOrd: Data.Order<OtGlyph>]> & Write<Iterable<[OtGlyph, number]>, [gOrd: Data.Order<OtGlyph>, trick?: number | undefined]>;
|
|
18
18
|
export declare const NullablePtr16ClassDef: Read<LayoutCommon.ClassDef.T<OtGlyph> | null | undefined, [gOrd: Data.Order<OtGlyph>]> & Write<Iterable<[OtGlyph, number]> | null | undefined, [gOrd: Data.Order<OtGlyph>, trick?: number | undefined]>;
|
|
19
19
|
export declare const EmptyAsNullPtr16ClassDef: {
|
|
20
|
-
read(view: BinaryView, gOrd: Data.Order<OtGlyph>):
|
|
20
|
+
read(view: BinaryView, gOrd: Data.Order<OtGlyph>): LayoutCommon.ClassDef.T<OtGlyph>;
|
|
21
21
|
write(frag: Frag, cd: Map<OtGlyph, number>, gOrd: Data.Order<OtGlyph>, trick?: number): void;
|
|
22
22
|
};
|
|
23
23
|
export declare const GidClassDef: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ot-builder/io-bin-layout",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ot-builder/bin-composite-types": "1.7.
|
|
27
|
-
"@ot-builder/bin-util": "1.7.
|
|
28
|
-
"@ot-builder/errors": "1.7.
|
|
29
|
-
"@ot-builder/ot-glyphs": "1.7.
|
|
30
|
-
"@ot-builder/ot-layout": "1.7.
|
|
31
|
-
"@ot-builder/ot-metadata": "1.7.
|
|
32
|
-
"@ot-builder/prelude": "1.7.
|
|
33
|
-
"@ot-builder/primitive": "1.7.
|
|
34
|
-
"@ot-builder/var-store": "1.7.
|
|
35
|
-
"@ot-builder/variance": "1.7.
|
|
36
|
-
"@ot-builder/common-impl": "1.7.
|
|
37
|
-
"@ot-builder/ot-sfnt": "1.7.
|
|
38
|
-
"@ot-builder/io-bin-sfnt": "1.7.
|
|
39
|
-
"tslib": "^2.
|
|
26
|
+
"@ot-builder/bin-composite-types": "1.7.6",
|
|
27
|
+
"@ot-builder/bin-util": "1.7.6",
|
|
28
|
+
"@ot-builder/errors": "1.7.5",
|
|
29
|
+
"@ot-builder/ot-glyphs": "1.7.6",
|
|
30
|
+
"@ot-builder/ot-layout": "1.7.6",
|
|
31
|
+
"@ot-builder/ot-metadata": "1.7.6",
|
|
32
|
+
"@ot-builder/prelude": "1.7.5",
|
|
33
|
+
"@ot-builder/primitive": "1.7.6",
|
|
34
|
+
"@ot-builder/var-store": "1.7.6",
|
|
35
|
+
"@ot-builder/variance": "1.7.6",
|
|
36
|
+
"@ot-builder/common-impl": "1.7.5",
|
|
37
|
+
"@ot-builder/ot-sfnt": "1.7.6",
|
|
38
|
+
"@ot-builder/io-bin-sfnt": "1.7.6",
|
|
39
|
+
"tslib": "^2.8.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@ot-builder/io-bin-glyph-store": "1.7.
|
|
43
|
-
"@ot-builder/io-bin-metadata": "1.7.
|
|
44
|
-
"@ot-builder/ot-encoding": "1.7.
|
|
45
|
-
"@ot-builder/io-bin-encoding": "1.7.
|
|
46
|
-
"@ot-builder/test-util": "1.7.
|
|
47
|
-
"@types/jest": "^29.5.
|
|
42
|
+
"@ot-builder/io-bin-glyph-store": "1.7.6",
|
|
43
|
+
"@ot-builder/io-bin-metadata": "1.7.6",
|
|
44
|
+
"@ot-builder/ot-encoding": "1.7.6",
|
|
45
|
+
"@ot-builder/io-bin-encoding": "1.7.6",
|
|
46
|
+
"@ot-builder/test-util": "1.7.6",
|
|
47
|
+
"@types/jest": "^29.5.14",
|
|
48
48
|
"jest": "^29.7.0"
|
|
49
49
|
}
|
|
50
50
|
}
|