Skip to content

Commit

Permalink
shaper: fix nasty sign bug in font functions
Browse files Browse the repository at this point in the history
Fixes issue #68.
  • Loading branch information
grigorig committed Mar 17, 2014
1 parent a7a767f commit 29cd736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libass/ass_shaper.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ cached_extents(hb_font_t *font, void *font_data, hb_codepoint_t glyph,
extents->x_bearing = metrics->metrics.horiBearingX;
extents->y_bearing = metrics->metrics.horiBearingY;
extents->width = metrics->metrics.width;
extents->height = metrics->metrics.height;
extents->height = -metrics->metrics.height;

return 1;
}
Expand Down

0 comments on commit 29cd736

Please sign in to comment.