x/image/font/sfnt: read more glyph metrics #30699
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Aligning text (left/right) requires access to more glyph metrics then AdvanceX. The side bearings (LSB/RSB) are required to know how much "whitespace" there is left/right of a glyph.
I'd like to propose a GlyphMetrics method which calculates and returns the LSB, RSB, Width and AdvanceX.
CL with working prototype is on its way.
The text was updated successfully, but these errors were encountered: