summaryrefslogtreecommitdiff
path: root/modules/thai/thai-x.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-07-27 13:48:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-07-27 13:48:14 +0000
commit422370667f0b035d9d214ac0e93c877a78d32562 (patch)
tree57cf6e0c1f704243ceb7b216a5496ef9115e2d48 /modules/thai/thai-x.c
parent7a298eeb1590f0a7e233ff6d7d9fa9df9d03276f (diff)
downloadpango-422370667f0b035d9d214ac0e93c877a78d32562.tar.gz
Fix problem where pango_xft_get_unknown_glyph() was being used for X
Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} (make_unknown_glyph): Fix problem where pango_xft_get_unknown_glyph() was being used for X fonts. (reported by Jacob Berkman)
Diffstat (limited to 'modules/thai/thai-x.c')
-rw-r--r--modules/thai/thai-x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/thai/thai-x.c b/modules/thai/thai-x.c
index b07c29b9..9890e64f 100644
--- a/modules/thai/thai-x.c
+++ b/modules/thai/thai-x.c
@@ -131,6 +131,12 @@ make_glyph (ThaiFontInfo *font_info, unsigned char c)
return PANGO_X_MAKE_GLYPH (font_info->subfont, c);
}
+PangoGlyph
+make_unknown_glyph (ThaiFontInfo *font_info, unsigned char c)
+{
+ return pango_x_get_unknown_glyph (font_info->font);
+}
+
static PangoCoverage *
thai_engine_get_coverage (PangoFont *font,
PangoLanguage *lang)