Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to HarfBuzz 8.0.0 #89

Merged
merged 1 commit into from
Jul 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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