Forums

Skip to content

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

After installing the latest noto fonts, fontconfig slow down

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
5 posts • Page 1 of 1
Author
Message
yangkeao
n00b
n00b
Posts: 2
Joined: Fri Feb 22, 2019 11:24 am

After installing the latest noto fonts, fontconfig slow down

  • Quote

Post by yangkeao » Fri Feb 22, 2019 11:31 am

I have upgrade package media-fonts/noto-20181024. In package noto-20181024, it contains 1800+ ttf files. Howeveer, in media-fonts/noto-20170403, it contains only 180+ ttf files.

So with the latest version of noto, my desktop (actually dwm) runs with unbearable cpu cost calling libfontconfig.so. Can fontconfig handle such a big number of font files? Or should I set some config to help it runs faster?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Feb 22, 2019 11:37 am

yangkeao welcome to gentoo forum.

Look this bug https://bugs.gentoo.org/678432
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Fri Feb 22, 2019 11:51 am

The current Noto ebuild installs too many files. Only a few are required.

1) Log in as root

2) cd /usr/share/fonts/noto

3) Remove all files except

Code: Select all

NotoSerif-{Regular,Italic,Bold,BoldItalic}.ttf 
NotoSans-{Regular,Italic,Bold,BoldItalic}.ttf 
NotoSansMono-{Regular,Bold}.ttf
NotoSans{Symbols,Symbols2}-Regular.ttf
4) Run

Code: Select all

mkfontscale
mkfontdir
Top
yangkeao
n00b
n00b
Posts: 2
Joined: Fri Feb 22, 2019 11:24 am

  • Quote

Post by yangkeao » Fri Feb 22, 2019 11:54 am

Aha, I decided to wait for https://bugs.gentoo.org/678432 getting fixed.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Fri Feb 22, 2019 9:01 pm

It's a pretty messed up situation. I've gone back to the old (2017) version, installed media-fonts/source-han-sans for CJK and put the updated NotoColorEmoji.ttf in my ~/.local/share/fonts/ for now.
Top
Post Reply

5 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