changed an error to a warning
[swftools.git] / lib / gfxfont.c
index c0cbac2..119f003 100644 (file)
@@ -697,8 +697,8 @@ ttf_t* gfxfont_to_ttf(gfxfont_t*font)
     }
        
     ttf->ascent = font->ascent;
-    ttf->descent = font->descent;
-    ttf->lineGap = font->ascent - font->descent;
+    ttf->descent = -font->descent;
+    ttf->lineGap = 0;
 
     ttf->full_name = strdup(font->id);
     ttf->family_name = strdup(font->id);