summaryrefslogtreecommitdiff
path: root/modules/thai/thai-shaper.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/thai/thai-shaper.h')
-rw-r--r--modules/thai/thai-shaper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/thai/thai-shaper.h b/modules/thai/thai-shaper.h
index c27b1bed..f4e67917 100644
--- a/modules/thai/thai-shaper.h
+++ b/modules/thai/thai-shaper.h
@@ -2,7 +2,6 @@
#define __THAI_SHAPER_H__
#include "pangox.h"
-#include "pangoxft.h"
#define ucs2tis(wc) (unsigned int)((unsigned int)(wc) - 0x0E00 + 0xA0)
#define tis2uni(c) ((gunichar)(c) - 0xA0 + 0x0E00)
@@ -32,7 +31,7 @@ struct _ThaiFontInfo
ThaiFontInfoType info_type;
union {
PangoXSubfont subfont; /* THAI_FONTINFO_X */
- FT_Face face; /* THAI_FONTINFO_XFT */
+ gpointer face; /* THAI_FONTINFO_XFT */
} info;
};
@@ -45,6 +44,9 @@ get_font_info (PangoFont *font);
PangoGlyph
make_glyph (ThaiFontInfo *font_info, unsigned char c);
+PangoGlyph
+make_unknown_glyph (ThaiFontInfo *font_info, unsigned char c);
+
/*
* Public functions
*/