Selecting system fonts depending on some features

Jürgen Spitzmüller spitz at lyx.org
Fri May 1 13:33:34 UTC 2020


Am Freitag, den 01.05.2020, 09:27 -0400 schrieb Scott Kostyshak:
> Regarding the questions about
> QFontDatabase and font-config, I don't know.

Both have access to the same font information. QFontDatabase does not
need an external script (and reconfiguring to update), and users do not
need to install external programs (namely font-config).

Jürgen

PS. QFontDatabase does not have a function to query for serif/sans
serif etc., but this should probybly work:
https://stackoverflow.com/a/13592857
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200501/988e2113/attachment.asc>


More information about the lyx-devel mailing list