-
Is there a way to tell stb truetype to pack glyphs in equally sized cells instead of packing them closely together, when using monospaced fonts? |
Beta Was this translation helpful? Give feedback.
Answered by
nothings
Nov 3, 2021
Replies: 1 comment
-
No, the "bake a bunch of glyphs" API doesn't support this, but it's very easy to do yourself. Normally packing is complicated, which is why there's a routine to do it for you, but for this case you can just iterate through the grid and render each one, one at a time. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nothings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, the "bake a bunch of glyphs" API doesn't support this, but it's very easy to do yourself. Normally packing is complicated, which is why there's a routine to do it for you, but for this case you can just iterate through the grid and render each one, one at a time.