From: Kenichi Handa Date: Fri, 19 Dec 2008 05:39:19 +0000 (+0000) Subject: (xftfont_open): Genarate a multibyte string if give names are utf-8. X-Git-Tag: emacs-pretest-23.0.90~986 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2781b4e0a3622141de935d2db10b6942ac1e950a;p=emacs.git (xftfont_open): Genarate a multibyte string if give names are utf-8. --- diff --git a/src/xftfont.c b/src/xftfont.c index 21c17a06aa2..abe8419e833 100644 --- a/src/xftfont.c +++ b/src/xftfont.c @@ -289,10 +289,10 @@ xftfont_open (f, entity, pixel_size) ASET (font_object, FONT_TYPE_INDEX, Qxft); len = font_unparse_xlfd (entity, size, name, 256); if (len > 0) - ASET (font_object, FONT_NAME_INDEX, make_unibyte_string (name, len)); + ASET (font_object, FONT_NAME_INDEX, make_string (name, len)); len = font_unparse_fcname (entity, size, name, 256); if (len > 0) - ASET (font_object, FONT_FULLNAME_INDEX, make_unibyte_string (name, len)); + ASET (font_object, FONT_FULLNAME_INDEX, make_string (name, len)); else ASET (font_object, FONT_FULLNAME_INDEX, AREF (font_object, FONT_NAME_INDEX));