diff options
author | Changwoo Ryu <cwryu@src.gnome.org> | 2004-07-11 20:38:22 +0000 |
---|---|---|
committer | Changwoo Ryu <cwryu@src.gnome.org> | 2004-07-11 20:38:22 +0000 |
commit | b74bd86e17979c56020339815d2771765ac3d798 (patch) | |
tree | 29922191f7af6b33b6a683fcadf602f23dfe8a27 | |
parent | ae9fa972ca49de76b8b193b6f30a027eb730019c (diff) | |
download | pango-b74bd86e17979c56020339815d2771765ac3d798.tar.gz |
Render U+00A0 (non-break-space) as a space.
* modules/hangul/hangul-fc.c (render_basic): Render U+00A0
(non-break-space) as a space.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | modules/hangul/hangul-fc.c | 4 |
5 files changed, 24 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2004-07-12 Changwoo Ryu <cwryu@debian.org> + + * modules/hangul/hangul-fc.c (render_basic): Render U+00A0 + (non-break-space) as a space. + Fri Jul 9 15:23:39 2004 Manish Singh <yosh@gimp.org> * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl. diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 044eae43..cb7c2193 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2004-07-12 Changwoo Ryu <cwryu@debian.org> + + * modules/hangul/hangul-fc.c (render_basic): Render U+00A0 + (non-break-space) as a space. + Fri Jul 9 15:23:39 2004 Manish Singh <yosh@gimp.org> * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl. diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 044eae43..cb7c2193 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +2004-07-12 Changwoo Ryu <cwryu@debian.org> + + * modules/hangul/hangul-fc.c (render_basic): Render U+00A0 + (non-break-space) as a space. + Fri Jul 9 15:23:39 2004 Manish Singh <yosh@gimp.org> * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl. diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 044eae43..cb7c2193 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2004-07-12 Changwoo Ryu <cwryu@debian.org> + + * modules/hangul/hangul-fc.c (render_basic): Render U+00A0 + (non-break-space) as a space. + Fri Jul 9 15:23:39 2004 Manish Singh <yosh@gimp.org> * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl. diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c index 1e5b2229..7831adc3 100644 --- a/modules/hangul/hangul-fc.c +++ b/modules/hangul/hangul-fc.c @@ -280,6 +280,10 @@ render_basic (PangoFont *font, gunichar wc, PangoGlyphString *glyphs, int *n_glyphs, int cluster_offset) { int index; + + if (wc == 0xa0) /* non-break-space */ + wc = 0x20; + index = find_char (font, wc); pango_glyph_string_set_size (glyphs, *n_glyphs + 1); if (index) |