Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
infinality fonts failing after upgrade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 19 Sep 2004
Posts: 138

PostPosted: Fri Mar 30, 2018 3:38 pm    Post subject: infinality fonts failing after upgrade Reply with quote

I did a world update yesterday and now my fonts are almost unreadable. It looks like an issue with infinality as apps are reporting problems trying to load the config file as shown below:

> palemoon-bin
Fontconfig error: failed reading config file
Fontconfig error: Cannot load config file "infinality/conf.d"

The sym-link appears valid as shown below:

> ls -l /etc/fonts/infinality/conf.d
lrwxrwxrwx 1 root root 29 Dec 19 08:37 /etc/fonts/infinality/conf.d -> styles.conf.avail/ultimate-ms

Any suggestions on how to fix this?

Thanks,
Lance
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 138

PostPosted: Fri Mar 30, 2018 4:10 pm    Post subject: Reply with quote

I found a (temp) solution at:

https://www.mail-archive.com/search?l=gentoo-user@lists.gentoo.org&q=subject:%22[gentoo-user]%22&o=newest&f=1

The symlink apparently can't have a relative path so I recreated it with:

> ln -s /etc/fonts/infinality/styles.conf.avail/ultimate-ms /etc/fonts/infinality/conf.d

And now my fonts are much better and more readable (although they don't seem as clear as before the upgrade)
Back to top
View user's profile Send private message
jorgicio
n00b
n00b


Joined: 17 Oct 2014
Posts: 47

PostPosted: Wed Apr 04, 2018 3:30 am    Post subject: Reply with quote

elkhunter wrote:
I found a (temp) solution at:

https://www.mail-archive.com/search?l=gentoo-user@lists.gentoo.org&q=subject:%22[gentoo-user]%22&o=newest&f=1

The symlink apparently can't have a relative path so I recreated it with:

> ln -s /etc/fonts/infinality/styles.conf.avail/ultimate-ms /etc/fonts/infinality/conf.d

And now my fonts are much better and more readable (although they don't seem as clear as before the upgrade)


Thank you.

It gave me an idea.

I modified the /usr/share/eselect/modules/infinality.eselect file and changed this line:

Code:
ln -s "styles.conf.avail/${target}" "${EROOT}/etc/fonts/infinality/conf.d"


with this:

Code:
ln -s "${EROOT}/etc/fonts/infinality/styles.conf.avail/${target}" "${EROOT}/etc/fonts/infinality/conf.d"


and it works flawlessly without creating symlinks manually.

UPDATE: I created the app-eselect/eselect-infinality package which fixes this issue. Add my overlay "jorgicio" (as usual) and you're ready.
Back to top
View user's profile Send private message
ilnanny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2017
Posts: 123
Location: Italy/Taranto

PostPosted: Sat Apr 27, 2019 4:43 am    Post subject: Reply with quote

Thanks
I had the same error message when I launched conky
_________________
== Lila-HD-icon-theme ==
https://github.com/ilnanny/Lila-HD-icon-theme
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