From e672a4648bcc85e6f9c2e4010f1e3f5d47c250b8 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 13 Jul 2004 01:41:15 +0000 Subject: [PATCH] (mfont__ft_drive_gsub): Adjust prototype. (mfont__ft_drive_gpos): Extern it. --- src/font.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/font.h b/src/font.h index 06b54b8..f34749f 100644 --- a/src/font.h +++ b/src/font.h @@ -225,12 +225,16 @@ extern int mfont__ft_parse_name (char *name, MFont *font); extern char *mfont__ft_unparse_name (MFont *font); -extern int mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, - MRealizedFont *rfont, - MSymbol script, MSymbol langsys, - MSymbol gsub_features, MSymbol gpos_features); +#ifdef HAVE_OTF + +extern int mfont__ft_drive_gsub (MGlyphString *gstring, int from, int to); + +extern int mfont__ft_drive_gpos (MGlyphString *gstring, int from, int to); + extern int mfont__ft_decode_otf (MGlyph *g); +#endif /* HAVE_OTF */ + #endif /* HAVE_FREETYPE */ extern void mfont__free_realized (MRealizedFont *rfont); -- 1.7.10.4