Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Commit

Permalink
Fix sbix glyph extents
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Aug 10, 2019
1 parent 1e1bfe3 commit 6060e13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ struct sbix
const PNGHeader &png = *blob->as<PNGHeader>();

extents->x_bearing = x_offset;
extents->y_bearing = y_offset;
extents->y_bearing = png.IHDR.height + y_offset;
extents->width = png.IHDR.width;
extents->height = png.IHDR.height;
extents->height = -png.IHDR.height;

/* Convert to font units. */
if (strike_ppem)
Expand Down

0 comments on commit 6060e13

Please sign in to comment.