From 7b6494787af7c4f93a860501ab0aab7f0118cf87 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 10 Dec 2008 06:01:44 +0000 Subject: [PATCH] (fc_charset_table): Add "unicode-sip". (ftfont_spec_pattern): Lookup fc_charset_table for the regisry Qunicode_sip. --- src/ChangeLog | 6 ++++++ src/ftfont.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index bf7a551c7c3..a68f44d6c22 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-12-10 Kenichi Handa + + * ftfont.c (fc_charset_table): Add "unicode-sip". + (ftfont_spec_pattern): Lookup fc_charset_table for the regisry + Qunicode_sip. + 2008-12-10 Juanma Barranquero * coding.c (QCdefault_char): Rename from QCdefalut_char. diff --git a/src/ftfont.c b/src/ftfont.c index 7d746ec2908..6cf91bd4131 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -128,6 +128,7 @@ static struct { "windows-1251", { 0x0401, 0x0490 }, "ru"}, { "koi8-r", { 0x0401, 0x2219 }, "ru"}, { "mulelao-1", { 0x0E81 }, "lo"}, + { "unicode-sip", { 0x20000 }}, { NULL } }; @@ -607,8 +608,7 @@ ftfont_spec_pattern (spec, otlayout, otspec) if (NILP (registry) || EQ (registry, Qascii_0) || EQ (registry, Qiso10646_1) - || EQ (registry, Qunicode_bmp) - || EQ (registry, Qunicode_sip)) + || EQ (registry, Qunicode_bmp)) fc_charset_idx = -1; else { -- 2.39.2