Discussion:
X properties, fcFontName, bold-italic and info-node
Henry S. Thompson
2015-09-25 21:23:56 UTC
Permalink
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: ***@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
Loading...