|
One of the big problems OpenGL runs into after you've got your first few polygons flying around the screen is the lack of a standard method for generating text within the API.
Pre-generated string textures
Polygon glyphs created from outline font definitions
WGL and GLUT extensions
Bitmapped fonts |
|||
|
A bitmapped font is simply an atlas texture containing a collection of glyphs and symbols.
The characters can then be mapped individually onto polygons to create dynamic strings of text.
![]() Adding width information to the glyphs allows the textured quads to be overlapped to create better looking text with variable character widths.
![]()
|
|
There are many bitmap font generators around, but I wanted a few features that the others didn't provide. So I wrote my own. Codehead's Bitmap Font Generator (CBFG) is now at version 1.43 and supports the following features:
|
|
DownloadsCBFG Packages Windows Installer Package
Files only zip
BFF Loading Code
C/C++ - included in zip/installer.Android by Codehead O'Caml by Einar (local mirror) |
The FutureCBFG is still evolving, there are a few features I'd like to add and there are some bugs to be ironed out.ToDo List
Wish List
Known Issues
|
Problems, ideas, bugs?
Drop me an email on the link below.