Mercurial > emacs
comparison src/ftfont.c @ 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 | 246d16550b8d |
children | 427b644c9e3b |
comparison
equal
deleted
inserted
replaced
103590:6cba3f41d36b | 103591:1e63d004a073 |
---|---|
175 if (xstrcasecmp (str, "Regular") == 0 | 175 if (xstrcasecmp (str, "Regular") == 0 |
176 || xstrcasecmp (str, "Bold") == 0 | 176 || xstrcasecmp (str, "Bold") == 0 |
177 || xstrcasecmp (str, "Oblique") == 0 | 177 || xstrcasecmp (str, "Oblique") == 0 |
178 || xstrcasecmp (str, "Italic") == 0) | 178 || xstrcasecmp (str, "Italic") == 0) |
179 return Qnil; | 179 return Qnil; |
180 adstyle = font_intern_prop (str, end - str, 0); | 180 adstyle = font_intern_prop (str, end - str, 1); |
181 if (font_style_to_value (FONT_WIDTH_INDEX, adstyle, 0) >= 0) | 181 if (font_style_to_value (FONT_WIDTH_INDEX, adstyle, 0) >= 0) |
182 return Qnil; | 182 return Qnil; |
183 return adstyle; | 183 return adstyle; |
184 } | 184 } |
185 | 185 |