From xemacs-m  Tue Mar  4 04:49:43 1997
Received: from colargol.idb.hist.no (qmailr@colargol.idb.hist.no [158.38.62.110])
	by xemacs.org (8.8.5/8.8.5) with SMTP id EAA16667
	for <xemacs-beta@xemacs.org>; Tue, 4 Mar 1997 04:49:42 -0600 (CST)
Received: (qmail 29902 invoked by uid 1747); 4 Mar 1997 10:47:12 -0000
To: Martin Buchholz <mrb@Eng.Sun.COM>
Cc: xemacs-beta@xemacs.org
Subject: Re: X-resource .bold-italic.attributeFont anyone?
References: <yngiv38dha3.fsf@colargol.idb.hist.no> <199703040111.RAA07332@xemacs.eng.sun.com>
X-Face: tx`D!'~U}_62nQA.`3??_[JKTSeac_lTsV*$e"rH4v(~W<{%PsThE|3`UO:@(f_G<?@Mkqw
 7QA18QY8-w>er}._<'k<bsD1UA"Yq/YZBra[eV@0pU:~o]d:"u]]Xh;i-,g}T:JtsG,I^""MO#ZvP+
 cl-hbPg7_K<)!qQu|jsGE84q4x0z~v4|OHl.l8y|Bvo0IMp>U"09
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Tore Olsen <toreo@colargol.idb.hist.no>
Date: 04 Mar 1997 11:47:12 +0100
In-Reply-To: Martin Buchholz's message of Mon, 3 Mar 1997 17:11:57 -0800
Message-ID: <yngrahw3pe7.fsf@colargol.idb.hist.no>
Lines: 52
X-Mailer: Gnus v5.4.16/XEmacs 19.15

Martin Buchholz <mrb@Eng.Sun.COM> writes:

> >>>>> "Tore" == Tore Olsen <toreo@colargol.idb.hist.no> writes:
> 
> Tore> This is with 19.15-b95.
> Tore> I don't seem to be able to change the font used by bold-italic from my
> Tore> .Xdefaults-file. It seems to be inherited from the italic.attributeFont,
> Tore> and made bold.
> 
> This should only happen if bold-italic is specified in .Xdefaults
> identically to the default face.  Here's the code from faces.el, most
> recently changed by me:

Well, I don't know. This is my testing .Xdefaults:
Emacs.default.attributeFont: -*-courier-medium-r-*-*-*-140-*-*-*-*-*-*
Emacs.italic.attributeFont: -*-courier-medium-o-*-*-*-140-*-*-*-*-*-*
Emacs.bold-italic.attributeFont: -*-symbol-*-*-*-*-*-*-*-*-*-*-*-*

(x-get-resource "italic.attributeFont" "Face.AttributeFont" 'string)
gives: "-*-courier-medium-o-*-*-*-140-*-*-*-*-*-*"

(x-get-resource "bold-italic.attributeFont" "Face.AttributeFont" 'string)
gives: "-*-symbol-*-*-*-*-*-*-*-*-*-*-*-*".

(face-font-name (get-face 'bold-italic))
gives: "-*-courier-bold-o-*-*-*-140-*-*-*-*-*-*".

and I don't specify any fonts in any lisp files.

>   ;; similar for bold-italic.
>   (unless (face-differs-from-default-p 'bold-italic device)
>     (make-face-bold-italic 'bold-italic device)
>     ;; if we couldn't get a bold-italic version, try just bold.
>     (unless (face-differs-from-default-p 'bold-italic device)
>       (make-face-bold-italic 'bold-italic device)
                   ^^^^^^^^^^^

Shouldn't this be (make-face-bold 'bold-italic device) then, according
to the comments?

> Check if different specifications in $HOME/Emacs for bold-italic *do*
> take effect.

I don't understand this. Could you try to explain, please?

> Martin

-Toreo
-- 
Tore Olsen <toreo@colargol.idb.hist.no> drift@colargol, TIHLDE, IDB HiST

Surprise, fear, and a ruthless dedication to the Gnu!

