diff options
author | Kenichi Handa <handa@m17n.org> | 2008-12-19 05:39:44 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2008-12-19 05:39:44 +0000 |
commit | 3299c55202d903b9b3b44bd92554d1875ddb0071 (patch) | |
tree | f15c78c4e894e64a6f765c343ee011b2a08b2be8 /src/ftfont.c | |
parent | 2781b4e0a3622141de935d2db10b6942ac1e950a (diff) | |
download | emacs-3299c55202d903b9b3b44bd92554d1875ddb0071.tar.gz |
(ftfont_open): Genarate a multibyte string if given
names are utf-8.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r-- | src/ftfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 6cf91bd4131..4b53467ae42 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -1067,10 +1067,10 @@ ftfont_open (f, entity, pixel_size) ASET (font_object, FONT_TYPE_INDEX, Qfreetype); 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)); |