freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] [PATCH] CJK Autohinter should not clump stems together when t


From: r6144
Subject: [ft-devel] [PATCH] CJK Autohinter should not clump stems together when there are too many of them
Date: Sun, 20 Feb 2011 14:32:17 +0800

Hello,

Some Chinese characters, such as 量 and 置, have a large number of
horizontal stems.  At ordinary sizes, the autohinter will often clump
adjacent stems together; although the result remains readable, the
unevenness of black and white looks rather ugly.

afcjk.patch is my patch that attempts to solve this problem.  All stems
that are pixel-aligned have at least one pixel of space (or other stems)
in between.  Other stems are not aligned, but only have their position
interpolated, so they have the un-hinted look which is IMHO better.

orig.png and new.png compares the rendered result without and with this
patch, for WenQuanYi MicroHei at 15px with slight autohinting.  I think
new.png looks noticeably better than orig.png, and better than no
hinting as well.  That font is now quite comfortable to read down to
about 12px.

The entire tree currently used by myself is at:
https://github.com/r6144/freetype2/tree/infinality-my-adjustment

Please CC me as I'm not subscribed.

r6144

Attachment: afcjk.patch
Description: Text Data

Attachment: orig.png
Description: PNG image

Attachment: new.png
Description: PNG image


reply via email to

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