commit | c9796d15e1ec5f8939f8b1ae368cb3352b6a9cb9 | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaledhosny@eglug.org> | Mon Jul 22 03:57:24 2019 +0200 |
committer | Khaled Hosny <khaledhosny@eglug.org> | Mon Jul 22 05:42:34 2019 +0200 |
tree | dcdac05fe9fb6b3f56ad6da339833c8bc249019f | |
parent | 759f3bd486c99bb09fb9fa5f42e621ec21399df8 [diff] |
Fix sbix glyph extents * The ‘height’ needs to be negated since the API returns “distance from top to bottom side”. * Similarly, the ‘y_offset‘ needs to be added to the height to get the ‘y_bearing’, since sbix’s offset is “the point in the glyph relative to its lower-left corner which corresponds to the origin” while ‘y_bearing’ is the “top side of glyph from origin”. With these changes the sbix glyph metrics return values similar to other tables, as they were otherwise unusable.
This is HarfBuzz, a text shaping library.
For bug reports, mailing list, and other information please visit:
For license information, see COPYING.
For build information, see BUILD.md.
For custom configurations, see CONFIG.md.
For test execution, see TESTING.md.
Documentation: https://harfbuzz.github.io