From: handa Date: Wed, 13 Oct 2004 06:29:56 +0000 (+0000) Subject: Fix previous change. X-Git-Tag: REL-1-2-0~118 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5288e9f202ab953fa13a9a3b4102d1c2ebdab4c;p=m17n%2Fm17n-lib.git Fix previous change. --- diff --git a/src/font-ft.c b/src/font-ft.c index 7c9b06d..828b8bd 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -300,7 +300,9 @@ static void add_font_info (char *filename, MSymbol family, void *langset, MPlist *plist) { FT_Face ft_face; +#ifdef HAVE_FTBDF_H BDF_PropertyRec prop; +#endif if (FT_New_Face (ft_library, filename, 0, &ft_face) == 0) { @@ -706,7 +708,9 @@ ft_find_metric (MRealizedFont *rfont, MGlyphString *gstring, } else { +#ifdef HAVE_FTBDF_H BDF_PropertyRec prop; +#endif g->lbearing = 0; g->rbearing = g->width = ft_face->available_sizes->width;