]> git.tdb.fi Git - libs/gl.git/commit
Add cap height and x height metrics to Font
authorMikko Rasa <tdb@tdb.fi>
Fri, 22 Jul 2016 18:59:57 +0000 (21:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 22 Jul 2016 18:59:57 +0000 (21:59 +0300)
commit31db7e468e628aba0f15956630a0ab1f019e9ea9
tree78a203cf65e8f3a275d5f6afc4414c16cfc07038
parentf35535633aab06e80f0666d8551431364654c6dc
Add cap height and x height metrics to Font

Since FreeType (and consequently ttf2png) doesn't provide these metrics,
they are estimated by the makefont script.
scripts/makefont.py
source/font.cpp
source/font.h