annotate etc/images/sort-ascending.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 75b06a7624a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
69424
ed7704221f2b Revision: emacs@sv.gnu.org/emacs--devo--0--patch-151
Miles Bader <miles@gnu.org>
parents:
diff changeset
1 /* XPM */
69713
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
2 static char * sort_ascending_xpm[] = {
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
3 "24 24 34 1",
69424
ed7704221f2b Revision: emacs@sv.gnu.org/emacs--devo--0--patch-151
Miles Bader <miles@gnu.org>
parents:
diff changeset
4 " c None",
69713
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
5 ". c #000000",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
6 "+ c #FAFAFA",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
7 "@ c #DDDFD2",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
8 "# c #8B8E7C",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
9 "$ c #E5E7DD",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
10 "% c #84A77E",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
11 "& c #586546",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
12 "* c #81A57C",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
13 "= c #EDEEE8",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
14 "- c #81A57B",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
15 "; c #ECEDE6",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
16 "> c #7EA379",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
17 ", c #7DA377",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
18 "' c #DDDFD3",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
19 ") c #7DA378",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
20 "! c #C9D5C4",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
21 "~ c #7EA378",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
22 "{ c #7C7E73",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
23 "] c #DFE7DE",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
24 "^ c #CCDACA",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
25 "/ c #90B08C",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
26 "( c #76986D",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
27 "_ c #6C855E",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
28 ": c #22231E",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
29 "< c #3F443B",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
30 "[ c #C8D8C7",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
31 "} c #9DB89A",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
32 "| c #76966B",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
33 "1 c #3D4237",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
34 "2 c #565B4E",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
35 "3 c #9EBA9A",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
36 "4 c #3C4237",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
37 "5 c #5E6154",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
38 " ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
39 " ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
40 " ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
41 " .... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
42 " ..... .. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
43 " .+@#. .. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
44 " .$%&. ...... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
45 " .$*&. .. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
46 " .=-&. .. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
47 " .;-&. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
48 " .$*&. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
49 " .$*&. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
50 " .$>&. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
51 " .$,&. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
52 " .')&. .. ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
53 " ...!~&... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
54 " .{]^/(_:. ...... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
55 " .<[}|1. ... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
56 " .234. ... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
57 " .5. ... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
58 " . ... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
59 " ...... ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
60 " ",
75b06a7624a1 * images/README: Update with following information.
Bill Wohler <wohler@newt.com>
parents: 69424
diff changeset
61 " "};