summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-01-31 17:40:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-01-31 17:40:03 +0000
commit9d683d341ddf438f3cf77fdea1f4d47d772475da (patch)
tree76a2eb05f3ec7e1e687b583b1926810cda7d0f38
parent74bea5371d786118906077534823dad4e8741e33 (diff)
downloadpango-9d683d341ddf438f3cf77fdea1f4d47d772475da.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 790bbc08..b615cdbe 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-25 Tor Lillqvist <tml@novell.com>
* pango/pango.def: Add missing entry points.
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 790bbc08..b615cdbe 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-25 Tor Lillqvist <tml@novell.com>
* pango/pango.def: Add missing entry points.
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,