From 42d4a64f783cfff5dc7fac39b7909b633034ea00 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 26 Jun 2009 06:16:07 +0000 Subject: [PATCH] (get_adstyle_property): Call font_intern_prop with 1 as the arg FORCE_SYMBOL. --- src/ChangeLog | 5 +++++ src/ftfont.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 77345b7fafe..c1511e9c243 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-06-26 Peter Jolly (tiny change) + + * ftfont.c (get_adstyle_property): Call font_intern_prop with 1 as + the arg FORCE_SYMBOL. + 2009-06-25 Kenichi Handa * fontset.c (fontset_find_font): When a usable rfont_def is found diff --git a/src/ftfont.c b/src/ftfont.c index 70c1797dce0..789e6a7f685 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -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; -- 2.39.2