Bug 1534475

Summary: xterm: cannot load font "-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"
Product: [Fedora] Fedora Reporter: Wolfgang Denk <wd>
Component: xtermAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 27CC: bilias, david.fernandez.work, eckirchn, fedora, mlichvar, redhat
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xterm-331-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-16 07:22:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wolfgang Denk 2018-01-15 10:42:21 UTC
Description of problem:

even when running xterm wihout any font specifications, it raises "cannot load font" warnings for some strange bold fonts:

$ xterm
xterm: cannot load font "-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"

Selection some specific font will change the font name in the warning, but it is still unrelated to any specified font (whcih all exist):

$ xterm -fn -misc-fixed-medium-r-normal-*-18-120-100-100-*-90-iso8859-9
xterm: cannot load font "-Misc-Fixed-bold-R-*-*-18-120-100-100-C-180-ISO10646-1"

In addition, display is really ugly for some fonts that used to look fine in older versions of Fedora.

Version-Release number of selected component (if applicable):

xterm-330-3.fc27.x86_64

How reproducible:

always.

Steps to Reproduce:
1. type "xterm" + ENTER

Actual results:

Warning messages as shown above.

Expected results:

No warning messages.

Additional info:

Comment 1 Miroslav Lichvar 2018-03-29 08:53:18 UTC
Do you have installed the xorg-x11-fonts-misc package?

Comment 2 Wolfgang Denk 2018-03-29 10:27:50 UTC
Yes:
-> rpm -q xorg-x11-fonts-misc xterm
xorg-x11-fonts-misc-7.5-18.fc27.noarch
xterm-330-3.fc27.x86_64
-> xterm
xterm: cannot load font "-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"

Comment 3 Kapetanakis Giannis 2018-04-17 07:04:46 UTC
I have the same problem:

$ xterm -fn -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

xterm: cannot load font "-Misc-Fixed-bold-R-*-*-20-200-75-75-C-100-ISO10646-1"
xterm: cannot load font "-Misc-Fixed-medium-R-*-*-20-200-75-75-C-200-ISO10646-1"
xterm: cannot load font "-Misc-Fixed-bold-R-*-*-20-200-75-75-C-200-ISO10646-1"

$ xlsfonts -fn -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

This happened after upgrade from 26->27

xterm-330-3.fc27.x86_64
xorg-x11-fonts-misc-7.5-18.fc27.noarch

Comment 4 Georg Sauthoff 2018-04-18 09:33:54 UTC
One can work around this via specifying a true type font, e.g.:

    xterm -fa mono:size=9

Or via setting the corresponding Xresource:

    XTerm.VT100.faceName: mono:size=9

Perhaps something like this would also be a good system default.

Comment 5 Kapetanakis Giannis 2018-04-18 10:46:05 UTC
Why?
I like my xterm font. It exists, xterm is loading the font
but it produces the errors above

Comment 6 Miroslav Lichvar 2018-05-04 09:29:30 UTC
It seems this was fixed in xterm-331. When I start xterm with "-fn fixed", xterm-330 prints the message, but xterm-331 does not. I'm not sure if this is just a spurious error message or something is rendered differently.

Comment 7 david.fernandez.work 2018-06-01 08:09:34 UTC
(In reply to Miroslav Lichvar from comment #6)
> It seems this was fixed in xterm-331. When I start xterm with "-fn fixed",
> xterm-330 prints the message, but xterm-331 does not. I'm not sure if this
> is just a spurious error message or something is rendered differently.

Fedora 27 seems to be stuck with xterm 330 as of now... would be good for them to add next version to the updates.

Comment 8 Fedora Update System 2018-06-04 09:47:51 UTC
xterm-331-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-288350c8c6

Comment 9 Kapetanakis Giannis 2018-06-04 10:03:00 UTC
almost same problem, however 2 less errors 
xterm-331-1.fc27.x86_64

$ xterm -fn -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
xterm: cannot load font "-Misc-Fixed-medium-R-*-*-20-200-75-75-C-200-ISO10646-1"

$ xlsfonts -fn -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

Comment 10 Fedora Update System 2018-06-04 13:39:25 UTC
xterm-331-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-288350c8c6

Comment 11 eckirchn 2018-06-14 01:12:55 UTC
As of 20180613, under fc27, this problem still persists.  I just ran an update, so that testing update has not migrated to the released repository.  Not sure how long it takes to migrate from testing to released, but thought I would contribute this.

Comment 12 Miroslav Lichvar 2018-06-14 07:32:45 UTC
The update is still in the testing repository, because there was no feedback. If you install the update, does it fix the bug for you?

Comment 13 eckirchn 2018-06-14 08:57:32 UTC
(In reply to Miroslav Lichvar from comment #12)
> The update is still in the testing repository, because there was no
> feedback. If you install the update, does it fix the bug for you?

Can in install a package just from the testing repo, without updating my whole install to "testing"

I might need a bit of hand holding here, but I am willing to contribute to the infrastructure I have learned so much from.

Comment 14 Georg Sauthoff 2018-06-14 09:02:37 UTC
(In reply to eckirchn from comment #13)

> Can in install a package just from the testing repo, without updating my
> whole install to "testing"

Yes, you can. For example like this:

dnf --refresh --enablerepo=updates-testing update xterm

Comment 15 Wolfgang Denk 2018-06-15 11:14:59 UTC
xterm-331-1.fc27.x86_64 works for me.  Thanks!

Comment 16 Kapetanakis Giannis 2018-06-15 11:29:25 UTC
$ xterm -fn -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

xterm: cannot load font "-Misc-Fixed-medium-R-*-*-20-200-75-75-C-200-ISO10646-1"

$ xlsfonts -fn -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

$ rpm -q xterm
xterm-331-1.fc27.x86_64

Comment 17 eckirchn 2018-06-16 13:00:20 UTC
(In reply to Georg Sauthoff from comment #14)
> (In reply to eckirchn from comment #13)
> 
> > Can in install a package just from the testing repo, without updating my
> > whole install to "testing"
> 
> Yes, you can. For example like this:
> 
> dnf --refresh --enablerepo=updates-testing update xterm

Confirmed,

"dnf --refresh --enablerepo=updates-testing update xterm"

solved the issue.  Thank you.

Comment 18 Fedora Update System 2018-08-16 07:22:55 UTC
xterm-331-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.