Bug 680778

Summary: some important iso-10646-1 fonts unavailable
Product: [Fedora] Fedora Reporter: Kurt Keller <kurt>
Component: xorg-x11-fontsAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: fonts-bugs, kurt, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-26 06:10:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kurt Keller 2011-02-27 17:32:57 UTC
Description of problem:
In Fedora 14, resizing of an xterm with CTRL-RightClick is not possible. Input of Japanese characters do not show the glyphs on the xterm either.

Version-Release number of selected component (if applicable):
xorg-x11-fonts-misc-7.2-12.fc14.noarch
Linux FC-7250.hag.hilti.com 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
consistent

Steps to Reproduce:
1. install Fedora 14 with X and xterm
2. remove ~/.Xdefaults and ~/.Xresources to make sure there are no user overrides
3. login to the graphical desktop
4. open an xterm
5. CTRL-RightClick and select another font size
No instructions on how to input Japanese glyphs, as that problem is automatically resolved when the first one is resolved.
  
Actual results:
1. font does not change
2. Japanese glyphs don't show

Expected results:
1. font does change
2. Japanese glyphs show

Additional info:
The error messages upon changing the font size (open an xterm from another xterm to see the error messages; change the font size in the second xterm) mention missing *iso-10646-1 fonts. Sample error messags:
> xterm: cannot load font -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
> xterm: cannot load font -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
> xterm: cannot load font -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1

With xorg-x11-fonts-misc-7.2-12.fc14.noarch, there are fewer such fonts (xlsfonts | grep 10646 | wc -l) than with the same package from Fedora 13.

Downgrading the xorg-x11-fonts-misc package to the version included with Fedora 13 fixes the problem.

cat <<__EOF__ >/etc/yum.repos.d/fedora.13.repo
[fedora13]
name=Fedora 13 - $basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-13&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=0
__EOF__
yum -y --enablerepo=fedora13 --nogpgcheck \
    downgrade xorg-x11-fonts-misc-7.2-9.fc12

Interestingly, doing an upgrade to the Fedora 14 package again after that, the problem is gone. The set of files installed by the two versions of the RPM are more or less identical. But checking the RPM scriptlets shows that the earlier package uses mkfontdir and fc-cache in the postinstall/postuninstall scriptlets, where the newer package uses xorg-x11-fonts-update-dirs. However here I'm finally lost at what these commands actually do. But somebody more knowledgable than me in this area should fix future versions of the package so they work again as expected and make all the fonts available.

Comment 1 Peter Hutterer 2012-06-26 06:10:41 UTC
This bug was filed against Fedora 14 which is now EOL. Please re-open this bug if you still experience this issue with one of the currently suppported versions of Fedora. Don't forget to update the version field if you do so.