Hi,
I got the following report regarding the version of XEmacs 21.1.7
shipped with SuSE 6.3:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
did xemacs somehow get broken?
I can't select fonts any more, since the last update:
garloff@mobil:~ > rpm -q xe_exec
xe_exec-21.1.7-25
More exactly: The fonts menu now only shows the clean font, and does not
allow to select courier or lucidatypewriter any more.
That's annoying!
Anybody else? Any idea? Any fix?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The user has font-menu-ignore-scaled-fonts set to t.
This works with 21.2.current. The problem is the function
font-menu-family-constructor. Here's the relevant part of the code
from 21.1.8 in x-font-menu.el:
;; (if (and (member weight (aref entry 1))
;; (or (member size (aref entry 2))
;; (and (not font-menu-ignore-scaled-fonts)
;; (member 0 (aref entry 2)))))
;; (enable-menu-item item)
;; (disable-menu-item item))
(if (and font-menu-ignore-scaled-fonts (member 0 (aref entry 2)))
(disable-menu-item item)
(enable-menu-item item))
Looking at 21.2.current we have (in font-menu.el):
(if (and (or (member weight (aref entry 1))
;; mswindows often allows any weight
(member "" (aref entry 1)))
(or (member size (aref entry 2))
(and (not font-menu-ignore-scaled-fonts)
(member 0 (aref entry 2)))))
(enable-menu-item item)
(disable-menu-item item))
Why is that part of the code in 21.1.8 commented out? Either of these
versions is broken. Could somebody double check if the 21.2.current
version is ok? In that case we should include it in 21.1.9.
Andreas
--
Andreas Jaeger
SuSE Labs aj(a)suse.de
private aj(a)arthur.rhein-neckar.de