<dir prefix="relative"> does not resolve symlinks
If a path included via <include>
is a symlink, and the config file pointed to contains a <dir prefix="relative">
tag, then that path is resolved as relative to the symlink rather than its target.
For example, I have ~/.config/fontconfig/fonts.conf
as a symlink to ~/dotfiles/fonts.conf
, which contains <dir prefix="relative">fonts</dir>
. Naturally, I would expect this to resolve to ~/dotfiles/fonts
. However, as revealed by FC_DEBUG=8
, it instead looks for ~/.config/fontconfig/fonts
, which does not exist.