Skip to content

Commit

Permalink
Update to HarfBuzz 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Jul 9, 2023
1 parent 3e84869 commit a760edb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion harfbuzz
Submodule harfbuzz updated 220 files
2 changes: 1 addition & 1 deletion hbjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ hbjs_glyph_svg (hb_font_t *font, hb_codepoint_t glyph, char *buf, unsigned buf_s
}

user_data_t draw_data(buf, buf_size);
hb_font_get_glyph_shape (font, glyph, funcs, &draw_data);
hb_font_draw_glyph (font, glyph, funcs, &draw_data);
if (draw_data.failure)
return -1;

Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('shape', function () {
const result = hb.shapeWithTrace(this.font, this.buffer, 0, 0)
expect(result).to.have.lengthOf(42);
expect(result[0]).to.deep.equal({
"m": "start table GSUB",
"m": "start table GSUB script tag 'latn'",
"glyphs": true,
"t": [
{cl: 0, g: 68},
Expand All @@ -173,7 +173,7 @@ describe('shape', function () {
],
});
expect(result[41]).to.deep.equal({
"m": "end table GPOS",
"m": "end table GPOS script tag 'latn'",
"glyphs": true,
"t": [
{cl: 0, g: 68, ax: 561, ay: 0, dx: 0, dy: 0},
Expand Down

0 comments on commit a760edb

Please sign in to comment.