How do I to convert TTF font to ASCII bitmap font. (16 pixels wide by 32 pixels high,
variable width, and anti-alias) ?
Does anyone know of any programs to do this?
How do I convert TTF fonts to anti-aliased bitmap fonts?
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Re: How do I convert TTF fonts to anti-aliased bitmap fonts?
It looks like a few attempts have been made to convert TrueType fonts to ones that can specifically be printed with FB's Draw String.
I've dug up a couple of past forum threads:
https://freebasic.net/forum/viewtopic.php?f=2&t=23343
https://freebasic.net/forum/viewtopic.php?f=3&t=21916
Are they any help?
I've dug up a couple of past forum threads:
https://freebasic.net/forum/viewtopic.php?f=2&t=23343
https://freebasic.net/forum/viewtopic.php?f=3&t=21916
Are they any help?
-
- Posts: 862
- Joined: May 05, 2015 5:35
- Location: Germany
Re: How do I convert TTF fonts to anti-aliased bitmap fonts?
In all modesty:
https://www.freebasic-portal.de/code-be ... s-307.html
(Source code is commented in english)
https://www.freebasic-portal.de/code-be ... s-307.html
(Source code is commented in english)
-
- Posts: 139
- Joined: May 28, 2009 20:07
Re: How do I convert TTF fonts to anti-aliased bitmap fonts?
Works here on Mint if in FileRequester.basMuttonhead wrote:https://www.freebasic-portal.de/dlfiles ... FBFont.zip
#include once "SimpleToggle.bas"
the "t" is changed to uppercase. Thanks, nice program, used it before.