Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
text: fix bitmap y offset computation
This commit fixes a bug that would incorrectly baseline bitmap glyphs text if the line contained another font with a taller line height. The logic for computing the y offset of the glyph incorrectly assumed that the Glyph.Ascent was particular to the glyph instead of the line. I've updated it to use a glyph-specific value. Signed-off-by: Chris Waldon <[email protected]>
- Loading branch information