comparison src/ChangeLog @ 95894:76261fd18708

* w32fns.c (Fw32_select_font): Removed old font API function. * w32font.c (logfont_to_fcname): New function. (Fx_select_font): New font dialog function compatible with GTK/fontconfig version. * font.c (font_style_symbolic_from_value): New function. (font_style_symbolic): Use it. * font.h (font_style_symbolic_from_value): Declare new function.
author Jason Rumney <jasonr@gnu.org>
date Fri, 13 Jun 2008 14:29:47 +0000
parents ef62be95d808
children d87b6172ad66
comparison
equal deleted inserted replaced
95893:680b6bde042b 95894:76261fd18708
1 2008-06-13 Jason Rumney <jasonr@gnu.org>
2
3 * w32fns.c (Fw32_select_font): Removed old font API function.
4
5 * w32font.c (logfont_to_fcname): New function.
6 (Fx_select_font): New font dialog function compatible with
7 GTK/fontconfig version.
8
9 * font.c (font_style_symbolic_from_value): New function.
10 (font_style_symbolic): Use it.
11
12 * font.h (font_style_symbolic_from_value): Declare new function.
13
1 2008-06-13 Juanma Barranquero <lekktu@gmail.com> 14 2008-06-13 Juanma Barranquero <lekktu@gmail.com>
2 15
3 * font.c (syms_of_font) <font-weight-table, font-slant-table>: 16 * font.c (syms_of_font) <font-weight-table, font-slant-table>:
4 <font-width-table>: Fix typos in docstrings. 17 <font-width-table>: Fix typos in docstrings.
5 18
37 (font_list_entities): Don't check alternate_familes here. 50 (font_list_entities): Don't check alternate_familes here.
38 (font_clear_prop): Handle foundry. 51 (font_clear_prop): Handle foundry.
39 (font_update_lface): Don't parse "foundry-family" form here. 52 (font_update_lface): Don't parse "foundry-family" form here.
40 Handle FONT_FOUNDRY_INDEX. 53 Handle FONT_FOUNDRY_INDEX.
41 (font_find_for_lface): Likewise. Handle alternate families here. 54 (font_find_for_lface): Likewise. Handle alternate families here.
42 If registry is nil, try iso8859-1 and ascii-0.
43 (font_open_for_lface): Pay attention to size in ENTITY. 55 (font_open_for_lface): Pay attention to size in ENTITY.
44 (font_open_by_name): Simplify by calling font_load_for_lface. 56 (font_open_by_name): Simplify by calling font_load_for_lface.
45 (free_font_driver_list): Delete it. 57 (free_font_driver_list): Delete it.
46 (font_update_drivers): Preserve the order of backends. 58 (font_update_drivers): Preserve the order of backends.
47 (syms_of_font): Setting of sort_shift_bits adjusted for the change 59 (syms_of_font): Setting of sort_shift_bits adjusted for the change