(xftfont_open): For generating a name, start from
authorKenichi Handa <handa@m17n.org>
Mon, 19 Jun 2006 01:32:49 +0000 (01:32 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 19 Jun 2006 01:32:49 +0000 (01:32 +0000)
96-byte buffer.

src/xftfont.c

index 0ecd39c..7f301c6 100644 (file)
@@ -246,7 +246,7 @@ xftfont_open (f, entity, pixel_size)
   font->entity = entity;
   font->pixel_size = size;
   font->driver = &xftfont_driver;
-  len = 64;
+  len = 96;
   name = malloc (len);
   while (name && font_unparse_fcname (entity, pixel_size, name, len) < 0)
     {