Boris patches for ascender/descender/text height

VER-2-0-4-PATCH
David Turner 25 years ago
parent 5aa646c565
commit 2f8f154241
  1. 5
      src/winfonts/winfnt.c

@ -453,6 +453,11 @@
if ( cur->header.pixel_height == size->root.metrics.y_ppem )
{
size->font = cur;
size->root.metrics.ascender = cur->header.ascent*64;
size->root.metrics.descender =(cur->header.pixel_height -
cur->header.ascent)*64;
size->root.metrics.height = cur->header.pixel_height*64;
break;
}
}

Loading…
Cancel
Save