changeset 103591:1e63d004a073

(get_adstyle_property): Call font_intern_prop with 1 as the arg FORCE_SYMBOL.
author Kenichi Handa <handa@m17n.org>
date Fri, 26 Jun 2009 06:15:54 +0000
parents 6cba3f41d36b
children eb94c9a3b72b
files src/ftfont.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Thu Jun 25 14:28:32 2009 +0000
+++ b/src/ftfont.c	Fri Jun 26 06:15:54 2009 +0000
@@ -177,7 +177,7 @@
       || xstrcasecmp (str, "Oblique") == 0
       || xstrcasecmp (str, "Italic") == 0)
     return Qnil;
-  adstyle = font_intern_prop (str, end - str, 0);
+  adstyle = font_intern_prop (str, end - str, 1);
   if (font_style_to_value (FONT_WIDTH_INDEX, adstyle, 0) >= 0)
     return Qnil;
   return adstyle;