Re: Exculding Hangul compatibility jamo (U+3130 - U+318f) from the basic shaper?



Owen Taylor <otaylor redhat com> writes:

[..]
> There are various ways of solving this problem. I think the following
> change (just committed to CVS) should fix the problem:
> 
> Fri Mar 15 12:25:26 2002  Owen Taylor  <otaylor redhat com>
> 
> 	* modules/basic/tables-big.i: Prefer ksc5601 fonts to
> 	unicode fonts for "ko" locales.
> 
> Thanks,
>                                         Owen
> 
> Index: modules/basic/tables-big.i
> ===================================================================
> RCS file: /cvs/gnome/pango/modules/basic/tables-big.i,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -p -r1.9 -r1.10
> --- modules/basic/tables-big.i	10 Dec 2001 23:58:37 -0000	1.9
> +++ modules/basic/tables-big.i	15 Mar 2002 17:27:04 -0000	1.10
> @@ -52,7 +52,8 @@ CharsetOrdering charset_orderings[] = {
>  	{ "zh-cn", { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 20, 18, 15, 17, 19, 21} },
>  	{ "zh-tw", { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 20, 16, 18, 15, 19, 17, 21} },
>  	{ "ja", { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 16, 17, 20, 21} },
> -	{ NULL, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 21, 15, 16, 17, 18, 19, 20} },
> +	{ "ko", { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 21, 15, 16, 18, 19, 20} },
> +	{ NULL, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 21, 15, 16, 17, 18, 19, 20} }
>  };

Yeah, now I understand how the basic module works.  :)  But I think
char_mask_map and char_masks table also should be modified.  

This patch adds Hangul compatibility jamo area.  And some of the CJK
unified ideographs area should be marked as ksc5601-1 printable too.

Index: tables-big.i
===================================================================
RCS file: /cvs/gnome/pango/modules/basic/tables-big.i,v
retrieving revision 1.10
diff -u -r1.10 tables-big.i
--- tables-big.i	15 Mar 2002 17:27:04 -0000	1.10
+++ tables-big.i	16 Mar 2002 07:09:45 -0000
@@ -163,6 +163,7 @@
   ENC_BIG5|ENC_JIS_0212,
   ENC_JIS_0201,
   ENC_BIG5|ENC_BIG5|ENC_BIG5|ENC_BIG5|ENC_BIG5|ENC_BIG5|ENC_BIG5,
+  ENC_KSC_5601,
 };
 
 const guchar char_masks[] = {
@@ -953,12 +954,12 @@
   0,  0,  0,  0,  0, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
  72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
  72, 72, 72, 72, 72, 72, 72, 72, 72, 72,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
+ 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
+ 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
+ 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
+ 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
+ 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
+ 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,


-- 
Changwoo Ryu

Cc'ing is encouraged



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]