I investigated Bézier curves (required for font drawing) and created a prototype application in C# to test the code. Following that, I looked into the structure of TrueType font files and added the glyph data for a few glyphs into the program.
With a few teething troubles, mainly due to some of the data interpretation oddities not being explicitly defined in the specification, I have a mostly working font renderer. This has not only given me valuable experience with the file format and a testbed to analyse different font files, it also means I can write an article on TrueType fonts in the OSDev wiki and use it in my OS for font rendering.
No comments:
Post a Comment