comparison 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
comparison
equal deleted inserted replaced
96004:376c1b70d15b 96005:66f0213be62a
774 extern int font_style_to_value P_ ((enum font_property_index prop, 774 extern int font_style_to_value P_ ((enum font_property_index prop,
775 Lisp_Object name, int noerror)); 775 Lisp_Object name, int noerror));
776 extern Lisp_Object font_style_symbolic P_ ((Lisp_Object font, 776 extern Lisp_Object font_style_symbolic P_ ((Lisp_Object font,
777 enum font_property_index prop, 777 enum font_property_index prop,
778 int for_face)); 778 int for_face));
779 extern Lisp_Object font_style_symbolic_from_value
780 P_ ((enum font_property_index prop,
781 Lisp_Object val,
782 int for_face));
783 779
784 extern int font_match_p P_ ((Lisp_Object spec, Lisp_Object entity)); 780 extern int font_match_p P_ ((Lisp_Object spec, Lisp_Object entity));
785 extern Lisp_Object font_list_entities P_ ((Lisp_Object frame, 781 extern Lisp_Object font_list_entities P_ ((Lisp_Object frame,
786 Lisp_Object spec)); 782 Lisp_Object spec));
787 783