changeset 95573:0da1a8e03099

(Ffont_put): Don't use font_parse_family_registry for family name.
author Kenichi Handa <handa@m17n.org>
date Thu, 05 Jun 2008 05:39:37 +0000
parents 5b297c639631
children fa7d768bdd0b
files src/font.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Thu Jun 05 05:08:57 2008 +0000
+++ b/src/font.c	Thu Jun 05 05:39:37 2008 +0000
@@ -3534,13 +3534,7 @@
   CHECK_FONT_SPEC (font_spec);
   idx = get_font_prop_index (prop);
   if (idx >= 0 && idx < FONT_EXTRA_INDEX)
-    {
-      if (idx == FONT_FAMILY_INDEX
-	  && STRINGP (val))
-	font_parse_family_registry (val, Qnil, font_spec);
-      else
-	ASET (font_spec, idx, font_prop_validate (idx, Qnil, val));
-    }
+    ASET (font_spec, idx, font_prop_validate (idx, Qnil, val));
   else
     font_put_extra (font_spec, prop, font_prop_validate (0, prop, val));
   return val;