From: handa Date: Tue, 13 Jul 2004 01:41:15 +0000 (+0000) Subject: (mfont__ft_drive_gsub): Adjust prototype. X-Git-Tag: REL-1-1-0~118 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e672a4648bcc85e6f9c2e4010f1e3f5d47c250b8;p=m17n%2Fm17n-lib.git (mfont__ft_drive_gsub): Adjust prototype. (mfont__ft_drive_gpos): Extern it. --- 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);