aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.unicode5
-rw-r--r--src/xftfont.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode
index b4871bd8910..d959c2ade4a 100644
--- a/src/ChangeLog.unicode
+++ b/src/ChangeLog.unicode
@@ -1,3 +1,8 @@
12007-12-03 Kenichi Handa <handa@ni.aist.go.jp>
2
3 * ftfont.c (ftfont_open): Set members maybe_otf and otf of
4 ftfont_info only when HAVE_LIBOTF is defined.
5
12007-12-02 Andreas Schwab <schwab@suse.de> 62007-12-02 Andreas Schwab <schwab@suse.de>
2 7
3 * xdisp.c (back_to_previous_visible_line_start): Fix type of beg 8 * xdisp.c (back_to_previous_visible_line_start): Fix type of beg
diff --git a/src/xftfont.c b/src/xftfont.c
index 361c2ace83f..51049b81985 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -54,7 +54,7 @@ struct xftfont_info
54#ifdef HAVE_LIBOTF 54#ifdef HAVE_LIBOTF
55 int maybe_otf; /* Flag to tell if this may be OTF or not. */ 55 int maybe_otf; /* Flag to tell if this may be OTF or not. */
56 OTF *otf; 56 OTF *otf;
57#endif 57#endif /* HAVE_LIBOTF */
58}; 58};
59 59
60/* Structure pointed by (struct face *)->extra */ 60/* Structure pointed by (struct face *)->extra */
@@ -273,7 +273,7 @@ xftfont_open (f, entity, pixel_size)
273#ifdef HAVE_LIBOTF 273#ifdef HAVE_LIBOTF
274 xftfont_info->maybe_otf = xftfont_info->ft_face->face_flags & FT_FACE_FLAG_SFNT; 274 xftfont_info->maybe_otf = xftfont_info->ft_face->face_flags & FT_FACE_FLAG_SFNT;
275 xftfont_info->otf = NULL; 275 xftfont_info->otf = NULL;
276#endif 276#endif /* HAVE_LIBOTF */
277 277
278 font = (struct font *) xftfont_info; 278 font = (struct font *) xftfont_info;
279 font->format = ftfont_font_format (xftfont->pattern); 279 font->format = ftfont_font_format (xftfont->pattern);