1

I am investigating a font configuration problem and I would like to test changes I make in /etc/fonts/conf.d and /etc/fonts/conf.avail without closing my session.

Is it possible ? Apparently running fc-cache is not enough.

I run Kubuntu 20.04

ChrisAga
  • 1,029
  • How about this https://askubuntu.com/q/481329/26246 – user.dz Nov 04 '20 at 13:44
  • 1
    thanks @user.dz but it doesn't do the trick. fontconfig is not updated by restarting plasmashell – ChrisAga Nov 04 '20 at 14:43
  • 1
    Thanks @xiota I initially tried sudo fc-cache -f -r doesn't work either. Yes I closed and reopened my program (Firefox). By the way, changes in files stored in /etc/fonts/conf.avail really do something (which I can test by closing and reopening my session) since /etc/fonts/conf.d contains links to files from /etc/fonts/conf.avail – ChrisAga Nov 04 '20 at 15:57
  • @ChrisAga That's strange. Don't know why Firefox isn't picking up the change. What files are you editing and what changes are you making? Is there any reason you're not editing files in ~/.config/fontconfig/conf.d ? – xiota Nov 04 '20 at 16:00
  • @xiota Everithing is explained here https://askubuntu.com/questions/1289600/firefox-hint-issue-when-editing-text-in-roboto-font-how-to-fix-it I was working on this issue. – ChrisAga Nov 04 '20 at 16:15
  • Maybe some options are only picked up at login? Do you have this problem with other options, like font families? – xiota Nov 04 '20 at 16:22
  • Don't know, I didn't try, but I will and let you know. – ChrisAga Nov 04 '20 at 16:25
  • Try something like, <alias binding="same"><family>Example</family><accept><family>monospace</family></accept></alias> Should be pretty obvious if the config works. – xiota Nov 04 '20 at 16:42

0 Answers0