diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-25 20:50:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-25 20:50:39 +0000 |
commit | b7418a446d73d7c9b504dcc06f647eb8931014c7 (patch) | |
tree | 079147a2bfe168dfd7bbe2c730170920b36e7471 /modules/basic/basic-ft2.c | |
parent | cb3f2bba1b88269086521993c9227710c314eebe (diff) | |
download | pango-b7418a446d73d7c9b504dcc06f647eb8931014c7.tar.gz |
Convert U+00A0 (NON BREAK SPACE) to U+0020 (SPACE)
Mon Mar 25 15:46:54 2002 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic-*.c: Convert U+00A0 (NON BREAK SPACE)
to U+0020 (SPACE)
* modules/basic/basic-xft.c (basic_engine_shape): Remove
some dead code.
Diffstat (limited to 'modules/basic/basic-ft2.c')
-rw-r--r-- | modules/basic/basic-ft2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/basic/basic-ft2.c b/modules/basic/basic-ft2.c index ffff113f..77fdd084 100644 --- a/modules/basic/basic-ft2.c +++ b/modules/basic/basic-ft2.c @@ -231,6 +231,9 @@ basic_engine_shape (PangoFont *font, if (pango_get_mirror_char (wc, &mirrored_ch)) wc = mirrored_ch; + if (wc == 0xa0) /* non-break-space */ + wc = 0x20; + if (ZERO_WIDTH_CHAR (wc)) { set_glyph (font, glyphs, i, p - text, 0); |