[Fontconfig] order of searching for identical fonts

Werner LEMBERG wl at gnu.org
Mon Dec 12 11:42:02 UTC 2022


Let's assume that we have two identical fonts

```
/my/directory/foo.ttf
/usr/local/share/fonts/foo.ttf
```

which differ (from FontConfig's point of view) only in the font
revision.  The directory of the former font has been added using
`FcConfigAppFontAddDir`, after loading the default configuration
files.

Which one of the font gets found first?  How can I influence that?


    Werner


More information about the Fontconfig mailing list