summaryrefslogtreecommitdiff
path: root/modules/arabic/arabic-fc.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2005-12-26 07:13:02 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2005-12-26 07:13:02 +0000
commit064ed86a45773b770c746073871b61c6c050a919 (patch)
treee68ccd1e58ffe6f71f177b200972e7a6ce37fd09 /modules/arabic/arabic-fc.c
parentfe003b6f1f5f6966cc19ac490d9a00bf5cd7a77c (diff)
downloadpango-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.c2
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);
}