Support and General Use > Theming and Appearance Customization
How do I make large fonts with 35+ fontsize?
dforionstar:
Due to vision issues, I would like to test the larger fontsize for the FM Radio on a Sansa Fuze v.2.
With Rockbox Font Converter, when I try making a .FNT file from arialbd.ttf with fontsize = 35, I get an .FNT with file size = 0. I tried on two separate PC's with the same result.
Is there maximum fontsize the Rockbox Font Converter can process? Is there another way to get larger FNT fonts from TTF fonts?
Is there any way I can get this conversion to work? I also want to try a fontsize =40 if possible.
Thank you!
Dave S. :)
Windows XP Pro SP3
Rockbox 3.7.1
Sansa Fuze v.2
Anapan:
Definitely a limit. I couldn't convert over point size 31. I used Fony to convert the TTF to BDF, then Convbdf to convert to a FNT file. Convbdf crashed when I attempted to convert any larger point sizes of Arial Bold.
fml2:
Convbdf does work at least for some fonts larger than 31 pixels. How else would 35 pixels high fonts from the font pack would have beenn produced?
Please create an FS bug report and attach the BDF which makes convbdf to crash. Also (just for the case) try to use the latest version of convbdf.
karl2:
Maybe some buffer-sizing issue ? It doesn't work for me either.
"make fontzip" obscures the problem - no error messages are shown.
$ ../tools/convbdf -f largefont.bdf
ERROR: Character 768: Glyph of size 217 x 107 can't be rotated (buffer size is 2048, needs 3038)
ERROR: Error opening file: -v
fml2:
I can only repeat myself: Please create an FS bug report and attach the BDF which makes convbdf to crash or to produce the indicated error message (which is not a crash BTW). Then there is a good chance that the error will be fixed quickly.
Post Merge: December 13, 2010, 05:34:28 AMHuh, that must be a huge font! The glyph is 217 pixels wide and 107 pixels high. How did you create it? Are you sure that's your intended size?
And indeed: in convbdf, there is a buffer of fixed size (2048) that is used for internal processing. This buffer is too small to process such a huge glyph.
Navigation
[0] Message Index
[#] Next page
Go to full version