Fix crashing bug in use of bold fonts from x-select-font on W32.
authorJason Rumney <jasonr@gnu.org>
Mon, 16 Jun 2008 09:11:05 +0000 (09:11 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 16 Jun 2008 09:11:05 +0000 (09:11 +0000)
commit3ef8c1b49e06347a04ec6cbdc7bd5f0432ca583d
tree2b34bdab8ff6ff005ae6ede4c4878c987c117b48
parentdef61be2348d06f8e43b615aeb4f061dd2b932ef
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.
src/ChangeLog
src/font.c
src/font.h
src/w32font.c