|
OKF Fonts Project This
is my biggest project for the GP32. For the moment it don't seems to be
very popular but time will tell.
The idea behind this project is to provide to GP32 font designers a way to
share fonts with other designers and developers in a standard format.
To explain what can offer OKF fonts to developers, extracted from the OKF
Font Tester help:
[...]
But first of all, what are OKF fonts?
Well, OKF stands for Oankali Font. Not very original I know :-)
OKF fonts are a new font format specially designed to suit the needs of programmers of Game Park GP32 handheld video system.
With these fonts and the OKF Font Engine, programmers have the possibility to rapidly prepare menus, options screens, etc... of the best quality.
OKF fonts are fonts of proportional width that can be antialiased or shadowed via a mask. It's the responsibility of the designer of the font to include the correct mask to achieve the right effect.
Finally, bitmaps in OKF fonts (font and/or mask bitmaps) can be run length encoded to save space on your SMC.
On the other side, the OKF Font Engine has been designed to make programmers life easier, providing some high level functions to print multiline texts, with 3 types of justification, real time effects like opacity, color overlaying and even shadow positioning.
The font engine can load fonts from the SMC card or register them directly from the memory, embedded in the program.
And how can I create an OKF font?
For the moment, there is only one way to do it, using GPFontMaker v2.0.
Select a True Type font, set properties, export bitmaps (font and/or mask), post process them with your preferred image processor and finally generate the OKF font file.
The font is ready to be used with the OKF Font Engine.
Use OKF Font Tester to test your fonts or play with the fonts of other designers.
[...]
So, to generate OKF fonts you need
GPFontMaker v2.0 and to test them you can use the OKF Font Tester program
(presented at the GBAX2004
Coding Competition as a demo).
To use OKF fonts in your programs, the best solution is to use the OKF
Font Engine that you can find in the C Libraries
section. The font engine is documented in the Docs
section where you can also find the complete specification of the OKF
File Format. Note: Read
the license if you want to use OKF
fonts in your projects.
OKF Font
TesterWith this program
you can test any OKF Font. At any moment in the program, you can press
SELECT to see a help text about the selected option. Some fonts are
already embedded in the .fxe, but you can load any font generated by you.
A must have if you want to be sure that your generated fonts will render
correctly on the GP32 screen.
Download OKF Font Tester
v2.0 | Download C sources
GPFontMaker v2.0GPFontMaker is
the utility that will help you to prepare OKF fonts from TrueType fonts.
Fonts can be post processed by your favourite image processor before the
generation of the final OKF font.
Download GPFontMaker
v2.0.1 | Download only GPFontMaker.exe
v2.1.0 | Documentation
List of programs that I
know use the font library (2005-01-31):
- GPMad:
MP3 player by
Robert J. Shepherd.
It's a special case because as far as I know Robert used the very first version of my font
library that didn't use OKF Fonts but a bitmap and a C header
generated by GPFontMaker v1.0.
- WonderBoi32:
Wonderswan Color emulator by Bradon Kanyid (Rattboi)
- GPSudoku: A Gp32 version
of the Sudoku paper game By Muffinman. This game won the GBAX2005
compo
.
And of course my own productions:
- File Selector Tester
- Puzzle Mix
- Pyramids (all versions)
- OKF Font Tester (of
course)
|