How does fontconfig handle duplicate font files ?
Let's say, I have a font installed in userspace, i.e. in my ~/.local/share/fonts
or ~/.fonts
.
Now, I installed a font package that contains the same font and same version. In this case, both the font files are exact duplicates of each other. Then, which font file will be actually preferred by applications ?
How fontconfig will decide the priority ?