harfbuzzjs 0.10.2 → 0.10.3
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/hb-subset.wasm +0 -0
- package/hb.wasm +0 -0
- package/package.json +1 -1
- package/test/index.js +4 -4
package/hb-subset.wasm
CHANGED
|
Binary file
|
package/hb.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/test/index.js
CHANGED
|
@@ -882,7 +882,7 @@ describe('shape', function () {
|
|
|
882
882
|
buffer.addText('abc');
|
|
883
883
|
buffer.guessSegmentProperties();
|
|
884
884
|
const result = hb.shapeWithTrace(font, buffer, "", 0, 0)
|
|
885
|
-
expect(result).to.have.lengthOf(
|
|
885
|
+
expect(result).to.have.lengthOf(59);
|
|
886
886
|
expect(result[2]).to.deep.equal({
|
|
887
887
|
"m": "start table GSUB script tag 'latn'",
|
|
888
888
|
"glyphs": true,
|
|
@@ -892,7 +892,7 @@ describe('shape', function () {
|
|
|
892
892
|
{ cl: 2, g: 70 },
|
|
893
893
|
],
|
|
894
894
|
});
|
|
895
|
-
expect(result[
|
|
895
|
+
expect(result[58]).to.deep.equal({
|
|
896
896
|
"m": "end table GPOS script tag 'latn'",
|
|
897
897
|
"glyphs": true,
|
|
898
898
|
"t": [
|
|
@@ -911,7 +911,7 @@ describe('shape', function () {
|
|
|
911
911
|
buffer.addText('fi AV');
|
|
912
912
|
buffer.guessSegmentProperties();
|
|
913
913
|
const result = hb.shapeWithTrace(font, buffer, "-liga,-kern", 0, 0)
|
|
914
|
-
expect(result).to.have.lengthOf(
|
|
914
|
+
expect(result).to.have.lengthOf(46);
|
|
915
915
|
expect(result[2]).to.deep.equal({
|
|
916
916
|
"m": "start table GSUB script tag 'latn'",
|
|
917
917
|
"glyphs": true,
|
|
@@ -923,7 +923,7 @@ describe('shape', function () {
|
|
|
923
923
|
{ cl: 4, g: 57 },
|
|
924
924
|
],
|
|
925
925
|
});
|
|
926
|
-
expect(result[
|
|
926
|
+
expect(result[45]).to.deep.equal({
|
|
927
927
|
"m": "end table GPOS script tag 'latn'",
|
|
928
928
|
"glyphs": true,
|
|
929
929
|
"t": [
|