diff options
| author | Jason Rumney | 2008-06-16 09:11:05 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-06-16 09:11:05 +0000 |
| commit | 3ef8c1b49e06347a04ec6cbdc7bd5f0432ca583d (patch) | |
| tree | 2b34bdab8ff6ff005ae6ede4c4878c987c117b48 /src/font.h | |
| parent | def61be2348d06f8e43b615aeb4f061dd2b932ef (diff) | |
| download | emacs-3ef8c1b49e06347a04ec6cbdc7bd5f0432ca583d.tar.gz emacs-3ef8c1b49e06347a04ec6cbdc7bd5f0432ca583d.zip | |
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.
Diffstat (limited to 'src/font.h')
| -rw-r--r-- | src/font.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/font.h b/src/font.h index cc14365508c..522343255e7 100644 --- a/src/font.h +++ b/src/font.h | |||
| @@ -776,10 +776,6 @@ extern int font_style_to_value P_ ((enum font_property_index prop, | |||
| 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, |