Mailinglist Archive: opensuse-bugs (9592 mails)

< Previous Next >
[Bug 338068] XEmacs displays oversized italic fonts
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 6 Nov 2007 08:14:33 -0700 (MST)
  • Message-id: <20071106151433.BB2DCCC7AC@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=338068#c7





--- Comment #7 from Mike Fabian <mfabian@xxxxxxxxxx> 2007-11-06 08:14:33 MST
---
Dieter Kluenter> it seems that XEmacs is not reading ~/.Xresources anymore, all
XEmacs
Dieter Kluenter> related settings in this file are not executed

[...]

Dieter Kluenter> xrdb -query ~/.Xresources shows
Dieter Kluenter> ...............
Dieter Kluenter> XEmacs.default.italic.attributeFont:
Dieter Kluenter> -*-courier-medium-o-*-*-10-100-*-*-*-iso10646-*
Dieter Kluenter> .............
Dieter Kluenter> single line.

This doesn’t work because the X-Resource is wrong! Instead of
“XEmacs.default.italic.attributeFont” you have to use
“XEmacs.italic.attributeFont”. This is explained at the top of
/usr/share/X11/app-defaults/XEmacs (This did not change from openSUSE
10.2 to openSUSE 10.3):

! The default font for the text area of XEmacs is chosen at run-time
! by lisp code which tries a number of different possibilities in order
! of preference. If you wish to override it, use this:
!
! Emacs.default.attributeFont: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*

! If you choose a font which does not have an italic version, you can specify
! some other font to use for it here:
!
! Emacs.italic.attributeFont: -*-courier-medium-o-*-*-*-120-*-*-*-*-iso8859-*
!
! If you choose a font which does not have a bold-italic version,
! you can specify some other font to use for it here:
!
! Emacs.bold-italic.attributeFont:
-*-courier-bold-o-*-*-*-120-*-*-*-*-iso8859-*
!
! And here is how you would set the background color of the `highlight' face,
! but only on the screen named `debugger':
!
! Emacs*debugger.highlight.attributeBackground: PaleTurquoise
!
! See the NEWS file (C-h n) for a more complete description of the resource
! syntax of faces.

Well, the last line is not true, the NEWS file doesn’t explain that in
more detail.

Make sure you specify a XLFD which really exists, otherwise it won’t
work either.

You can check with xlsfonts:

mfabian@magellan:~$ xlsfonts -fn
-*-courier-medium-o-*-*-10-100-*-*-*-iso10646-*
-adobe-courier-medium-o-normal--10-100-75-75-m-60-iso10646-1
-adobe-courier-medium-o-normal--10-100-75-75-m-60-iso10646-1
mfabian@magellan:~$


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >