diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-12-26 07:13:02 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-12-26 07:13:02 +0000 |
commit | 064ed86a45773b770c746073871b61c6c050a919 (patch) | |
tree | e68ccd1e58ffe6f71f177b200972e7a6ce37fd09 /modules/arabic/arabic-fc.c | |
parent | fe003b6f1f5f6966cc19ac490d9a00bf5cd7a77c (diff) | |
download | pango-064ed86a45773b770c746073871b61c6c050a919.tar.gz |
modules/arabic/arabic-fc.c, modules/basic/basic-fc.c,
2005-12-26 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c,
* modules/basic/basic-fc.c,
* modules/hebrew/hebrew-fc.c,
* modules/syriac/syriac-fc.c: Use pango_is_zero_width() to not draw
zero-width characters in the OpenType shapers. (Fixes bug #324621)
Diffstat (limited to 'modules/arabic/arabic-fc.c')
-rw-r--r-- | modules/arabic/arabic-fc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c index e5d67ea1..7c2866a4 100644 --- a/modules/arabic/arabic-fc.c +++ b/modules/arabic/arabic-fc.c @@ -315,7 +315,7 @@ arabic_engine_shape (PangoEngineShape *engine, input = buf; } - if (wc >= 0x200B && wc <= 0x200F) /* Zero-width characters */ + if (pango_is_zero_width (wc)) /* Zero-width characters */ { pango_ot_buffer_add_glyph (buffer, 0, properties[i], p - text); } |