freetype-devel
[Top][All Lists]
Advanced

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

[Devel] patch pcf driver


From: Francesco Zappa Nardelli
Subject: [Devel] patch pcf driver
Date: 10 Dec 2001 11:05:48 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Hello.

Please, apply the patch below to the src/pcf/pcfdriver.c file.

Suggested log: Set the max_advance for monospaced fonts.  This is
necessary for Xft to use PCF fonts (thanks to Keith Packard).

AmitiƩs,
-francesco

--- pcfdriver_old.c     Mon Dec 10 10:46:00 2001
+++ pcfdriver.c Mon Dec 10 10:56:14 2001
@@ -120,6 +120,8 @@
       size->metrics.height    = size->metrics.ascender -
                                 size->metrics.descender;
 
+      size->metrics.max_advance = face->accel.maxbounds.characterWidth << 6;
+
       return PCF_Err_Ok;
     }
     else 



reply via email to

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