LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2004, 11:34 AM   #1
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Rep: Reputation: 0
Japanese Kanji not displaying


I'm having trouble with my Debian system (kernel 2.6.6, unstable) displaying Japanese correctly. On all of my programs in X, I can get Japanese to display correctly EXCEPT the kanji do not display correctly. Instead, it shows some hex code box, like a box with the value of the character displayed at each of the four corners:

Code:
 ____
|3  4|
|2  3|
 ~~~~
I've checked my fonts, and I can see all the kanji in all of my Japanese fonts thru xfontsel. What on earth could be the problem?
 
Old 12-04-2004, 11:39 AM   #2
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
That's odd. So you're saying all the hiragana's and katakana's are displayed correctly but not kanji's? Which desktop environment are you using?
 
Old 12-04-2004, 11:50 AM   #3
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by daihard
That's odd. So you're saying all the hiragana's and katakana's are displayed correctly but not kanji's? Which desktop environment are you using?
Using XCFE 4.0.6.
That's exactly it.
I notice this most often in Firefox, but every other X app I've tried it with doesn't work.
 
Old 12-04-2004, 12:02 PM   #4
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by illuminatedwax
Using XCFE 4.0.6.
That's exactly it.
I notice this most often in Firefox, but every other X app I've tried it with doesn't work.
Which Japanese fonts are you using?
 
Old 12-04-2004, 12:14 PM   #5
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I've got a whole ton: watanabe, kappa, shinonome, etc. How can I tell which one firefox is using? When I go to preferences, it tells me it's using "serif" for Japanese. If I switch my preferences to use "Watanabe Mincho" the problem persists. Perhaps it's using a "bad" Japanese font? Is there any way to tell which file X using for its fonts?

Edit: I should mention that I have so many Japanese fonts because I installed them as an attempted fix to this whole problem.

Last edited by illuminatedwax; 12-04-2004 at 12:35 PM.
 
Old 12-04-2004, 12:21 PM   #6
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by illuminatedwax
I've got a whole ton: watanabe, kappa, shinonome, etc. How can I tell which one firefox is using? When I go to preferences, it tells me it's using "serif" for Japanese. If I switch my preferences to use "Watanabe Mincho" the problem persists. Perhaps it's using a "bad" Japanese font? Is there any way to tell which file X using for its fonts?
It's a good question. It'll probably boil down to how to configure X fonts. I wish I could help you more, but I just don't know where to take the issue from here.

As to Firefox using Japanese fonts... I have no idea how it picks its favourite Japanese fontset, either. I just happen to have one set of JPN fonts (Ricoh) and have never had the problem you described.
 
Old 12-04-2004, 04:52 PM   #7
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
SOLVED.

The problem lied with defoma; I guess that's what I get for using unstable. The Japanese fonts were not registered with defoma and therefore not used. Installing a ttf Japanese font package that had the necessary defoma registration did the trick wonderfully.
 
Old 12-04-2004, 09:11 PM   #8
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by illuminatedwax
The problem lied with defoma; I guess that's what I get for using unstable. The Japanese fonts were not registered with defoma and therefore not used. Installing a ttf Japanese font package that had the necessary defoma registration did the trick wonderfully.
Congratulations!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kanji Lowe Linux - General 1 09-05-2004 07:57 PM
Japanese in KMail linuxfond Linux - Newbie 24 07-09-2004 10:39 AM
Displaying East Asian Languages (Particularly Japanese) in Mozilla? poloktim Linux - Software 3 11-16-2003 10:56 AM
Displaying Japanese characters gjarman Linux - General 1 05-01-2003 06:28 AM
Displaying Japanese characters gjarman Linux - Newbie 0 05-01-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration