Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Font Issues (Japanese locale, QT & GTK+)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kitsunenokenja
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 131

PostPosted: Fri May 30, 2014 11:31 pm    Post subject: [SOLVED] Font Issues (Japanese locale, QT & GTK+) Reply with quote

Screenshots:
leafpad
qtconfig

I'd like to know if it's possible to address these problems with fonts.

GTK+:
Everything is great. Anti-aliasing for Latin and Japanese characters. My issue is that programs in JA locale have this strange font width problem that changes dynamically. In the leafpad screenshot, I show leafpad in EN and JA modes with the same text to illustrate how the font width changes. This problem is only exhibited by running any GTK+ program in JA locale and writing symbols with or without text. This problem appears on a line by line basis in the editing field. Needless to say this is absolute hell for text editors when working with any programming language particularly with {} blocks and the } not lining up vertically due to the distorted dimensions. Furthermore the underscore is not visible whatsoever in JA mode and cannot be differentiated from an ordinary space. Because of this I keep launching my text editor from the shell with LC_ALL="C" to force EN mode and avoid these issues temporarily. If there is a way to solve this problem that would be ideal.

QT:
This issue is worse and annoying. Everything looks fine if the program loads in EN locale, but in JA, the fonts look terrible, no anti-aliasing and both Latin and Japanese characters are horrid. Furthermore there is some kind of "noise" in the fonts too; if you look closely you can see scattered pixels that just don't belong and make it look even messier. I'm demonstrating qtconfig, but of course the issue persists in clementine which also uses QT. The only thing that seems to render OK in a JA locale QT program is special characters like Ö. All the basic ASCII characters look awful and have that pixel mess in there. By the way, making changes in qtconfig and selecting save does nothing. Nothing changes and reopening qtconfig shows the settings were not recorded. Japanese text does not render better in EN mode; it does not have anti-aliasing like it does in GTK+.
_________________
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation


Last edited by kitsunenokenja on Sun Sep 17, 2017 11:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
kitsunenokenja
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 131

PostPosted: Sun Sep 17, 2017 11:33 pm    Post subject: Reply with quote

Finally return with a solution, and quite the easy one at that.
Code:
# emerge mplus-outline-fonts

This font pack has fantasic clean JP fonts and everything is rendering nicely everywhere: GTK2, GTK3, QT4, QT5. The text shift/alignment issue in programs like Leafpad somehow is also addressed. This font pack or perhaps the noto-fonts are probably the ideal solution to mixed Latin/kanji alphabets in the UI.
_________________
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Back to top
View user's profile Send private message
Juippisi
Guru
Guru


Joined: 30 Sep 2005
Posts: 324
Location: /home

PostPosted: Mon Sep 18, 2017 8:28 am    Post subject: Reply with quote

Wow, you came back to post how you solved it. The world needs more people like you!

On a sidenote just wanted to say Im thinking of starting to use noto-fonts as well, since noto-emoji works and those damn things are everywhere now. Im currently using

Code:

[ebuild   R    ] media-fonts/infinality-ultimate-meta-1::gentoo  USE="free latin ms -minimal" L10N="as bn bo brx doi dz gu hi ja km kn ko kok ks mai ml mr ne or pa sa sat sd si syc ta te zh"


and it just doesnt seem to be enough.
Back to top
View user's profile Send private message
kitsunenokenja
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 131

PostPosted: Wed Sep 20, 2017 2:45 am    Post subject: Reply with quote

Yes I do try to close off my threads with solutions even if it takes years to reach that point! It's worth noting that the noto pack is huge, probably because it really fulfills every Unicode glyph. This is also mentioned on the Gentoo Wiki. I nearly went ahead with installing it but the mplus pack was brought to my attention and I liked what it offered. Definitely was a good choice!
_________________
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum