summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-1-107
-rw-r--r--modules/hebrew/hebrew-fc.c3
3 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 919c420a..9aa16d4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2005-01-29 Tor Lillqvist <tml@novell.com>
* pango/pango.def: Add missing pango_render_part_get_type.
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 919c420a..9aa16d4a 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,10 @@
+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.
+
2005-01-29 Tor Lillqvist <tml@novell.com>
* pango/pango.def: Add missing pango_render_part_get_type.
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,