freetype
[Top][All Lists]
Advanced

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

Re: [ft] Modifying/Enhancing the Truetype Interpreter


From: Moony
Subject: Re: [ft] Modifying/Enhancing the Truetype Interpreter
Date: Tue, 23 Feb 2010 19:22:22 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1

I've found that this small hack/patch does amazing things toward a CT-like rendering, when TT interpreter is enabled at compile time:

--- ttinterp.c.orig     2010-02-23 18:48:43.000000000 -0600
+++ ttinterp.c  2010-02-23 18:49:16.000000000 -0600
@@ -1641,7 +1641,7 @@
   {
     FT_UNUSED_EXEC;

-    zone->cur[point].x += distance;
+    /*zone->cur[point].x += distance;*/
     zone->tags[point]  |= FT_CURVE_TAG_TOUCH_X;
   }


Fonts that are designed specifically for CT, like Candara, Corbel, Segoe, etc. look fantastic between 16px and 24px- TT instructing vertically, and no hinting horizontally. Older ones like Arial and Verdana also look good, but suffer from more glitches. This is obviously not a solution, but it's a start!

Obligatory screenshots:
http://www.infinality.net/files/candara-15pt.png
http://www.infinality.net/files/arial-12pt.png





reply via email to

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