summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-06-23 20:33:35 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-06-23 20:33:35 +0000
commit48eb55ba4bf53d72d8c761e1b6854d7b323405c7 (patch)
treef3c85526075039ce345d2e6024682e061fe95937 /modules
parent3aabb8d5ce0720c9a22cdcf975380d1d0213c4c8 (diff)
downloadpango-48eb55ba4bf53d72d8c761e1b6854d7b323405c7.tar.gz
#143693, Sayamindu Dasgupta
Wed Jun 23 16:13:53 2004 Owen Taylor <otaylor@redhat.com> #143693, Sayamindu Dasgupta * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h: Allow setting for whether marks should be given zero width, defaulting to FALSE. * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn on zero-width-marks setting.
Diffstat (limited to 'modules')
-rw-r--r--modules/arabic/arabic-fc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index b7be54d0..01841c33 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -277,6 +277,7 @@ arabic_engine_shape (PangoEngineShape *engine,
buffer = pango_ot_buffer_new (fc_font);
pango_ot_buffer_set_rtl (buffer, analysis->level % 2 != 0);
+ pango_ot_buffer_set_zero_width_marks (buffer, TRUE);
wcs = g_utf8_to_ucs4_fast (text, length, &n_chars);
properties = g_new0 (gulong, n_chars);