Boris patches for ascender/descender/text height
diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c
index cf378af..567334a 100644
--- a/src/winfonts/winfnt.c
+++ b/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;
}
}