summaryrefslogtreecommitdiff
path: root/framebuffer/GEN_font_internal.c
Commit message (Collapse)AuthorAgeFilesLines
* Update for c with caron.Michael Drake2014-05-061-147/+163
| | | | | Forgot to update with the glyph_data. This is why it should be generated at build time. :)
* Add Unicode support to internal font.Michael Drake2014-05-061-0/+5736
+ Now contains more glpyhs (was previously limited to cp-1252). + When a glyph is unavailable, the codepoint is now rendered. + Added glyph data file. + Added converter to generate the font's .c file from the data. TODO: The generated file is currently checked into the repo, but it should be generated as part of the build process, in the build-* directory. To update the generated source file, first build the converter: $ gcc -O2 -Wall framebuffer/convert_font.c -lm \ -o build-Linux-framebuffer/tools/convert_font And then use it to generate the souce file: $ build-Linux-framebuffer/tools/convert_font \ framebuffer/res/fonts/glyph_data \ framebuffer/GEN_font_internal.c -v The converter's usage is: convert_font [options] <in_file> <out_file> See convert_font --help for more details.