You are not logged in.

#1 2016-01-02 11:03:13

Linux-Joker
Member
Registered: 2015-11-22
Posts: 17

fontconfig does not work properly

Hey,

after the last pacman update i got a strange behavior with my fonts: Application like KeePass2 which use the system font configuration to display their fonts, fallback to a very ugly font.
I dont know why and i updated the local.conf in the font directory on my root disk but it doesnt helped.

Here is my local.conf:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <alias>
    <family>serif</family>
    <prefer><family>Droid Sans</family></prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer><family>Droid Sans</family></prefer>
  </alias>
  <alias>
    <family>sans</family>
    <prefer><family>Droid Sans</family></prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer><family>Droid Sans Mono</family></prefer>
  </alias>

</fontconfig>

And here is the ugly font which is used instead by some applications:

[user@linuxpc ~]$ fc-match
SyrCOMAdiabene.otf: "East Syriac Adiabene" "Regular"

I really despair! What is wrong?

Offline

#2 2016-01-02 13:37:19

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: fontconfig does not work properly

I would exit xorg, then run:

fc-cache -rf

And check that the font files are actually *readable* by your normal user.

Offline

#3 2016-01-02 17:49:06

Linux-Joker
Member
Registered: 2015-11-22
Posts: 17

Re: fontconfig does not work properly

brebs wrote:

I would exit xorg, then run:

fc-cache -rf

And check that the font files are actually *readable* by your normal user.

Okay, i did this but unfortunatly it doesnt solve the problem hmm
And yeah, the fonts are readable by me (my user).

Hm.. i am confused.. only some applications doesnt use the local.conf, e.g. KeePass which is based on mono..
Everything else looks (at the moment) okay.

Offline

Board footer

Powered by FluxBB