You are not logged in.

#1 2018-02-22 10:36:09

Unturned
Member
Registered: 2017-04-16
Posts: 30

[SOLVED] Fluxbox not rendering Chinese characters propelry

Hello all,
Recently I decided to give Fluxbox a try. However I noticed that the Chinese characters in the title bars would be displayed as square boxes. (Such as the titlebar of Firefox when I was visiting Chinese websites). This phenomenal also happens to the built-in task bar. I've downloaded the Chinese fonts (wqy-zenhei), and apps like Firefox can render Chinese webpages with no problem. This also wasn't an issue with Openbox (all the Chinese titlebars rendered properly). I didn't find any information about this in the Arch wiki page about Fluxbox.
Any idea on how can I fix this?

Thanks in advance!

Last edited by Unturned (2018-03-03 09:26:35)

Offline

#2 2018-02-22 13:23:27

seth
Member
Registered: 2012-09-03
Posts: 50,923

Re: [SOLVED] Fluxbox not rendering Chinese characters propelry

Did you configure your theme to use this font (or any one containing "Chinese characters", I assume the cjk range? - try dejavu)
Fluxbox does not resolve characters from fallback fonts, https://sourceforge.net/p/fluxbox/feature-requests/210/ & https://sourceforge.net/p/fluxbox/bugs/1066/

Offline

#3 2018-02-22 13:24:20

frostschutz
Member
Registered: 2013-11-15
Posts: 1,416

Re: [SOLVED] Fluxbox not rendering Chinese characters propelry

You have to edit ~/.fluxbox/overlay and find a window.font setting that works

window.font: Bitstream Cyberbit:pixelsize=14


I think you can set multiple fonts through font1|font2|font3

(edit: but unfortunately that only seems to load font2 if font1 couldn't be loaded at all. it won't use characters from more than one font, so you have to use a single font that has all the characters you want to see)


Fluxbox hasn't been updated in ... 3 years? Eventually I guess I'll have to find another WM as well.

Last edited by frostschutz (2018-02-22 18:11:26)

Offline

#4 2018-03-03 09:26:01

Unturned
Member
Registered: 2017-04-16
Posts: 30

Re: [SOLVED] Fluxbox not rendering Chinese characters propelry

Thanks for the help!
I installed the "wqy-zenhei" package and

window.font: WenQuanYi Zen Hei-10

worked!

Offline

Board footer

Powered by FluxBB