Skip to content

C++ class for retrieving glyph bitmaps and metrics from TrueType/OpenType font files

License

Notifications You must be signed in to change notification settings

setsuharu/font_face

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

font_face

Simple command line utility to extract glyphs from a truetype/opentype font file as bitmaps.

Getting a glyph bitmap looks like this:


   fontface -f arial.ttf -u 65 -p 64

This will get 'A' from 'arial.ttf' at '64pt' size. (DPI value of 300 is used in calculations of glyph outline) Use -h for help.

Here are some examples using the 'GrisaiaCustom.ttf' font file (rendered at 64pt): fontface output example Anti-aliasing is not implemented.

Special Thanks