[Bug 634039] New: encodings in /usr/share/X11/fonts/encodings/large are not read by X server

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 15 02:04:18 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: encodings in /usr/share/X11/fonts/encodings/large are not read by X server

https://bugzilla.redhat.com/show_bug.cgi?id=634039

           Summary: encodings in /usr/share/X11/fonts/encodings/large are
                    not read by X server
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: xorg-x11-fonts
        AssignedTo: xgl-maint at redhat.com
        ReportedBy: dueno at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: xgl-maint at redhat.com,
                    fonts-bugs at lists.fedoraproject.org
    Classification: Fedora
    Target Release: ---


Description of problem:
Installing font encoded in "large" encoding set prevents native X applications
starting up normally.

Version-Release number of selected component (if applicable):
xorg-x11-fonts-misc-7.2-9.fc12

How reproducible:
Always.

Steps to Reproduce:
1. Install a font encoded in any of the encoding defined in
/usr/share/X11/fonts/encodings/large/*.  For example, cjkuni-uming-fonts
2. Run a native X application like xcalc

Actual results:
You will see the warning on the terminal:
 Warning: Missing charsets in String to FontSet conversion
 Warning: Unable to load any usable fontset

Even worse, some applications (including m17n-edit in m17n-lib-tools) abort
with:
 Error: Aborting: no fontset found

Also, you will see errors in /var/log/Xorg.0.log:
 FreeType: couldn't find encoding 'gb2312.1980-0' for '/usr/share/fo
nts/cjkuni-uming/uming.ttc'

Expected results:
No warnings will be shown and every application should not abort.

Additional info:
This is because X server does not read encoding files in
/usr/share/X11/fonts/encodings/large, while it reads files in
/usr/share/X11/fonts/encodings.

Possible solutions are:
1. Move the encoding files from the "large" subdir to the upper dir
2. Generate encodings.dir in /usr/share/X11/fonts/encodings with entries for
"large" subdir.

I guess there may have been some reason not to generate encodings.dir, though I
couldn't find any clue from the changelog.

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


More information about the fonts-bugs mailing list