Monochrome alpha-channel bitmap => TTF #128
Replies: 1 comment
-
|
Confused what the tool serves for. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for the tool! So I've:
{ "tile_width": 20, // px "tile_height": 25, // px "baseline": 19, // px - from top to where letters lie "lines": ".!?:,;~*_-=+´`<>/|\\#^%\"'£$¥&()[]{}@0123456789AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÇçÃÂÁÀãâáàÉÊÈéêèÍÎÌíîìÕÓÔÒÖõóôòöÚÛÙúûù " }I also have an image with varying alpha (due to antialiasing), e.g. alpha=0, alpha=0.5, alpha=1, generated together with the above JSON. Its overall width is 2720x25. I used the HTML5 canvas to generate it, drawing by font size 25px, centering and using top-baseline.
I tried setting BMF to pack texture at fixed size, but I get the error:
Beta Was this translation helpful? Give feedback.
All reactions