ucglib icon indicating copy to clipboard operation
ucglib copied to clipboard

Feature request: How big is the background affected by UCG_FONT_MODE_SOLID?

Open edjubenville opened this issue 5 years ago • 0 comments

Using UCG_FONT_MODE_SOLID writes a larger vertical area than can be deduced from getFontAscent and getFontDescent. Ideally, I would like to see new APIs like getFontElevation and getFontDepth that would return the offsets from the font baseline to the top and bottom of the written box, respectively.

In lieu of that, what is the proper technique to determine these values by accessing the font structures directly?

edjubenville avatar Apr 30 '19 17:04 edjubenville