Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd December 2006, 03:31 PM
Wiles Offline
Registered User
 
Join Date: Aug 2006
Posts: 396
qt and asian fonts

I notice that kwrite, kate, quanta, etc. all display squares instead of japanese/korean/chinese characters. I have those languages installed, and can view asian websites with firefox and epiphany. but konqueror, and other kde based apps can't show the fonts correctly. I have also tried setting the default font for quanta's editor to an asian font, but quanta still shows squares. How can i fix this?
Reply With Quote
  #2  
Old 13th February 2007, 06:50 PM
contents Offline
Registered User
 
Join Date: Sep 2006
Location: Chicago
Posts: 17
I've got the exact same problem. I tried booting it in kde to fix it, but was unsuccessful. The kde font installer shows all of my Chinese fonts installed, but when I try to add Chinese as a language in "Coutry/Region & Language", everything turns to little squares again. I'm guessing that kde is looking for Chinese fonts in the wrong path (though for some reason the font installer still finds them).

I asked about this in the kde irc chatroom, but they said that different distributions handle font issues differently, and told me to go ask fedora people.

Does anyone know about the correct font paths or font configuration method for kde (preferably without using the control center gui, because that's not working for me). Does anyone know what should be the correct font path for kde apps, or where the kde/qt font config files are?

Thanks
Reply With Quote
  #3  
Old 18th February 2007, 07:55 AM
annonymous Offline
Registered User
 
Join Date: Feb 2007
Posts: 3
I have a similar problem and it's driving me absolutely nuts. Beginning to regret running Linux...

Anyway after some hours banging my head I figured out you can get the Chinese characters to show up in KDE applications and all programs' title bars (in KDE) by installing......... Japanese. (Fedora menu -> System -> Add/Remove Software, Language section.) Restart KDE and no more big squares.

But it only fixed Traditional characters! Every character that's different in simplified form shows up as a (character box-wise) centered dot among the other characters. e.g. 简体字 shows up as dot-dot-字

If someone can point me in the right direction I'd be really grateful!
Reply With Quote
  #4  
Old 18th February 2007, 08:59 AM
alpha645's Avatar
alpha645 Offline
Registered User
 
Join Date: Jul 2006
Posts: 740
Quote:
Originally Posted by annonymous
I have a similar problem and it's driving me absolutely nuts. Beginning to regret running Linux...

Anyway after some hours banging my head I figured out you can get the Chinese characters to show up in KDE applications and all programs' title bars (in KDE) by installing......... Japanese. (Fedora menu -> System -> Add/Remove Software, Language section.) Restart KDE and no more big squares.

But it only fixed Traditional characters! Every character that's different in simplified form shows up as a (character box-wise) centered dot among the other characters. e.g. 简体字 shows up as dot-dot-字

If someone can point me in the right direction I'd be really grateful!
Ehm, I think you guys should look at the X-server. Especially the man xorg.conf . I remember a option for Chinese fonts there. I'm not sure, but have a look. It had something to do with 'Canna'.
Reply With Quote
  #5  
Old 18th February 2007, 09:16 AM
icydog Offline
Registered User
 
Join Date: Nov 2005
Posts: 447
I had this problem too. I solved it by removing a Japanese font. I forgot the name of the exact font, but the system was trying to display Chinese using the Japanese font that did not in fact have those Chinese characters. Removing the Japanese font allowed the actual Chinese fonts to be used correctly.

Try rpm -qa |grep font and see if you can remove ones you don't need. I have a vague feeling it was a font called MS Mincho in one of those packages (you might try "locate mincho" followed by "rpm -qf (path to that file)"), but I'm not sure.
Reply With Quote
  #6  
Old 18th February 2007, 05:20 PM
annonymous Offline
Registered User
 
Join Date: Feb 2007
Posts: 3
Thanks for your response. I looked in my xorg.conf and it's pretty basic in there--everything's keyboard, video device, or display in there and no mention of fonts. Would the xorg instructions at http://wqy.sourceforge.net/cgi-bin/e...gi?Dou_INSTALL be similar to what you remember?

By the way, like the other guys, all the characters show up fine in Firefox and the like--just KDE applications having problems.
Reply With Quote
  #7  
Old 18th February 2007, 06:00 PM
annonymous Offline
Registered User
 
Join Date: Feb 2007
Posts: 3
THANKS!! That was exactly it. Doesn't even look like Japanese is broken, though I wonder if it would be a problem for someone who wanted to use both languages a lot.

Anyway, followed the last bit of your directions for success. The exact commands (packages) were:
Code:
su -c 'rpm -e openoffice.org-langpack-ja_JP-2.0.4-5.5.10.i386'
su -c 'rpm -e fonts-japanese-0.20061016-1.fc6'
Reply With Quote
  #8  
Old 11th April 2007, 05:32 AM
contents Offline
Registered User
 
Join Date: Sep 2006
Location: Chicago
Posts: 17
I didn't have any Japanese or other Asian fonts installed, so this solution didn't work for me.

I found this answer in another post :

Quote:
I also noticed this problem occurring. On a new installation of FC6, the fonts in the KDE control panel are set to "sans" and with this setting, chinese fonts cannot be viewed in any KDE app. But when you press the "defaults" button in control panel, it changes all the "sans" to "sans serif" (which isn't listed as a font you can choose), and the chinese characters come up. Unfortunately with subsequent updates to KDE, pressing the 'defaults' button doesnt set it to "sans serif" anymore So I have actually have to go into the .kde/ and manually change "sans" to "sans serif" in every config files (include amarok).
Switching to serif fonts worked for me. I wasn't able to get Chinese to display when using "sans" fonts at all.

Last edited by contents; 11th April 2007 at 05:40 AM.
Reply With Quote
  #9  
Old 9th May 2007, 05:42 PM
chavash Offline
Registered User
 
Join Date: May 2007
Posts: 3
Hello Friends, I am new here and Fedora (and Linux) are new things for me. I don't see the japanese and chinese symbols. I tried to change from Sans to Serif. But it didn't help.
Reply With Quote
  #10  
Old 5th July 2007, 01:58 PM
contents Offline
Registered User
 
Join Date: Sep 2006
Location: Chicago
Posts: 17
I'm still using fc6 (BLAG 60k, actually), and the same problem with kde not displaying Chinese characters ocurred again after a long period of working correctly. I think that it might have been caused by upgrading to the new skype 1.4, because that brought in qt4 as a dependency. (One of the kde bug fixers had responded to my original bug report that the problem that required switching from sans to serif was a qt3 font substitution problem). It might have also been caused by updating kde, or some other update.

Now I've got everything working again. This is how I think I solved the problem. I installed fontconfig, and then edited the following files by hand:

/etc/fonts/fonts.config
/etc/fonts/conf.avail/65-nonlatin.conf
/etc/fonts/conf.d/64-nonlatin-fedora.conf
(and I think that's it, though there might have been one or two more)

Each of those files has lists of non-English fonts that will be substituted for serif, sans-serif, and monospace. In each file, I had to cut and paste to make sure that the Chinese font was the first choice for substitution.

After I did that, I restarted, and then Chinese reappeared in kde apps. I was even able to use kcontrol to change the default kde font back to sans, and Chinese still came out displaying properly.

As I say, I think that's what fixed the problem.
Reply With Quote
Reply

Tags
asian, fonts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
East Asian fonts in Java Cue Guides & Solutions (No Questions) 0 18th July 2007 09:45 AM
Who can read East Asian languages? 1xused Wibble 15 15th January 2007 04:21 AM


Current GMT-time: 04:12 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat