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@redhat.com ReportedBy: buribullet@gmail.com QAContact: extras-qa@fedoraproject.org CC: xgl-maint@redhat.com, fonts-bugs@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: