You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to figure out points and 1/72 and 141 DPI and such not is crazy-making. Can we have an option for "px" size, that tries to convert your px into the right "points" value to yield a font approximate the given number of pixels high?
For example, the GFXglyph array for a particular font I have is named "12pt7bGlyphs" (ie, it was "12 points") but the third component (the y size) for most glyphs is 15. So I'd call this a 15px font...
The text was updated successfully, but these errors were encountered:
Size is such a complicated thing with these conversion tools because the fonts can contain lots of size information that determines the size that actually comes out. Also my interface is just a thin layer on top of the Adafruit command line tool. Sure, I could add bells and whistles, but the more I do, the more I take responsibility for what comes out. ;-)
Also, I don't want to have to write/integrate code that analyses the whole font to try and figure out properties of it. Look at this thing as an imperfect tool. One that lets you do the things the Adafruit tool lets you do, but without the hassle of compiling, and with a very basic preview of what it'll look like.
Trying to figure out points and 1/72 and 141 DPI and such not is crazy-making. Can we have an option for "px" size, that tries to convert your px into the right "points" value to yield a font approximate the given number of pixels high?
For example, the GFXglyph array for a particular font I have is named "12pt7bGlyphs" (ie, it was "12 points") but the third component (the y size) for most glyphs is 15. So I'd call this a 15px font...
The text was updated successfully, but these errors were encountered: