Mercurial > emacs
annotate src/bitmaps/README @ 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 | c3512b2085a0 |
| children |
| rev | line source |
|---|---|
| 25830 | 1 This directory contains bitmap files that Emacs uses from |
| 97142 | 2 /usr/include/X11/bitmaps. |
| 25830 | 3 |
|
75659
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
4 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
5 COPYRIGHT AND LICENSE INFORMATION |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
6 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
7 These bitmaps are the same as those contained in X Version 11 Release |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
8 4 (released 1989). The correspondence between the Emacs filenames and |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
9 the original include/X11/bitmaps/ filenames is as follows: |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
10 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
11 Emacs: X11R4: |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
12 cntrpmsk.xbm cntr_ptrmsk |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
13 cntrptr.xbm cntr_ptr |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
14 crosswv.xbm cross_weave |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
15 dimple1.xbm dimple1 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
16 dimple3.xbm dimple3 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
17 gray.xbm gray |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
18 gray1.xbm gray1 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
19 gray3.xbm gray3 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
20 leftpmsk.xbm left_ptrmsk |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
21 leftptr.xbm left_ptr |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
22 rtpmsk.xbm right_ptrmsk |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
23 rtptr.xbm right_ptr |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
24 stipple.xbm stipple |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
25 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
26 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
27 The following copyright and license notice appeared in the parent |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
28 directory of the X11R4 bitmaps/ directory (in include/X11/copyright.h): |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
29 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
30 Copyright 1985, 1986, 1987, 1988, 1989 by the |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
31 Massachusetts Institute of Technology |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
32 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
33 Permission to use, copy, modify, distribute, and sell this software and its |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
34 documentation for any purpose is hereby granted without fee, provided that |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
35 the above copyright notice appear in all copies and that both that |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
36 copyright notice and this permission notice appear in supporting |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
37 documentation, and that the name of M.I.T. not be used in advertising or |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
38 publicity pertaining to distribution of the software without specific, |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
39 written prior permission. M.I.T. makes no representations about the |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
40 suitability of this software for any purpose. It is provided "as is" |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
41 without express or implied warranty. |
