X properties, fcFontName, bold-italic and info-node

[email protected] (Henry S. Thompson) Fri, 25 Sep 2015 22:23:56 +0100
Newsgroups gmane.emacs.xemacs.beta
Message-ID <[email protected]>
I've hit a new glitch with an old history.

Per the documentation, and various old threads, the following have the
desired effect, in a case where no Italic style is available:

  XEmacs*fcFontName:			DejaVu Sans Mono:antialias=true
  XEmacs.modeline.attributeFont:		DejaVu Sans:antialias=true
  XEmacs.default.attributeFont: DejaVu Sans Mono:antialias=true
  XEmacs.bold-italic.attributeFont:	DejaVu Sans Mono:style=Bold Oblique:antialias=true

But it doesn't have the desired effect on info-node, which is defined
as follows in info.el:

  (defface info-node '((t (:bold t :italic t)))
    "Face used for node links in info."
    :group 'info-faces)

Adding

  XEmacs.info-node.attributeFont:	DejaVu Sans Mono:style=Bold Oblique:antialias=true

doesn't work either.

I _think_ the reason for this is that the above definition tries and
fails in an attempt to turn DejaVu Sans Mono:style=Bold
Oblique:antialias=true into a bold-italic version, but fails -- the
net result is a slanted DV Sans Mono.

Adding the following to info.el after the above defface fixes this,
but is it the correct fix across-the-board (i.e. for -nw, for Windows,
for people who don't nave a bold-italic ?

(copy-face 'bold-italic 'info-node)

Some relevant discussion from Stephen Turnbull in this old thread:

  http://xemacs-beta.xemacs.narkive.com/dyuOtyWo/bug-21-5-b26-info-node-face-code-vs-docs-conflict

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: [email protected]
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]