freetype-devel
[Top][All Lists]
Advanced

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

[Devel] fixed width fonts vs hinting


From: James H. Cloos Jr.
Subject: [Devel] fixed width fonts vs hinting
Date: 26 Jan 2001 18:38:00 -0600

In ftview I see that fixed width fonts are rendered variable width
when hinting is turned on.  (tested on a default -current compile.)

Is this an artifact of ftview's code or of freetype2's?

Side note:  rendering the test text string renders the string "T"
repeatedly rather than the string defined in ftcommon.  Patch below
should fix:

==================================================
--- ftview.c.~1~        Thu Nov  2 09:41:13 2000
+++ ftview.c    Fri Jan 26 18:36:16 2001
@@ -147,7 +147,7 @@
       else
         Fail++;
 
-      i++;
+      p++;
     }
 
     return FT_Err_Ok;

==================================================

-JimC
-- 
James H. Cloos, Jr.  <http://jhcloos.com/public_key>     1024D/ED7DAEA6 
<address@hidden>  E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6


reply via email to

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