summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-1-107
-rw-r--r--ChangeLog.pre-1-87
-rw-r--r--pango/break.c4
4 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cfe92476..818a8ceb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sun Nov 21 11:43:00 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/break.c: Turn off backspace-deletes-character behavior
+ for Kana and Hangul. It's wrong for Kana, and for Hangul it's
+ theoretically right but interacts badly with current input
+ methods. (#155897, Leon Ho)
+
Sun Nov 21 11:40:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_log_attrs): Return n+1
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index cfe92476..818a8ceb 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,10 @@
+Sun Nov 21 11:43:00 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/break.c: Turn off backspace-deletes-character behavior
+ for Kana and Hangul. It's wrong for Kana, and for Hangul it's
+ theoretically right but interacts badly with current input
+ methods. (#155897, Leon Ho)
+
Sun Nov 21 11:40:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_log_attrs): Return n+1
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index cfe92476..818a8ceb 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,10 @@
+Sun Nov 21 11:43:00 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/break.c: Turn off backspace-deletes-character behavior
+ for Kana and Hangul. It's wrong for Kana, and for Hangul it's
+ theoretically right but interacts badly with current input
+ methods. (#155897, Leon Ho)
+
Sun Nov 21 11:40:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_log_attrs): Return n+1
diff --git a/pango/break.c b/pango/break.c
index aa5530d8..47bdcc64 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -370,7 +370,9 @@ static int line_break_indexes[] = {
#define LATIN(wc) (((wc) >= 0x0020 && (wc) <= 0x02AF) || ((wc) >= 0x1E00 && (wc) <= 0x1EFF))
#define CYRILLIC(wc) (((wc) >= 0x0400 && (wc) <= 0x052F))
#define GREEK(wc) (((wc) >= 0x0370 && (wc) <= 0x3FF) || ((wc) >= 0x1F00 && (wc) <= 0x1FFF))
-#define BACKSPACE_DELETES_CHARACTER(wc) (!LATIN (wc) && !CYRILLIC (wc) && !GREEK (wc))
+#define KANA(wc) ((wc) >= 0x3040 && (wc) <= 0x30FF)
+#define HANGUL(wc) ((wc) >= 0xAC00 && (wc) <= 0xD7A3)
+#define BACKSPACE_DELETES_CHARACTER(wc) (!LATIN (wc) && !CYRILLIC (wc) && !GREEK (wc) && !KANA(wc) && !HANGUL(wc))
/* p. 132-133 of Unicode spec table 5-6 will help understand this */