1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
emacs/doc/emacs
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
..
.gitignore
abbrevs.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ack.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
anti.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
arevert-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
basic.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
buffers.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
building.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
cal-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
calendar.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ChangeLog Use *font for Xft font names for Lucid menus and dialogs. 2011-02-14 18:21:10 +01:00
cmdargs.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
commands.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
custom.texi Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
dired-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
dired.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
display.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
doclicense.texi Nuke arch-tags. 2011-01-15 15:16:57 -08:00
emacs-xtra.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
emacs.texi Bump version to 23.2.93. 2011-01-31 22:14:15 -05:00
emacsver.texi * configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi. 2010-10-09 10:59:55 -07:00
emerge-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
entering.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
files.texi Merge changes from emacs-23 branch 2011-01-31 18:54:50 -05:00
fixit.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
fortran-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
frames.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
glossary.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
gnu.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
gpl.texi Nuke arch-tags. 2011-01-15 15:16:57 -08:00
help.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
indent.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
killing.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
kmacro.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
m-x.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
macos.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
maintaining.texi Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
major.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Makefile.in Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
makefile.w32-in Fix doc/*/makefile.w32-in according to 2011-01-23T10:22:21Z!wl@gnu.org-2011-01-23T10:38:14Z!wl@gnu.org. 2011-01-29 16:48:19 +02:00
mark.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
mini.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
misc.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
msdog-xtra.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
msdog.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
mule.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
picture-xtra.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
programs.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
regs.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
rmail.texi Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
screen.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
search.texi Merge changes from emacs-23 branch 2011-01-31 18:54:50 -05:00
sending.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
text.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
trouble.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
vc1-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
vc-xtra.texi Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
windows.texi Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
xresources.texi Use *font for Xft font names for Lucid menus and dialogs. 2011-02-14 18:21:10 +01:00