[Fontconfig] Query for unknown font with spacing=mono returns sans-serif font
Christian Weiske
cweiske at cweiske.de
Tue Feb 8 07:26:37 UTC 2022
Hello,
> >> But poppler also sends the hint to fontconfig that it wants a
> >> monospaced font ("$ fc-match RFont3:spacing=mono").
> >> Shouldn't fontconfig use that hint and return a monospaced font?
> >>
> >
> > In theory, yes. We may need similar things for :spacing=charcell and
> > :spacing=dual too.
>
> Should that be solved with a configuration file like the following
> (that is shipped by default with fontconfig), or should that be
> handled internally somehow?
This problem has been fixed in 2.13.96 with
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/195
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
More information about the Fontconfig
mailing list