#126473 - Lick - Mon Apr 23, 2007 2:45 pm
_________________________
Updated 24 april:
Download FreeType2 library:
FreeType2 core
FreeType2 full (use this one)
The Full version contains all the available modules, except for the GZIP-module and the gzip-dependent PCF-module. I couldn't get it to compile that module, maybe someone else can.
Download demo:
Demo displays Chinese characters with color
_________________________
Original message:
I have successfully ported FreeType2 to the DS. However I have stripped out some of its features. You can examine the source and rebuild the library if you want to.
To rebuild with different options, edit the files in /include/freetype/config/*.h. Also, in the /source/ directory, you have to rename some directories/files removing the "_DISABLED" that I added onto them to prevent compilation.
Anyway, FreeType2 (2.3.4) that *should* support:
- TrueType, OpenType and Windows Fonts.
- Monotone vs Antialiased rendering.
FreeType2 Tutorial
I have only tested the initialization of FreeType2 and loaded a font. That all works, but I haven't tried anything beyond that. I kind of released this in a hurry, since I don't have a lot of time on my hands. I will try to squeeze in a font rendering demo this week.
- Lick
Oh shit! Forgot to include the License
_________________
http://licklick.wordpress.com
Last edited by Lick on Wed Apr 25, 2007 6:22 pm; edited 4 times in total
Updated 24 april:
Download FreeType2 library:
FreeType2 core
FreeType2 full (use this one)
The Full version contains all the available modules, except for the GZIP-module and the gzip-dependent PCF-module. I couldn't get it to compile that module, maybe someone else can.
Download demo:
Demo displays Chinese characters with color
_________________________
Original message:
I have successfully ported FreeType2 to the DS. However I have stripped out some of its features. You can examine the source and rebuild the library if you want to.
To rebuild with different options, edit the files in /include/freetype/config/*.h. Also, in the /source/ directory, you have to rename some directories/files removing the "_DISABLED" that I added onto them to prevent compilation.
Anyway, FreeType2 (2.3.4) that *should* support:
- TrueType, OpenType and Windows Fonts.
- Monotone vs Antialiased rendering.
FreeType2 Tutorial
I have only tested the initialization of FreeType2 and loaded a font. That all works, but I haven't tried anything beyond that. I kind of released this in a hurry, since I don't have a lot of time on my hands. I will try to squeeze in a font rendering demo this week.
- Lick
Oh shit! Forgot to include the License
_________________
http://licklick.wordpress.com
Last edited by Lick on Wed Apr 25, 2007 6:22 pm; edited 4 times in total