replaced advance sample median by maximum
[swftools.git] / lib / pdf / InfoOutputDev.h
index 539addd..07b2b67 100644 (file)
@@ -47,13 +47,22 @@ struct GlyphInfo
     SplashPath*path;
     int unicode;
     int glyphid;
+    double advance;
     double x1,y1,x2,y2;
+
+    double advance_max;
 };
 
 struct FontInfo
 {
     FontInfo();
     ~FontInfo();
+
+    double lastx,lasty;
+    int lastchar;
+
+    double ascender,descender;
+
     void grow(int size);
 
     GfxFont*font;