[pango] Remove Thai/Lao Prepend/Extend properties
- From: Theppitak Karoonboonyanan <tkaroonb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Remove Thai/Lao Prepend/Extend properties
- Date: Sun, 2 Dec 2012 09:12:24 +0000 (UTC)
commit 9a182f7360adce9ffc258cf259f93bdbf54e5a29
Author: Theppitak Karoonboonyanan <thep linux thai net>
Date: Sun Dec 2 15:47:49 2012 +0700
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
pango/break.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/pango/break.c b/pango/break.c
index a3226cd..ace7b1d 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]