Red Hat Bugzilla – Bug 428647
Failure to find fonts
Last modified: 2008-01-17 12:47:16 EST
Description of problem:
Many applications (OOo, xemacs, among others) fail to find fonts.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. For example, run oowriter in a Gnome terminal
On x86_64 (i686 gives similar junk):
X-Error: BadName (named color or font does not exist)
Major opcode: 45 (X OpenFont)
Serial No: 429 (429)
The errors are reported asynchronously.
set environment variable SAL_SYNCRONIZE to 1 to help debugging
(The message's last line should be "Set...", BTW)
Which font we are talking about? Could you check that you have it installed with
would check which font on your computer is used for Arial in a document?
Also could you attach please strace of ooffice when starting, i.e., for command
strace -f -o oofice-strace.txt oowriter
could you attach uncompressed file oofice-strace.txt to this bug, please?
Also please attach your X server config file (/etc/X11/xorg.conf) and X server
log file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file
attachments using the bugzilla file attachment link below.
Could you please also try to run without any /etc/X11/xorg.conf whatsoever and
let X11 autodetect your display and video card? Attach to this bug
/var/log/Xorg.0.log from this attempt as well, please.
We will review this issue again once you've had a chance to attach this information.
Thanks in advance.
No particular font, just starting oowriter crashes. Running xemacs (without file
name, etc) gives exactly the same failure for X_OpenFont.
$ fc-match Arial
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"
Exactly the same with a non-updated server
Created attachment 291623 [details]
Requested strace of oowriter (x86_64)
Created attachment 291624 [details]
Created attachment 291625 [details]
Created attachment 291626 [details]
Xorg.0.log without xorg.conf
Without /etc/X11/xorg.conf oowriter works!
Created attachment 291629 [details]
OK, axing the section:
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
gets X to find fonts and be happy.
Thanks for letting us know.
Hummm.... my xorg.conf file was generated by the installation of Fedora (or
perhaps screen configuration), this stuff wasn't my doing.
Yeah, we probably suck in upgrading configuration between Fedora releases.