[Bug 678584] New: tcltk fails to use ibus(xim) when LANG=ja_JP.UTF-8, due to lack of scaled 75dpi,misc fonts.

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 18 14:30:25 UTC 2011


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

Summary: tcltk fails to use ibus(xim) when LANG=ja_JP.UTF-8, due to lack of scaled 75dpi,misc fonts.

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

           Summary: tcltk fails to use ibus(xim) when LANG=ja_JP.UTF-8,
                    due to lack of scaled 75dpi,misc fonts.
           Product: Fedora
           Version: 13
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: xorg-x11-fonts
        AssignedTo: xgl-maint at redhat.com
        ReportedBy: buribullet at gmail.com
         QAContact: extras-qa at fedoraproject.org
                CC: xgl-maint at redhat.com,
                    fonts-bugs at lists.fedoraproject.org
    Classification: Fedora


Created attachment 479522
  --> https://bugzilla.redhat.com/attachment.cgi?id=479522
Toy program to test XCreateFontSet.

Description of problem:
Recently, I found my tcltk app failed to invoke ibus under LANG=ja_JP.UTF-8.
With LANG=ja_JP.eucJP, it worked perfectly.

After some debugging, I found that XCreateFontSet for
"-*-*-*-R-Normal--14-130-75-75-*-*" is not working.
It returns empty fontset in UTF-8. (In eucJP, it returns valid fontset).

This is caused by lack of 'scaled' version of 75dpi and misc fonts.
So please add following symlinks too:

/etc/X11/fontpath.d/xorg-x11-fonts-75dpi:pri=5 -> /usr/share/X11/fonts/75dpi
/etc/X11/fontpath.d/xorg-x11-fonts-misc:pri=5 -> /usr/share/X11/fonts/misc

# Priority is lowered than unscaled version.

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

xorg-x11-fonts-7.2-9.fc12.src.rpm
xorg-x11-fonts-ISO8859-1-75dpi-7.2-9.fc12.noarch
xorg-x11-fonts-misc-7.2-9.fc12.noarch

How reproducible:

Steps to Reproduce:
1. Run "echo 'pack [text .t]' | wish"
2. Type ibus hot key.


Actual results:

no effect.

Expected results:

ibus window pops up.

Additional info:

-- 
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