[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] FreeType 2.1.x rejects CMap4 of certain Dyna-Fonts [patch by aki
From: |
Anthony Fok |
Subject: |
[Devel] FreeType 2.1.x rejects CMap4 of certain Dyna-Fonts [patch by akito] |
Date: |
Sun, 20 Apr 2003 04:02:58 +0800 |
User-agent: |
Mutt/1.5.4i |
Dear all,
There has been a series of patches made by Akito Hirai of the Japan KDE
User's Group, and recently by Firefly in Taiwan, to improve CJK font
rendering with FreeType, fontconfig/Xft2, Qt, Pango and Mozilla.
Perhaps due to the language barrier, or perhaps due to unfamiliarity
with upstream mailing lists, these patches have not made their way
upstream yet. Anyhow, let's get started! ;-)
Akito's KDE font environment enhancement page:
Introduction: http://www.kde.gr.jp/~akito/xft/patch_xft.html
Download and Usage: http://www.kde.gr.jp/~akito/patch/download.html
Firefly's patches and forum:
http://firefly.idv.tw/test/Forum.php?Board=1
http://firefly.idv.tw/setfont-xft/redhat-9.0/ChangeLog.html
http://firefly.idv.tw/setfont-xft/redhat-9.0/
So, let's start with FreeType-2.1.4. Due to another CMap4 bug in many
Dyna CJK fonts, FreeType 2.1.x rejects their Unicode CMap, rendering
these fonts unusable. Akito-san has provided a patch to deal with
buggy Dyna Japanese fonts. Firefly and other Taiwan KDE users have
verified that buggy Dyna Chinese fonts became usable with this patch.
So, please apply the attached patch. This patch is also available
here:
http://www.kde.gr.jp/~akito/patch/freetype2/freetype-2.1.3-ttcmap4.patch
It applies cleanly to 2.1.4 too.
David, Akito-san also worked on the autohinter to make it hint CJK
fonts well too, and released a patch last week (updated 2003-04-16).
Firefly has also verified it and find it marvellous.
Before: http://www.kde.gr.jp/~akito/patch/image/ah-slight1.png
After: http://www.kde.gr.jp/~akito/patch/image/ah-slight2.png
Patches: http://www.kde.gr.jp/~akito/patch/freetype2/2.1.4/
It would be marvellous if you could look into it. Thanks in advance!
Anthony
--
Anthony Fok Tung-Ling
ThizLinux Laboratory <address@hidden> http://www.thizlinux.com/
Debian Chinese Project <address@hidden> http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp! http://www.olvc.ab.ca/
freetype-2.1.1-ttcmap4.patch
Description: Text document
- [Devel] FreeType 2.1.x rejects CMap4 of certain Dyna-Fonts [patch by akito],
Anthony Fok <=