From e5288e9f202ab953fa13a9a3b4102d1c2ebdab4c Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 13 Oct 2004 06:29:56 +0000 Subject: [PATCH] Fix previous change. --- src/font-ft.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 1.7.10.4