freetype-devel
[Top][All Lists]
Advanced

[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: David Turner
Subject: Re: [Devel] UCS-4 support in ftcommon.i and in FTC_CMapCache_Lookup()
Date: Tue, 25 Feb 2003 21:43:35 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

Hello Anthony,

Anthony Fok wrote:
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.

Applied, thanks a lot :-)

- David Turner
- The FreeType Project  (www.freetype.org)




reply via email to

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