From: Kenichi Handa Date: Mon, 3 Dec 2007 01:42:01 +0000 (+0000) Subject: (ftfont_open): Set members maybe_otf and otf of X-Git-Tag: emacs-pretest-23.0.90~8295^2~204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d674a059d7b1366697cbc621c9a9b77f1d5b359;p=emacs.git (ftfont_open): Set members maybe_otf and otf of ftfont_info only when HAVE_LIBOTF is defined. --- diff --git a/src/ftfont.c b/src/ftfont.c index 4404d6962d0..48244ff28dc 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -735,8 +735,10 @@ ftfont_open (f, entity, pixel_size) if (! ftfont_info) return NULL; ftfont_info->ft_size = ft_size; +#ifdef HAVE_LIBOTF ftfont_info->maybe_otf = ft_face->face_flags & FT_FACE_FLAG_SFNT; ftfont_info->otf = NULL; +#endif /* HAVE_LIBOTF */ font = (struct font *) ftfont_info; font->format = ftfont_font_format (pattern);