You are not logged in.

#1 2020-06-24 13:56:07

Mifune
Member
Registered: 2019-07-02
Posts: 25

Chinese and Japanese fonts installed but not displayed

Hi,

I did a clean, fresh arch install on my laptop over the weekend and now I can't display Chinese and Japanese fonts. I have noto-fonts-cjk installed. Please note that I'm not talking about input methods (strangely, I think those are actually working, I get the squares with numbers), only actually displaying them --- I get the squares with numbers. This happens across programs and adding or removing various fonts does not change anything. Non-roman alphabetic fonts like Greek and Cyrillic display just fine.

I have some experience managing my own linux laptops though I'm not an expert by any stretch of the imagination, hence the posting on the newbie corner. I've searched the forums, the wiki and the great internet beyond and honestly can't find the problem. I do some translation work so this is becoming a problem. I'd be very grateful for any assistance.
Thanks in advance!

Offline

#2 2020-06-24 14:02:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Chinese and Japanese fonts installed but not displayed

What's the output of

FC_DEBUG=4 pango-view --font=sans -t 湯 | grep family:

On a wild guess: You might resolve some pcf bitmap font and pango dropped support for those, resulting in the described symptom.

Offline

#3 2020-06-24 14:11:32

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Hi,

Thanks for the quick reply. I've never come across this problem before.
This http://ix.io/2q3q is what I get.
Thanks again

Offline

#4 2020-06-24 14:20:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Chinese and Japanese fonts installed but not displayed

Is the output chopped?
It end with an unclosed quotation, NotoSansCJK isn't mentioned anywhere and there's a suspicious amount of https://www.fontspace.com/unicode-bmp-f … ont-f13379 mentioned.

Also

fc-list | grep Noto

Offline

#5 2020-06-24 14:39:31

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Hi, I didn't noticed that but, yes, I have to send ^C to get the prompt back. I also came across this https://bbs.archlinux.org/viewtopic.php?id=110153 which seems to solve the problem, by installing ttf-fireflysung, which is actually opendesktop-fonts.
Here is the new

https://bbs.archlinux.org/viewtopic.php?id=110153

output, again, chopped, http://ix.io/2q3w
and for

fc-list | grep Noto

http://ix.io/2q3A

The problem is fixed for practical purposes but I'd like to get it clean.
Thanks again

Offline

#6 2020-06-24 14:51:45

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Sorry, wrong copy-paste! I meant the output of

fc-list | grep Noto

is http://ix.io/2q3w

Offline

#7 2020-06-24 14:56:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Chinese and Japanese fonts installed but not displayed

You're now using "AR PL New Sung", still no sign of noto sans cjk, but they're in the fc-list.
What about

FC_DEBUG=4 pango-view --font="Noto Sans" -t 湯 | grep family:

I have to send ^C to get the prompt back

Does that mean the output just stops there and you're also not getting a tiny window with the glyph inside?

Offline

#8 2020-06-24 14:59:25

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Yes, exactly!
Have a meeting now but should be back in half an hour.
Thanks again!

Offline

#9 2020-06-24 15:00:51

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Actually, after installing the opendesktop-fonts, I do get the tiny window with a the glyph. but still the output ends there. To the meeting

Offline

#10 2020-06-24 16:34:11

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Back!
So, to recapitulate,

FC_DEBUG=4 pango-view --font="Noto Sans" -t 湯 | grep family:

now gives this http://ix.io/2q43
It now appears to finish properly and displays the tiny window with the glyph. However, no mention of any noto cjk, weird since from

fc-list | grep Noto

http://ix.io/2q3A
it should be there.
Any insight?
Thanks again

Offline

#11 2020-06-24 18:26:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Chinese and Japanese fonts installed but not displayed

Did you actually alter the command to run  … font="Noto Sans"… to bypass the default sans resolution?

Offline

#12 2020-06-24 20:23:23

Mifune
Member
Registered: 2019-07-02
Posts: 25

Re: Chinese and Japanese fonts installed but not displayed

Sorry about the delay in replying, was called away. Anyway, no, I just checked the command history.

Offline

Board footer

Powered by FluxBB