376
Discussion - EVE / Re: Speeding up font conversion
« on: May 26, 2019, 11:52:00 AM »
I converted the notosans-regular-webfont.ttf I generated to sizes from 13 to 30 now.
I used the EVE Asset Builder 0.4.2 with its default settings and only changed the font-size from one conversion to the next.
ASTC block footprints: auto
Compression Speed: thorough
Addr of Font Data: FLASH 4096
I put all the .glyph and .xfont files in a flash image and placed an image at the end.
My programm first copies the .xfont files to G-RAM using cmd_flashread.
In the display-list my programm used cmd_setfont2 to assign bitmap handles to the custom fonts.
And finally my programm prints out the same text ten times with different fonts.
The first 9 lines are font-sizes 13 to 21, the last line is with internal font 28.
The image is displayed directly from FLASH.
I was prepared to add my files as attachments but I could not attach them all: Restrictions: 4 per post, maximum total size 192KB, maximum individual size 128KB
The high-res version of Font_Test_4.jpg is 1,09MB and the zipped Font-Test_4.bin is 219kB.
The notosans-regular-webfont.ttf is the version of the notosans-regular.ttf from Google that I stripped down to only 222 Glyphs.
This is purely attached for testing purposes and in no way meant as redistribution for anything else but testing.
I used the EVE Asset Builder 0.4.2 with its default settings and only changed the font-size from one conversion to the next.
ASTC block footprints: auto
Compression Speed: thorough
Addr of Font Data: FLASH 4096
I put all the .glyph and .xfont files in a flash image and placed an image at the end.
My programm first copies the .xfont files to G-RAM using cmd_flashread.
In the display-list my programm used cmd_setfont2 to assign bitmap handles to the custom fonts.
And finally my programm prints out the same text ten times with different fonts.
The first 9 lines are font-sizes 13 to 21, the last line is with internal font 28.
The image is displayed directly from FLASH.
I was prepared to add my files as attachments but I could not attach them all: Restrictions: 4 per post, maximum total size 192KB, maximum individual size 128KB
The high-res version of Font_Test_4.jpg is 1,09MB and the zipped Font-Test_4.bin is 219kB.
The notosans-regular-webfont.ttf is the version of the notosans-regular.ttf from Google that I stripped down to only 222 Glyphs.
This is purely attached for testing purposes and in no way meant as redistribution for anything else but testing.