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
* Add it to the `[FONTS]` section of `config.toml`
30
30
31
-
Presently all fonts are genreated at the same range of sizes, `SIZES` in `config.toml`.
31
+
Presently all fonts are generated at the same range of sizes, `SIZES` in `config.toml`. This restriction could be lifted if it's for a good reason.
32
32
33
33
## Variants
34
34
35
35
Two variants of each font are generated: The ASCII variant with code points 32-126, and the full variant with all glyphs in the original font. The ASCII variant can be especially useful when flash space is at a premium.
36
+
37
+
More variants could be added for a good reason; it should be configurable in config.toml and possibly be settable per font.
38
+
39
+
## Font Sizing
40
+
41
+
The font sizes in this bundle are in pixels.
42
+
Or, to be more technically accurte, they are rendered at a resolution of 1 pixel = 1/72 inch = 1 point.
43
+
If you follow the [directions on learn](https://learn.adafruit.com/custom-fonts-for-pyportal-circuitpython-display/use-otf2bdf) your font is rendered at a scale of 1 pixel = 1/100 inch = 0.72 points.
44
+
This means the resulting font pixel sizes are 33-40% larger for the Learn guide instructions vs the fonts in this bundle.
45
+
In any case, you will likely need to manually test font sizes until you find the best one for your application and display.
0 commit comments