Mercurial > emacs
view etc/images/up-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 * up_arrow_xpm[] = { "24 24 67 1", " c None", ". c #000000", "+ c #2F2F2F", "@ c #A5B4A4", "# c #E8F4E6", "$ c #96B892", "% c #41533C", "& c #F1FFF0", "* c #B8D6B7", "= c #9FC49D", "- c #66815E", "; c #B6D4B5", "> c #B9D7B8", ", c #A1C69F", "' c #68835F", ") c #637D5B", "! c #3F5239", "~ c #B8D7B7", "{ c #A2C7A0", "] c #6A8561", "^ c #657F5C", "/ c #617959", "( c #3E4F39", "_ c #F0FEEF", ": c #B7D5B6", "< c #657E5C", "[ c #5D7555", "} c #D6EAD6", "| c #BFD4BF", "1 c #C0D5C0", "2 c #637C5B", "3 c #4D6246", "4 c #4C6046", "5 c #C7E1C6", "6 c #A1C69E", "7 c #67815E", "8 c #627B59", "9 c #3D4E39", "0 c #D0E7D0", "a c #B5D3B4", "b c #A0C39D", "c c #607958", "d c #B5D2B4", "e c #9DC19B", "f c #647D5B", "g c #607858", "h c #C6E0C5", "i c #B4D2B3", "j c #9CBF99", "k c #C5DFC4", "l c #B1CEB0", "m c #99BC97", "n c #617A59", "o c #5E7756", "p c #C0D9BF", "q c #AFCCAE", "r c #AECBAD", "s c #93B690", "t c #607857", "u c #5E7656", "v c #8DB389", "w c #748A72", "x c #71916E", "y c #5A7257", "z c #4D6247", "A c #4D6146", "B c #43543D", " ", " ", " . ", " +@. ", " .#$%. ", " .&*=-%. ", " .&;>,')!. ", " .&~;>{]^/(. ", " ._~>:>,]</[(. ", " .}|1>~~,'23444. ", " .....5;;6789..... ", " .0;ab^c9. ", " .5;defg9. ", " .haij2g9. ", " .kilmno9. ", " .pqrstu9. ", " .vwxyzAB. ", " ......... ", " ", " ", " ", " ", " ", " "};