[goffice] Add signs to go_unichar_issign
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Add signs to go_unichar_issign
- Date: Sun, 25 Dec 2011 21:13:24 +0000 (UTC)
commit 8d0edd3c51b97240aec597ebadf679e8bd1814b0
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sun Dec 25 14:12:37 2011 -0700
Add signs to go_unichar_issign
2011-12-25 Andreas J. Guelzow <aguelzow pyrshep ca>
* goffice/utils/go-glib-extras.c (go_unichar_issign): add signs
ChangeLog | 4 ++++
goffice/utils/go-glib-extras.c | 6 ++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4ac9668..26f78c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-25 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * goffice/utils/go-glib-extras.c (go_unichar_issign): add signs
+
2011-12-25 Morten Welinder <terra gnome org>
* goffice/utils/go-glib-extras.c (go_unichar_issign): New
diff --git a/goffice/utils/go-glib-extras.c b/goffice/utils/go-glib-extras.c
index c1c8c75..41aa989 100644
--- a/goffice/utils/go-glib-extras.c
+++ b/goffice/utils/go-glib-extras.c
@@ -313,13 +313,19 @@ go_unichar_issign (gunichar uc)
case 0x207a: /* Superscript plus */
case 0x208a: /* Subscript plus */
case 0x2795: /* Unicode heavy plus */
+ case 0xfb29: /* Hebrew plus */
+ case 0xfe62: /* Unicode small plus */
case 0xff0b: /* Variant of '+' for CJK */
return +1;
case '-':
+ /* case 0x2052: /\* Commercial minus *\/ */
case 0x207b: /* Superscript minus */
case 0x208b: /* Subscript minus */
case 0x2212: /* Unicode minus */
case 0x2796: /* Unicode heavy minus */
+ case 0x8ca0: /* Traditional Chinese minus */
+ case 0x8d1f: /* Simplified Chinese minus */
+ case 0xfe63: /* Unicode small minus */
case 0xff0d: /* Variant of '-' for CJK */
return -1;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]