(get_adstyle_property): Call font_intern_prop with 1 as

the arg FORCE_SYMBOL.
This commit is contained in:
Kenichi Handa 2009-06-26 06:16:07 +00:00
parent 930fe55bb0
commit 42d4a64f78
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-06-26 Peter Jolly <peter@jollys.org> (tiny change)
* ftfont.c (get_adstyle_property): Call font_intern_prop with 1 as
the arg FORCE_SYMBOL.
2009-06-25 Kenichi Handa <handa@m17n.org>
* fontset.c (fontset_find_font): When a usable rfont_def is found

View file

@ -177,7 +177,7 @@ get_adstyle_property (FcPattern *p)
|| 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;