From: handa Date: Wed, 30 Jan 2008 12:39:15 +0000 (+0000) Subject: (enum MFontOpenTypeTable, MFontCapability): Define them X-Git-Tag: REL-1-5-1~6 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2b44acf735fa299d4e58dd5d09178cda77ba1682;p=m17n%2Fm17n-lib.git (enum MFontOpenTypeTable, MFontCapability): Define them unconditionally. --- diff --git a/src/font.h b/src/font.h index 437800d..918fff8 100644 --- a/src/font.h +++ b/src/font.h @@ -268,6 +268,27 @@ extern void mfont__flt_fini (); typedef unsigned OTF_Tag; #endif /* not HAVE_OTF */ +extern MFontDriver mfont__ft_driver; + +extern int mfont__ft_init (); + +extern void mfont__ft_fini (); + +extern int mfont__ft_parse_name (const char *name, MFont *font); + +extern char *mfont__ft_unparse_name (MFont *font); + +#ifdef HAVE_OTF + +extern int mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, + MFontCapability *capability); + +extern int mfont__ft_decode_otf (MGlyph *g); + +#endif /* HAVE_OTF */ + +#endif /* HAVE_FREETYPE */ + enum MFontOpenTypeTable { MFONT_OTT_GSUB, @@ -290,27 +311,6 @@ typedef struct } features[MFONT_OTT_MAX]; } MFontCapability; -extern MFontDriver mfont__ft_driver; - -extern int mfont__ft_init (); - -extern void mfont__ft_fini (); - -extern int mfont__ft_parse_name (const char *name, MFont *font); - -extern char *mfont__ft_unparse_name (MFont *font); - -#ifdef HAVE_OTF - -extern int mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, - MFontCapability *capability); - -extern int mfont__ft_decode_otf (MGlyph *g); - -#endif /* HAVE_OTF */ - -#endif /* HAVE_FREETYPE */ - extern void mfont__free_realized (MRealizedFont *rfont); extern int mfont__match_p (MFont *font, MFont *spec, int prop);