view etc/images/fwd-arrow.xpm @ 106085:cd4cbab8bb21

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.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 17 Nov 2009 08:21:23 +0000
parents 28718fa5d988
children
line wrap: on
line source

/* XPM */
static char *fwd_arrow_xpm[] = {
"24 24 43 1",
"  c #000000",
". c #53692A",
"X c #59702D",
"o c #657255",
"O c #6D7A5B",
"+ c #6D8839",
"@ c #7C9B40",
"# c #748261",
"$ c #7F8E6B",
"% c #818F71",
"& c #879772",
"* c #8C9A7F",
"= c #85A24D",
"- c #8BA859",
"; c #92AD62",
": c #95A77E",
"> c #98AF74",
", c #9BB572",
"< c #919889",
"1 c #92998C",
"2 c #939A8D",
"3 c #99A28F",
"4 c #9BAA87",
"5 c #9CAF84",
"6 c #A4B690",
"7 c #A8BCA6",
"8 c #ADBDA0",
"9 c #AFC394",
"0 c #BAD09D",
"q c #B5C3A9",
"w c #BED2A3",
"e c #BFD3A6",
"r c #C2D5AA",
"t c #C5D7AE",
"y c #C8D9B2",
"u c #CDDCBC",
"i c #D1DFBE",
"p c #D2E0BF",
"a c #D3E0C1",
"s c #D4E0C5",
"d c #D5E1C6",
"f c #FFFFFF",
"g c None",
"gggggggggggggggggggggggg",
"gggggggggggggggggggggggg",
"gggggggggggggggggggggggg",
"ggggggggggggg gggggggggg",
"ggggggggggggg  ggggggggg",
"ggggggggggggg 2 gggggggg",
"gggggggggg    02 ggggggg",
"ggggggggg &6riw03 gggggg",
"gggggggg 7suat000< ggggg",
"ggggggg *saie000004 gggg",
"gggggg  qs;@@@@@@X ggggg",
"gggggg $y=@@@@@@. gggggg",
"gggggg 6,@X   @. ggggggg",
"gggggg 0@+  g X gggggggg",
"gggggg 0@  gg  ggggggggg",
"gggggg :- ggg gggggggggg",
"gggggg o> gggggggggggggg",
"ggggggg 9 gggggggggggggg",
"ggggggg O5 ggggggggggggg",
"gggggggg #& gggggggggggg",
"ggggggggg  ggggggggggggg",
"gggggggggggggggggggggggg",
"gggggggggggggggggggggggg",
"gggggggggggggggggggggggg"};