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.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/modules/thai/thai-shaper.h b/modules/thai/thai-shaper.h
index c9f487fa..e028e3a9 100644
--- a/modules/thai/thai-shaper.h
+++ b/modules/thai/thai-shaper.h
@@ -29,25 +29,19 @@ struct _ThaiFontInfo
PangoFont *font;
ThaiFontSet font_set;
PangoXSubfont subfont; /* For X backend */
-};
-/*
- * Abstract methods (implemented by each shaper module)
- */
-ThaiFontInfo *
-thai_get_font_info (PangoFont *font);
+ PangoGlyph
+ (*make_glyph) (ThaiFontInfo *font_info, unsigned int c);
-PangoGlyph
-thai_make_glyph (ThaiFontInfo *font_info, unsigned int c);
-
-PangoGlyph
-thai_make_unknown_glyph (ThaiFontInfo *font_info, unsigned int c);
+ PangoGlyph
+ (*make_unknown_glyph) (ThaiFontInfo *font_info, unsigned int c);
+};
/*
* Public functions
*/
void
-thai_engine_shape (PangoFont *font,
+thai_engine_shape (ThaiFontInfo *font_info,
const char *text,
gint length,
PangoAnalysis *analysis,