summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-01-31 17:38:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-01-31 17:38:15 +0000
commitc7e3de50fdaec8436fd78b229bbdf04c6c9271d3 (patch)
tree638005236814c96ad73740ca6d003e2f1fe054e9 /modules
parentc7436bc20a8a91263e6df19cedc86779de17e74a (diff)
downloadpango-c7e3de50fdaec8436fd78b229bbdf04c6c9271d3.tar.gz
Show unknown glyphs; this may lead to overlapping boxes when accents are
2005-01-31 Matthias Clasen <mclasen@redhat.com> * modules/hebrew/hebrew-fc.c (get_cluster_glyphs): Show unknown glyphs; this may lead to overlapping boxes when accents are involved, but it is better than text vanishing without any traces.
Diffstat (limited to 'modules')
-rw-r--r--modules/hebrew/hebrew-fc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
index cd9c8e8e..5f6c1885 100644
--- a/modules/hebrew/hebrew-fc.c
+++ b/modules/hebrew/hebrew-fc.c
@@ -74,6 +74,9 @@ get_cluster_glyphs(PangoFont *font,
wc = mirrored_ch;
glyph_num[i] = pango_fc_font_get_glyph ((PangoFcFont *)font, wc);
+ if (!glyph_num[i])
+ glyph_num[i] = pango_fc_font_get_unknown_glyph ((PangoFcFont *)font, wc);
+
glyph[i] = glyph_num[i];
pango_font_get_glyph_extents (font,