[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] UCS-4 support in ftcommon.i and in FTC_CMapCache_Lookup()
From: |
Anthony Fok |
Subject: |
Re: [Devel] UCS-4 support in ftcommon.i and in FTC_CMapCache_Lookup() |
Date: |
Fri, 21 Feb 2003 03:07:29 +0800 |
User-agent: |
Mutt/1.5.3i |
On Wed, Feb 19, 2003 at 12:34:21PM +0800, Anthony Fok wrote:
> However, I have not yet looked into how to modify FTC_CMapCache_Lookup(),
> which, unlike FT_Select_Charmap(), does not have an algorithm to favour
> UCS-4 charmaps over UCS-2 ones.
Okay, I finally went ahead and did it. I modified ftc_cmap_family_init()
in ftccmap.c by modelling after the code in find_unicode_charmap() in
ftobjs.c. ftview can now view non-BMP CJK characters here. Nevertheless,
Please feel free to double-check and improve the code. :-)
Also, AFAIK, "asian" is usually spelt "Asian", so I replaced that too.
Patches are attached.
Cheers,
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/
008-freetype-2.1.4rc1-ftccmap-ucs4.patch
Description: Text document
009-freetype-2.1.4rc1-typo.patch
Description: Text document