Mercurial > emacs
diff src/font.h @ 96005:66f0213be62a
Fix crashing bug in use of bold fonts from x-select-font on W32.
* w32font.c (w32_to_fc_weight): New function.
(w32font_full_name, logfont_to_fcname): Use it.
* font.h (font_style_symbolic_from_value): Remove.
* font.c (font_style_symbolic_from_value): Remove.
(font_style_symbolic): Revert to pre 2008-06-13 version.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Mon, 16 Jun 2008 09:11:05 +0000 |
parents | a46630597077 |
children | 1c73e69fc195 |
line wrap: on
line diff
--- a/src/font.h Mon Jun 16 08:55:56 2008 +0000 +++ b/src/font.h Mon Jun 16 09:11:05 2008 +0000 @@ -776,10 +776,6 @@ extern Lisp_Object font_style_symbolic P_ ((Lisp_Object font, enum font_property_index prop, int for_face)); -extern Lisp_Object font_style_symbolic_from_value - P_ ((enum font_property_index prop, - Lisp_Object val, - int for_face)); extern int font_match_p P_ ((Lisp_Object spec, Lisp_Object entity)); extern Lisp_Object font_list_entities P_ ((Lisp_Object frame,