Mercurial > emacs
view etc/nxml/01720-0173F.el @ 107827:aa85632b7860
Use XFT in Lucid dialogs if available.
* xmenu.c (apply_systemfont_to_dialog): New.
(create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT.
* lwlib-Xaw.c (widget_xft_data): New for Xft data.
(fill_xft_data, openFont, get_text_width_and_height)
(draw_text, set_text, find_xft_data, command_press)
(command_reset): New functions.
(xaw_update_one_widget): Call set_text for dialog and buttons
if HAVE_XFT. Also set internalHeight for buttons.
(xaw_destroy_instance): Free all Xft related data.
(button_actions, buttonTrans): New structures.
(make_dialog): Call XtAppAddActions for button_actions.
Find xft font to use and call fill_xft_data for widgets.
(xaw_create_dialog): Pass instance parameter to make_dialog.
* lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT.
Override translations for buttons. If depth is 16 or more, tell
Xaw3d to not be nice to colormap.
Remove separator widget, use XtNhorizDistance on first right button
instead.
* xresources.texi (Lucid Resources): Mention faceName for dialogs.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Sun, 11 Apr 2010 20:25:09 +0200 |
parents | d26545774eef |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'hanunoo '(("HANUNOO LETTER A" #x1720) ("HANUNOO LETTER I" #x1721) ("HANUNOO LETTER U" #x1722) ("HANUNOO LETTER KA" #x1723) ("HANUNOO LETTER GA" #x1724) ("HANUNOO LETTER NGA" #x1725) ("HANUNOO LETTER TA" #x1726) ("HANUNOO LETTER DA" #x1727) ("HANUNOO LETTER NA" #x1728) ("HANUNOO LETTER PA" #x1729) ("HANUNOO LETTER BA" #x172A) ("HANUNOO LETTER MA" #x172B) ("HANUNOO LETTER YA" #x172C) ("HANUNOO LETTER RA" #x172D) ("HANUNOO LETTER LA" #x172E) ("HANUNOO LETTER WA" #x172F) ("HANUNOO LETTER SA" #x1730) ("HANUNOO LETTER HA" #x1731) ("HANUNOO VOWEL SIGN I" #x1732) ("HANUNOO VOWEL SIGN U" #x1733) ("HANUNOO SIGN PAMUDPOD" #x1734) ("PHILIPPINE SINGLE PUNCTUATION" #x1735) ("PHILIPPINE DOUBLE PUNCTUATION" #x1736) )) ;; arch-tag: d577c8e1-70e3-4afc-82f4-b61e4cf0b603