@ot-builder/io-bin-ttf 1.7.2 → 1.7.4
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/glyf/classifier.d.ts +0 -1
- package/lib/glyf/shared.d.ts +6 -6
- package/lib/rectify/rectify.js +1 -2
- package/package.json +18 -18
package/lib/glyf/classifier.d.ts
CHANGED
package/lib/glyf/shared.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const GlyfTag = "glyf";
|
|
2
2
|
export declare enum SimpleGlyphFlag {
|
|
3
|
-
ON_CURVE_POINT = 1,
|
|
4
|
-
X_SHORT_VECTOR = 2
|
|
5
|
-
Y_SHORT_VECTOR = 4
|
|
6
|
-
REPEAT_FLAG = 8
|
|
7
|
-
X_IS_SAME_OR_POSITIVE_X_SHORT_VECTOR = 16
|
|
8
|
-
Y_IS_SAME_OR_POSITIVE_Y_SHORT_VECTOR = 32
|
|
3
|
+
ON_CURVE_POINT = 1,// on curve ,off curve
|
|
4
|
+
X_SHORT_VECTOR = 2,// x-Short Vector
|
|
5
|
+
Y_SHORT_VECTOR = 4,// y-Short Vector
|
|
6
|
+
REPEAT_FLAG = 8,// next byte is flag repeat count
|
|
7
|
+
X_IS_SAME_OR_POSITIVE_X_SHORT_VECTOR = 16,// This x is same (Positive x-Short vector)
|
|
8
|
+
Y_IS_SAME_OR_POSITIVE_Y_SHORT_VECTOR = 32,// This y is same (Positive y-Short vector)
|
|
9
9
|
OVERLAP_SIMPLE = 64,
|
|
10
10
|
Reserved = 128
|
|
11
11
|
}
|
package/lib/rectify/rectify.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.rectifyGlyphOrder =
|
|
3
|
+
exports.rectifyGlyphOrder = rectifyGlyphOrder;
|
|
4
4
|
const errors_1 = require("@ot-builder/errors");
|
|
5
5
|
const ot_glyphs_1 = require("@ot-builder/ot-glyphs");
|
|
6
6
|
const variance_1 = require("@ot-builder/variance");
|
|
@@ -10,7 +10,6 @@ function rectifyGlyphOrder(gOrd) {
|
|
|
10
10
|
rectifyGlyph(glyph, gs);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
exports.rectifyGlyphOrder = rectifyGlyphOrder;
|
|
14
13
|
function rectifyGlyph(glyph, gs) {
|
|
15
14
|
if (gs.has(glyph))
|
|
16
15
|
return;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ot-builder/io-bin-ttf",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ot-builder/bin-util": "1.7.
|
|
28
|
-
"@ot-builder/common-impl": "1.7.
|
|
29
|
-
"@ot-builder/errors": "1.7.
|
|
30
|
-
"@ot-builder/ot-glyphs": "1.7.
|
|
31
|
-
"@ot-builder/ot-metadata": "1.7.
|
|
32
|
-
"@ot-builder/prelude": "1.7.
|
|
33
|
-
"@ot-builder/primitive": "1.7.
|
|
34
|
-
"@ot-builder/stat-glyphs": "1.7.
|
|
35
|
-
"@ot-builder/var-store": "1.7.
|
|
36
|
-
"@ot-builder/variance": "1.7.
|
|
37
|
-
"tslib": "^2.
|
|
27
|
+
"@ot-builder/bin-util": "1.7.4",
|
|
28
|
+
"@ot-builder/common-impl": "1.7.4",
|
|
29
|
+
"@ot-builder/errors": "1.7.4",
|
|
30
|
+
"@ot-builder/ot-glyphs": "1.7.4",
|
|
31
|
+
"@ot-builder/ot-metadata": "1.7.4",
|
|
32
|
+
"@ot-builder/prelude": "1.7.4",
|
|
33
|
+
"@ot-builder/primitive": "1.7.4",
|
|
34
|
+
"@ot-builder/stat-glyphs": "1.7.4",
|
|
35
|
+
"@ot-builder/var-store": "1.7.4",
|
|
36
|
+
"@ot-builder/variance": "1.7.4",
|
|
37
|
+
"tslib": "^2.6.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ot-builder/ot-sfnt": "1.7.
|
|
41
|
-
"@ot-builder/io-bin-metadata": "1.7.
|
|
42
|
-
"@ot-builder/io-bin-sfnt": "1.7.
|
|
43
|
-
"@ot-builder/test-util": "1.7.
|
|
44
|
-
"@types/jest": "^29.5.
|
|
45
|
-
"jest": "^29.
|
|
40
|
+
"@ot-builder/ot-sfnt": "1.7.4",
|
|
41
|
+
"@ot-builder/io-bin-metadata": "1.7.4",
|
|
42
|
+
"@ot-builder/io-bin-sfnt": "1.7.4",
|
|
43
|
+
"@ot-builder/test-util": "1.7.4",
|
|
44
|
+
"@types/jest": "^29.5.12",
|
|
45
|
+
"jest": "^29.7.0"
|
|
46
46
|
}
|
|
47
47
|
}
|