View previous topic :: View next topic |
Author |
Message |
kitsunenokenja Tux's lil' helper
Joined: 20 Jan 2004 Posts: 131
|
Posted: Fri May 30, 2014 11:31 pm Post subject: [SOLVED] Font Issues (Japanese locale, QT & GTK+) |
|
|
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 |
|
|
kitsunenokenja Tux's lil' helper
Joined: 20 Jan 2004 Posts: 131
|
Posted: Sun Sep 17, 2017 11:33 pm Post subject: |
|
|
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 |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 723 Location: /home
|
Posted: Mon Sep 18, 2017 8:28 am Post subject: |
|
|
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 |
|
|
kitsunenokenja Tux's lil' helper
Joined: 20 Jan 2004 Posts: 131
|
Posted: Wed Sep 20, 2017 2:45 am Post subject: |
|
|
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 |
|
|
|