diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-07-27 13:48:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-07-27 13:48:14 +0000 |
commit | 422370667f0b035d9d214ac0e93c877a78d32562 (patch) | |
tree | 57cf6e0c1f704243ceb7b216a5496ef9115e2d48 /modules/thai/thai-fc.c | |
parent | 7a298eeb1590f0a7e233ff6d7d9fa9df9d03276f (diff) | |
download | pango-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-fc.c')
-rw-r--r-- | modules/thai/thai-fc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c index 6b9d7aaf..169aa66d 100644 --- a/modules/thai/thai-fc.c +++ b/modules/thai/thai-fc.c @@ -31,6 +31,7 @@ #include <glib.h> #include "pango-engine.h" +#include "pangoxft.h" #include "thai-shaper.h" #define SCRIPT_ENGINE_NAME "ThaiScriptEngineXft" @@ -176,6 +177,12 @@ make_glyph (ThaiFontInfo *font_info, unsigned char c) return pango_xft_font_get_glyph (font_info->font, index); } +PangoGlyph +make_unknown_glyph (ThaiFontInfo *font_info, unsigned char c) +{ + return pango_xft_font_get_unknown_glyph (font_info->font, c); +} + static PangoCoverage * thai_engine_get_coverage (PangoFont *font, PangoLanguage *lang) |