1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
emacs/etc
Jan Djärv 3928f2b67e Use *font for Xft font names for Lucid menus and dialogs.
* doc/emacs/xresources.texi (X Resources): Remove *faceName and replace it with
*font for Lucid.

* lwlib/lwlib-Xaw.c (make_dialog): Use *font even for Xft fonts.  Try
XLoadQueryFont first and then Xft fonts.

* lwlib/xlwmenu.c (xlwmenu_default_font): Remove, does not work for
multi-display.
(xlwMenuResources): Remove XtNfaceName and XtNdefaultFace.
Make XtNFont a String resource.
(make_windows_if_needed): Call XFlush so later changes are seen by the
X server.
(remap_menubar): Use XtMoveWidget and then
XtResizeWidget/XtResizeWindow after XtPopup.  Works better with
Compiz.
(make_drawing_gcs): Check if mw->menu.font is set.
(getDefaultXftFont): New function.
(openXftFont): faceName is now fontName.  Try XLoadQueryFont first
and then XftFontOpenName.
(XlwMenuInitialize): Initialize mw->menu.font with XLoadQueryFont.
(XlwMenuClassInitialize): Remove initialization of
xlwmenu_default_font.
(fontname_changed): Renamed from facename_changed.
(XlwMenuSetValues): Use facename_changed.

* lwlib/xlwmenu.h: Remove Xt[CN]faceName and Xt[NC]defaultFace.

* lwlib/xlwmenuP.h (_XlwMenu_part): Remove faceName.  Add fontName.

* src/xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
(apply_systemfont_to_menu): Set resources *menubar*font and
*popup*font.  Remove defflt.
(set_frame_menubar, create_and_show_popup_menu): Call
apply_systemfont_to_menu before lw_create_widget.

* src/xrdb.c (x_load_resources): For LUCID and XFT, don't put a
resource that specifies helvetica for menus and dialogs.
2011-02-14 18:21:10 +01:00
..
charsets Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
e * term.el (term-handle-ansi-escape): Add comments with the 2009-08-07 07:04:02 +00:00
gnus Remove arch-tags from all files, since these are no longer needed. 2010-09-02 00:55:51 +00:00
images Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
nxml Nuke arch-tags. 2011-01-15 15:16:57 -08:00
refcards Redo spelling of Makefile variables to conform to POSIX. 2011-01-27 17:51:41 -08:00
schema Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
srecode Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
themes * themes/light-blue-theme.el: New file. 2011-02-12 18:10:18 -05:00
tutorials Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
AUTHORS Bump version to 23.2.93. 2011-01-31 22:14:15 -05:00
celibacy.1
CENSORSHIP
ChangeLog * NEWS: Tramp methods "imap" and "imaps" are discontinued. 2011-02-13 13:57:41 +01:00
compilation.txt Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
condom.1
CONTRIBUTE Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
COOKIES
COPYING
copying.paper
DEBUG Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
DEVEL.HUMOR
DISTRIB Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
echo.msg
edt-user.el Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
emacs-buffer.gdb Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
emacs.desktop
emacs.icon
emacs.py Nuke arch-tags. 2011-01-15 15:16:57 -08:00
emacs2.py Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
emacs3.py Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
enriched.doc Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ERC-NEWS Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ETAGS.EBNF Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ETAGS.README Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
forms-d2.dat
FTP
future-bug
GNU Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
GNUS-NEWS Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
gnus-tut.txt Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
grep.txt Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
HELLO Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
INTERVIEW
JOKES
LINUX-GNU
MACHINES Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
MAILINGLISTS Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
MH-E-NEWS Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
MORE.STUFF Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
MOTIVATION
NEWS Use *font for Xft font names for Lucid menus and dialogs. 2011-02-14 18:21:10 +01:00
NEWS.1-17 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
NEWS.18 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
NEWS.19 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
NEWS.20 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
NEWS.21 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
NEWS.22 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
NEWS.23 Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
NEXTSTEP Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
NXML-NEWS
ORDERS Update some URLs. 2009-12-15 03:12:44 +00:00
PROBLEMS Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ps-prin0.ps Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
ps-prin1.ps Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
README Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
rgb.txt
SERVICE Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ses-example.ses Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
sex.6
spook.lines
TERMS Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
THE-GNU-PROJECT
TODO Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
WHY-FREE
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2011  Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)