[Fontconfig] Detecting whether a font is a fallback

Jean Abou Samra jean at abou-samra.fr
Thu Apr 20 09:23:55 UTC 2023


Le jeudi 20 avril 2023 à 17:56 +0900, Akira TAGOH a écrit :

> Well, no, unfortunately we don't. In the first place, most
> applications request a font with a generic family name. In that sense,
> the result will always be a fallback. and there is no way to know in
> fontconfig which one is reliable.
> 
> We could export a result of score that fontconfig figured out from
> FcPattern and see how it was picked up though. that may be too
> primitive. may need to think about better interface.

Thank you for confirming this. Would it be an appropriate feature request to file on the issue tracker?

Best,

Jean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20230420/083f7433/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20230420/083f7433/attachment.sig>


More information about the Fontconfig mailing list