From 2b44acf735fa299d4e58dd5d09178cda77ba1682 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 30 Jan 2008 12:39:15 +0000 Subject: [PATCH] (enum MFontOpenTypeTable, MFontCapability): Define them unconditionally. --- src/font.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) 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); -- 1.7.10.4