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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
    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.
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to