view etc/images/connect.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 ed7704221f2b
children
line wrap: on
line source

/* XPM */
static char * stock_connect_xpm[] = {
"24 24 58 1",
" 	c None",
".	c #000000",
"+	c #989389",
"@	c #807D74",
"#	c #C6C2BA",
"$	c #34332D",
"%	c #B7B3AA",
"&	c #C4C2BD",
"*	c #EAE8E3",
"=	c #9C978D",
"-	c #BCB9B2",
";	c #363433",
">	c #E2E1DD",
",	c #F0EFEC",
"'	c #AAA7A0",
")	c #F0EEEB",
"!	c #B2B0AB",
"~	c #F9F9F8",
"{	c #C5C3BD",
"]	c #0F0F0D",
"^	c #F2F0ED",
"/	c #EBEAE6",
"(	c #8A857B",
"_	c #ECEBE8",
":	c #EEECEA",
"<	c #9F9C93",
"[	c #F3F2F0",
"}	c #E8E7E4",
"|	c #E3E1DD",
"1	c #78756B",
"2	c #BEBBB5",
"3	c #B3B1AA",
"4	c #7D786E",
"5	c #E1DFDB",
"6	c #D1D0CC",
"7	c #938E84",
"8	c #C8C5BF",
"9	c #A7A298",
"0	c #010101",
"a	c #8C8981",
"b	c #A6A29B",
"c	c #726D63",
"d	c #CECAC3",
"e	c #A7A49E",
"f	c #7E7A70",
"g	c #A09D94",
"h	c #817D73",
"i	c #6C685E",
"j	c #3C3933",
"k	c #8B877E",
"l	c #706C62",
"m	c #B1ADA4",
"n	c #97938A",
"o	c #625E54",
"p	c #6A655B",
"q	c #37342D",
"r	c #646056",
"s	c #8B877D",
"                        ",
"                        ",
"                        ",
"                        ",
"                        ",
"                        ",
"          .. ..         ",
"        ..+@.#@..       ",
"       $%&*@.*@=-;      ",
"      .>,'*@.)@!~{]     ",
"......@>,'*@.)@!~{@.....",
"*******^/(_@.:@<[}|*****",
"@@@@@1123451.6@789@@@@@@",
".....01abcd1.e@fghi.....",
"      ]abcd1.e@fgh]     ",
"      ]jklmi.n@opq.     ",
"        ]]+r.s@..       ",
"          ]] ].         ",
"                        ",
"                        ",
"                        ",
"                        ",
"                        ",
"                        "};