Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] Font Issues (Japanese locale, QT & GTK+)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

[SOLVED] Font Issues (Japanese locale, QT & GTK+)

  • Quote

Post by kitsunenokenja » Fri May 30, 2014 11:31 pm

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+.
Last edited by kitsunenokenja on Sun Sep 17, 2017 11:33 pm, edited 1 time in total.
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Top
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

  • Quote

Post by kitsunenokenja » Sun Sep 17, 2017 11:33 pm

Finally return with a solution, and quite the easy one at that.

Code: Select all

# 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
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Mon Sep 18, 2017 8:28 am

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: Select all

[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.
Top
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

  • Quote

Post by kitsunenokenja » Wed Sep 20, 2017 2:45 am

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
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic