[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.



Anthony Fok Tung-Ling
ThizLinux Laboratory   <address@hidden>
Debian Chinese Project <address@hidden>
Come visit Our Lady of Victory Camp! 

Attachment: 008-freetype-2.1.4rc1-ftccmap-ucs4.patch
Description: Text document

Attachment: 009-freetype-2.1.4rc1-typo.patch
Description: Text document

reply via email to

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