diff options
author | Changwoo Ryu <cwryu@src.gnome.org> | 2004-07-11 20:39:53 +0000 |
---|---|---|
committer | Changwoo Ryu <cwryu@src.gnome.org> | 2004-07-11 20:39:53 +0000 |
commit | 7714887fb4acc8b715274f13dbc4a17e0fc9ef54 (patch) | |
tree | 4818498f3a457894c42392432ec0ab20d2f35fcc | |
parent | bfafb05de97e187fbbb85c83f4c7b59203a62439 (diff) | |
download | pango-7714887fb4acc8b715274f13dbc4a17e0fc9ef54.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. + Sat Jul 10 18:06:21 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.[ch] examples/Makefile.am diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index efac9f13..a5772f92 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. + Sat Jul 10 18:06:21 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.[ch] examples/Makefile.am diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index efac9f13..a5772f92 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. + Sat Jul 10 18:06:21 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.[ch] examples/Makefile.am diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index efac9f13..a5772f92 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. + Sat Jul 10 18:06:21 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.[ch] examples/Makefile.am diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c index 1e5b2229..f7f5557b 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) |