freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] BDF loader doesn't set max_advance


From: Keith Packard
Subject: [Devel] BDF loader doesn't set max_advance
Date: Fri, 02 May 2003 08:59:35 -0700

BDF_Set_Pixel_Size initializes three of the four per-size metrics but 
leaves out max_advance for some reason.

-keith

--- bdfdrivr.c.old      2003-05-02 08:55:21.000000000 -0700
+++ bdfdrivr.c  2003-05-02 08:55:33.000000000 -0700
@@ -467,6 +467,7 @@
       size->metrics.ascender  = face->bdffont->bbx.ascent << 6;
       size->metrics.descender = face->bdffont->bbx.descent * ( -64 );
       size->metrics.height    = face->bdffont->bbx.height << 6;
+      size->metrics.max_advance = face->bdffont->bbx.width << 6;
 
       return BDF_Err_Ok;
     }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]