Version: (using KDE KDE 3.5.4)
Installed from: Compiled From Sources
Compiler: gcc-4.1.1 Configured with: ../gcc-4.1.1/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-languages=c,c++ --program-suffix=-4.1.1
Fonts starting without english characters in them install fine with kfontinst but then don't show up in the fontlist. Eg the professional hiragino fonts with names like "ヒラギノ丸ゴ Pro W4.otf" don't show up.
Which fontlist? The font installers, or KDE/Qt apps' font lists? The font installer gets it fontlist from fontconfig. Does fc-list list the font? Is there anywhere I can obtain a free japanese named font to test against?
I renamed the free font mikachan to the japanese named みかちゃん.ttf
I've uploaded the renamed font and put it into a tar here:
fc-list shows it
but the kde control centre font installer does not. It seems to be more the actual font filename rather than the fontname itself that's at fault because if that font is renamed to english filename mikachan.ttf it shows up.
Hmmm... I can confirm this. The KDE3 installer does not list the font, but the KDE4 one does.
SVN commit 820166 by craig:
Fix conversion of fontconfig's UTF-8 strings into QStrings.
(The fonts:// ioslave code was assuming fontconfig's strings were all ASCII - even though there were other places in kfontinst's code doing a proper conversion!)
M +11 -18 KioFonts.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=820166