summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheppitak Karoonboonyanan <thep@linux.thai.net>2012-12-02 15:47:49 +0700
committerTheppitak Karoonboonyanan <thep@linux.thai.net>2012-12-02 15:47:49 +0700
commit9a182f7360adce9ffc258cf259f93bdbf54e5a29 (patch)
tree9372fbc7bd179e8815dddfa1d2bdd002734fd9b9
parenta7432c1df678d075c0f34c90f9ea9c30dbe2e38e (diff)
downloadpango-9a182f7360adce9ffc258cf259f93bdbf54e5a29.tar.gz
Remove Thai/Lao Prepend/Extend properties
In UAX#29 revision 19 (reissued for Unicode 6.1.0), Prepend and Extend GCB properties have been dropped for Thai/Lao. So, drop the hard coding accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=576156
-rw-r--r--pango/break.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/pango/break.c b/pango/break.c
index a3226cdc..ace7b1d7 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -671,15 +671,6 @@ pango_default_break (const gchar *text,
case G_UNICODE_OTHER_LETTER:
if (makes_hangul_syllable)
GB_type = GB_InHangulSyllable;
- else if ((wc & 0x0E00) == 0x0E00)
- {
- /* Thai and Lao stuff hardcoded in UAX#29 */
- if ((wc >= 0x0E40 && wc <= 0x0E44) || (wc >= 0x0EC0 && wc <= 0x0EC4))
- GB_type = GB_Prepend; /* Prepend */
- else if (wc == 0x0E30 || wc == 0x0E32 || wc == 0x0E33 || wc == 0x0E45 ||
- wc == 0x0EB0 || wc == 0x0EB2 || wc == 0x0EB3)
- GB_type = GB_Extend; /* Exceptions in the Extend definition */
- }
break;
case G_UNICODE_MODIFIER_LETTER: