Re: Font Rendering: Multiple FT_Faces and baselines
Alexei Podtelezhnikov <[email protected]> Sat, 29 Jul 2023 23:37:50 -0400
| Newsgroups | gmane.comp.fonts.freetype.user |
|---|---|
| Message-ID | <CAJU=AjU3J1qxoXPgcFANRX6o1kHem+A3UW_snu2WTvpaeO6=vw@mail.gmail.com> |
> > ... calculate an "average" baseline and align to that ... > Or align to the midpoints of the overall font glyph boxes (including > font ascent and font descent). That may be a suitable compromise. Or... whatever works. FreeType provides a client with all kinds of metrics and bounding boxes, bitmap sizes and offsets. Use them as you see fit for text layout or graffiti.