*** empty log message ***
authorKenichi Handa <handa@m17n.org>
Mon, 3 Dec 2007 01:42:57 +0000 (01:42 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 3 Dec 2007 01:42:57 +0000 (01:42 +0000)
src/ChangeLog.unicode
src/xftfont.c

index b4871bd..d959c2a 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-03  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * ftfont.c (ftfont_open): Set members maybe_otf and otf of
+       ftfont_info only when HAVE_LIBOTF is defined.
+
 2007-12-02  Andreas Schwab  <schwab@suse.de>
 
        * xdisp.c (back_to_previous_visible_line_start): Fix type of beg
index 361c2ac..51049b8 100644 (file)
@@ -54,7 +54,7 @@ struct xftfont_info
 #ifdef HAVE_LIBOTF
   int maybe_otf;         /* Flag to tell if this may be OTF or not.  */
   OTF *otf;
-#endif
+#endif /* HAVE_LIBOTF */
 };
 
 /* Structure pointed by (struct face *)->extra  */
@@ -273,7 +273,7 @@ xftfont_open (f, entity, pixel_size)
 #ifdef HAVE_LIBOTF
   xftfont_info->maybe_otf = xftfont_info->ft_face->face_flags & FT_FACE_FLAG_SFNT;
   xftfont_info->otf = NULL;
-#endif
+#endif /* HAVE_LIBOTF */
 
   font = (struct font *) xftfont_info;
   font->format = ftfont_font_format (xftfont->pattern);