added ascent/descent to font parameters
authorkramm <kramm>
Mon, 6 Oct 2008 12:57:58 +0000 (12:57 +0000)
committerkramm <kramm>
Mon, 6 Oct 2008 12:57:58 +0000 (12:57 +0000)
lib/gfxdevice.h

index 4a6334d..caaa983 100644 (file)
@@ -35,6 +35,9 @@ typedef struct _gfxfont
     const char*id;
     int num_glyphs;
     int max_unicode;
+    
+    double ascent,descent;
+
     gfxglyph_t*glyphs;
     int* unicode2glyph;
 } gfxfont_t;