Re: Include CJK UI Ext B in Pango
- From: Noah Levitt <nlevitt columbia edu>
- To: Yao Zhang <yaoz nih gov>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Include CJK UI Ext B in Pango
- Date: Sat, 12 Jul 2003 15:29:09 -0400
You might want to add a comment to
http://bugzilla.gnome.org/show_bug.cgi?id=101081
(For full Unicode support, should probably
s/0x2ffff/0x10ffff/.)
What font are you using, out of curiosity?
Noah
On Fri, Jul 11, 2003 at 17:40:27 -0400, Yao Zhang wrote:
> I find it remarkably simple to add CJK Unified Ideographs Extension B
> support to Pango. Only one line needs to be changed:
>
> Index: pango/modules/basic/basic-fc.c
> ===================================================================
> RCS file: /cvs/gnome/pango/modules/basic/basic-fc.c,v
> retrieving revision 1.15
> diff -u -r1.15 basic-fc.c
> --- pango/modules/basic/basic-fc.c 14 Apr 2003 23:48:23 -0000 1.15
> +++ pango/modules/basic/basic-fc.c 11 Jul 2003 21:06:22 -0000
> @@ -66,7 +66,7 @@
> { 0xf900, 0xfa2d, "*" }, /* CJK Compatibility Ideographs */
> { 0xfe30, 0xfe6b, "*" }, /* CJK Compatibility Forms and Small Form Variants */
> { 0xff00, 0xffe3, "*" }, /* Halfwidth and Fullwidth Forms (partly) */
> - { 0x0000, 0xffff, "" },
> + { 0x0000, 0x2ffff, "" },
> };
>
> static PangoEngineInfo script_engines[] = {
>
> I have a TrueType font to test it with. Everything works wonderfully.
> You can find the screen shot, using my favorite excerpt as an example,
> here:
>
> http://oto.sourceforge.net/cjkuieb/
>
> Although most of the characters in CJK UI EB are rarely used, there
> ARE a few of them being used very often: they were deliberately put
> out of reach for too long :). Now it is the time to unlock them by
> adding CJK UI Extension B support into Pango.
>
> Regards,
>
> Yao Zhang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]