changeset 90675:dfe6bfcd570f

(xftfont_open): Set font->format.
author Kenichi Handa <handa@m17n.org>
date Fri, 24 Nov 2006 01:47:32 +0000
parents e99f6ff4def1
children c43c3837f597
files src/xftfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xftfont.c	Thu Nov 23 01:58:10 2006 +0000
+++ b/src/xftfont.c	Fri Nov 24 01:47:32 2006 +0000
@@ -259,6 +259,7 @@
   xftfont_info->ft_face = XftLockFace (xftfont);
 
   font = (struct font *) xftfont_info;
+  font->format = ftfont_font_format (xftfont->pattern);
   font->entity = entity;
   font->pixel_size = size;
   font->driver = &xftfont_driver;