@ot-builder/io-bin-ttf 1.3.3 → 1.4.0

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/CHANGELOG.json CHANGED
@@ -2,7 +2,112 @@
2
2
  "name": "@ot-builder/io-bin-ttf",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 18 Dec 2021 01:17:28 GMT",
5
+ "date": "Sat, 26 Feb 2022 01:26:05 GMT",
6
+ "tag": "@ot-builder/io-bin-ttf_v1.4.0",
7
+ "version": "1.4.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "otbbuilder-dev@users.noreply.github.com",
12
+ "package": "@ot-builder/io-bin-ttf",
13
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59",
14
+ "comment": "Export Ot.GeometryUtil"
15
+ },
16
+ {
17
+ "author": "otbbuilder-dev@users.noreply.github.com",
18
+ "package": "@ot-builder/io-bin-ttf",
19
+ "commit": "d5ef5ade3424ec81b7545c9967badddeb9cc8f1b",
20
+ "comment": "Enhance OTBCLI with better subset, drop and transform-glyphs"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@ot-builder/io-bin-ttf",
25
+ "comment": "Bump @ot-builder/bin-util to v1.4.0",
26
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@ot-builder/io-bin-ttf",
31
+ "comment": "Bump @ot-builder/common-impl to v1.4.0",
32
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@ot-builder/io-bin-ttf",
37
+ "comment": "Bump @ot-builder/errors to v1.4.0",
38
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@ot-builder/io-bin-ttf",
43
+ "comment": "Bump @ot-builder/ot-glyphs to v1.4.0",
44
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@ot-builder/io-bin-ttf",
49
+ "comment": "Bump @ot-builder/ot-metadata to v1.4.0",
50
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@ot-builder/io-bin-ttf",
55
+ "comment": "Bump @ot-builder/prelude to v1.4.0",
56
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@ot-builder/io-bin-ttf",
61
+ "comment": "Bump @ot-builder/primitive to v1.4.0",
62
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@ot-builder/io-bin-ttf",
67
+ "comment": "Bump @ot-builder/stat-glyphs to v1.4.0",
68
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@ot-builder/io-bin-ttf",
73
+ "comment": "Bump @ot-builder/var-store to v1.4.0",
74
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@ot-builder/io-bin-ttf",
79
+ "comment": "Bump @ot-builder/variance to v1.4.0",
80
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@ot-builder/io-bin-ttf",
85
+ "comment": "Bump @ot-builder/ot-sfnt to v1.4.0",
86
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@ot-builder/io-bin-ttf",
91
+ "comment": "Bump @ot-builder/io-bin-metadata to v1.4.0",
92
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
93
+ },
94
+ {
95
+ "author": "beachball",
96
+ "package": "@ot-builder/io-bin-ttf",
97
+ "comment": "Bump @ot-builder/io-bin-sfnt to v1.4.0",
98
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
99
+ },
100
+ {
101
+ "author": "beachball",
102
+ "package": "@ot-builder/io-bin-ttf",
103
+ "comment": "Bump @ot-builder/test-util to v1.4.0",
104
+ "commit": "f1c3eedd84cadff44ee97d878a245b451ce7bd59"
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ {
110
+ "date": "Sat, 18 Dec 2021 01:19:54 GMT",
6
111
  "tag": "@ot-builder/io-bin-ttf_v1.3.3",
7
112
  "version": "1.3.3",
8
113
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,35 @@
1
1
  # Change Log - @ot-builder/io-bin-ttf
2
2
 
3
- This log was last generated on Sat, 18 Dec 2021 01:17:28 GMT and should not be manually modified.
3
+ This log was last generated on Sat, 26 Feb 2022 01:26:05 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.4.0
8
+
9
+ Sat, 26 Feb 2022 01:26:05 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Export Ot.GeometryUtil (otbbuilder-dev@users.noreply.github.com)
14
+ - Enhance OTBCLI with better subset, drop and transform-glyphs (otbbuilder-dev@users.noreply.github.com)
15
+ - Bump @ot-builder/bin-util to v1.4.0
16
+ - Bump @ot-builder/common-impl to v1.4.0
17
+ - Bump @ot-builder/errors to v1.4.0
18
+ - Bump @ot-builder/ot-glyphs to v1.4.0
19
+ - Bump @ot-builder/ot-metadata to v1.4.0
20
+ - Bump @ot-builder/prelude to v1.4.0
21
+ - Bump @ot-builder/primitive to v1.4.0
22
+ - Bump @ot-builder/stat-glyphs to v1.4.0
23
+ - Bump @ot-builder/var-store to v1.4.0
24
+ - Bump @ot-builder/variance to v1.4.0
25
+ - Bump @ot-builder/ot-sfnt to v1.4.0
26
+ - Bump @ot-builder/io-bin-metadata to v1.4.0
27
+ - Bump @ot-builder/io-bin-sfnt to v1.4.0
28
+ - Bump @ot-builder/test-util to v1.4.0
29
+
7
30
  ## 1.3.3
8
31
 
9
- Sat, 18 Dec 2021 01:17:28 GMT
32
+ Sat, 18 Dec 2021 01:19:54 GMT
10
33
 
11
34
  ### Patches
12
35
 
@@ -115,8 +115,8 @@ class SimpleGlyph extends SpaceGlyph {
115
115
  super(gid, hm, vm);
116
116
  this.outlines = outlines;
117
117
  this.instructions = instructions;
118
- const bound = ot_glyphs_1.OtGeometryHandler.stat(ot_glyphs_1.OtGeometryHandler.GetBound, ...this.outlines);
119
- const pointCount = ot_glyphs_1.OtGeometryHandler.stat(ot_glyphs_1.OtGeometryHandler.CountPoint, ...this.outlines);
118
+ const bound = ot_glyphs_1.OtGeometryUtil.apply(ot_glyphs_1.OtGeometryUtil.GetBound, ...this.outlines);
119
+ const pointCount = ot_glyphs_1.OtGeometryUtil.apply(ot_glyphs_1.OtGeometryUtil.CountPoint, ...this.outlines);
120
120
  let contourCount = 0;
121
121
  for (const cs of outlines)
122
122
  contourCount += cs.contours.length;
@@ -155,7 +155,7 @@ class CompositeGlyph extends SpaceGlyph {
155
155
  totalContours += stat.totalContours;
156
156
  totalPoints += stat.totalPoints;
157
157
  }
158
- const bound = ot_glyphs_1.OtGeometryHandler.stat(ot_glyphs_1.OtGeometryHandler.GetBound, ...references);
158
+ const bound = ot_glyphs_1.OtGeometryUtil.apply(ot_glyphs_1.OtGeometryUtil.GetBound, ...references);
159
159
  this.st = {
160
160
  eigenContours: 0,
161
161
  eigenPoints: 0,
@@ -56,7 +56,7 @@ class AttachmentPointToCoordAlg {
56
56
  return (st) => {
57
57
  rectifyGlyph(ref.to, this.gs);
58
58
  let tfm = ref.transform;
59
- const innerPoints = ot_glyphs_1.OtGeometryHandler.stat(ot_glyphs_1.OtGeometryHandler.ListPoint, ref.to.geometry);
59
+ const innerPoints = ot_glyphs_1.OtGeometryUtil.apply(ot_glyphs_1.OtGeometryUtil.ListPoint, ref.to.geometry);
60
60
  if (ref.pointAttachment) {
61
61
  const zOut = st.points[ref.pointAttachment.outer.pointIndex];
62
62
  const zIn = innerPoints[ref.pointAttachment.inner.pointIndex];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ot-builder/io-bin-ttf",
3
3
  "description": "",
4
- "version": "1.3.3",
4
+ "version": "1.4.0",
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.3.3",
28
- "@ot-builder/common-impl": "1.3.3",
29
- "@ot-builder/errors": "1.3.3",
30
- "@ot-builder/ot-glyphs": "1.3.3",
31
- "@ot-builder/ot-metadata": "1.3.3",
32
- "@ot-builder/prelude": "1.3.3",
33
- "@ot-builder/primitive": "1.3.3",
34
- "@ot-builder/stat-glyphs": "1.3.3",
35
- "@ot-builder/var-store": "1.3.3",
36
- "@ot-builder/variance": "1.3.3",
27
+ "@ot-builder/bin-util": "1.4.0",
28
+ "@ot-builder/common-impl": "1.4.0",
29
+ "@ot-builder/errors": "1.4.0",
30
+ "@ot-builder/ot-glyphs": "1.4.0",
31
+ "@ot-builder/ot-metadata": "1.4.0",
32
+ "@ot-builder/prelude": "1.4.0",
33
+ "@ot-builder/primitive": "1.4.0",
34
+ "@ot-builder/stat-glyphs": "1.4.0",
35
+ "@ot-builder/var-store": "1.4.0",
36
+ "@ot-builder/variance": "1.4.0",
37
37
  "tslib": "^2.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@ot-builder/ot-sfnt": "1.3.3",
41
- "@ot-builder/io-bin-metadata": "1.3.3",
42
- "@ot-builder/io-bin-sfnt": "1.3.3",
43
- "@ot-builder/test-util": "1.3.3",
40
+ "@ot-builder/ot-sfnt": "1.4.0",
41
+ "@ot-builder/io-bin-metadata": "1.4.0",
42
+ "@ot-builder/io-bin-sfnt": "1.4.0",
43
+ "@ot-builder/test-util": "1.4.0",
44
44
  "@types/jest": "^26.0.23",
45
- "jest": "^27.0.6"
45
+ "jest": "^27.5.1"
46
46
  }
47
47
  }