aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2009-11-17 08:21:23 +0000
committerJan Djärv2009-11-17 08:21:23 +0000
commit637fa9880877f485842b7aca18146a1f12c05b96 (patch)
treef4994cdadaad980b7b28827eba6cd50421a7f892 /src/ChangeLog
parent77fd3e0c13b345cd4ff5c9ef5c89bd6b29054bc3 (diff)
downloademacs-637fa9880877f485842b7aca18146a1f12c05b96.tar.gz
emacs-637fa9880877f485842b7aca18146a1f12c05b96.zip
Handle system default font and changing font parameters.
* xterm.h (struct x_display_info): Add atoms and Window for xsettings. * xterm.c (handle_one_xevent): Call xft_settings_event for ClientMessage, PropertyNotify and DestroyNotify. (x_term_init): If we have XFT, get DPI from Xft.dpi. Call xsettings_initialize. * xftfont.c (xftfont_fix_match): New function. (xftfont_open): Call XftDefaultSubstitute before XftFontMatch. Call xftfont_fix_match after XftFontMatch. * xfont.c (xfont_driver): Initialize all members. * xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font. Do not get font from x_default_parameter if we got one from Ffont_get_system_font. (Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f). * w32font.c (w32font_driver): Initialize all members. * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new. * lisp.h: Declare syms_of_xsettings. * keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle CONFIG_CHANGED_EVENT. * ftfont.c (ftfont_filter_properties): New function. * frame.c (x_set_font): Remove unused variable lval. * font.h (struct font_driver): filter_properties is new. * font.c (font_put_extra): Don't return if val is nil, it means boolean option is off. (font_parse_fcname): Collect all extra properties in extra_props and call filter_properties for all drivers with extra_props and font as parameter. (font_open_entity): Do not use cache, it does not pick up new fontconfig settings like hinting. (font_load_for_lface): If spec had a name in it, store it in entity. * emacs.c (main): Call syms_of_xsettings * config.in: HAVE_GCONF is new. * Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF. xsettings.o is new. * menu-bar.el: Put "Use system font" in Option-menu. * loadup.el: If feature system-font-setting or font-render-setting is there, load font-setting. * Makefile.in (ELCFILES): font-settings.el is new. * font-setting.el: New file. * NEWS: Mention dynamic font changes (font-use-system-font). * configure.in: New option: --with(out)-gconf. Set HAVE_GCONF if we find gconf.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0bc2ad403e7..c09d11d5ecf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,54 @@
12009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xterm.h (struct x_display_info): Add atoms and Window for xsettings.
4
5 * xterm.c (handle_one_xevent): Call xft_settings_event for
6 ClientMessage, PropertyNotify and DestroyNotify.
7 (x_term_init): If we have XFT, get DPI from Xft.dpi.
8 Call xsettings_initialize.
9
10 * xftfont.c (xftfont_fix_match): New function.
11 (xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
12 Call xftfont_fix_match after XftFontMatch.
13
14 * xfont.c (xfont_driver): Initialize all members.
15
16 * xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
17 Do not get font from x_default_parameter if we got one from
18 Ffont_get_system_font.
19 (Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).
20
21 * w32font.c (w32font_driver): Initialize all members.
22
23 * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.
24
25 * lisp.h: Declare syms_of_xsettings.
26
27 * keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
28 CONFIG_CHANGED_EVENT.
29
30 * ftfont.c (ftfont_filter_properties): New function.
31
32 * frame.c (x_set_font): Remove unused variable lval.
33
34 * font.h (struct font_driver): filter_properties is new.
35
36 * font.c (font_put_extra): Don't return if val is nil, it means
37 boolean option is off.
38 (font_parse_fcname): Collect all extra properties in extra_props
39 and call filter_properties for all drivers with extra_props and
40 font as parameter.
41 (font_open_entity): Do not use cache, it does not pick up new fontconfig
42 settings like hinting.
43 (font_load_for_lface): If spec had a name in it, store it in entity.
44
45 * emacs.c (main): Call syms_of_xsettings
46
47 * config.in: HAVE_GCONF is new.
48
49 * Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
50 xsettings.o is new.
51
12009-11-17 Kenichi Handa <handa@m17n.org> 522009-11-17 Kenichi Handa <handa@m17n.org>
2 53
3 * xdisp.c (x_produce_glyphs): Consider face-remapping when falling 54 * xdisp.c (x_produce_glyphs): Consider face-remapping when falling