[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] autohinter suggestions
From: |
David Chester |
Subject: |
[Devel] autohinter suggestions |
Date: |
Fri, 17 Jan 2003 11:48:09 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030109 |
Greetings.
David Turner wrote:
Thanks a lot for your work. I didn't include your blue-scale patch yet
because I believe it should be possible to perform the same thing in a
much more pleasant way that doesn't involve calling FT_Set_Char_Size
within the auto-hinter. Be assured that such patch will go into FreeType
once the details are cleared out.
Great. Surely, you are right--there must be a better way, but it's not
obvious to me exactly what that way is.
By the way, while your changes increase the quality of most fonts, I have
encountered a few cases where it lowered them. For example, try to
display a waterfall of "Georgia" and "Times New Roman" and see how sizes
16 and 18 are. I'd like to correct this before the 2.1.4 release
I see what you mean. This seems to fix the problem:
--- ~/ft-clean/freetype2/src/autohint/ahhint.c 2003-01-12 13:26:10.00
+++ ./src/autohint/ahhint.c 2003-01-17 11:00:31.00
@@ -124,7 +124,7 @@
else if ( ( base_flags & AH_EDGE_ROUND ) )
{
- if ( dist < 96 )
+ if ( dist < 80 )
dist = 64;
}
else if ( dist < 56 )
Regards,
David Chester