Tiny fix for font height calculation.
This commit is contained in:
parent
212d870a09
commit
b247654600
1 changed files with 1 additions and 1 deletions
2
mkfont.c
2
mkfont.c
|
|
@ -444,7 +444,7 @@ int main( int argc, char **argv )
|
|||
// third pass to compute the maximum cell size (for memory allocation)
|
||||
if ( autosize )
|
||||
{
|
||||
h = fnt->size->metrics.height>>6;
|
||||
h = (fnt->size->metrics.height>>6)+1;
|
||||
if ( FT_IS_FIXED_WIDTH(fnt) )
|
||||
{
|
||||
w = fnt->size->metrics.max_advance>>6;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue