Selecting system fonts depending on some features
Kornel Benko
kornel at lyx.org
Fri May 1 13:38:32 UTC 2020
Am Fri, 1 May 2020 09:27:55 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:
> On Fri, May 01, 2020 at 03:16:21PM +0200, Jürgen Spitzmüller wrote:
> > Am Freitag, den 01.05.2020, 14:59 +0200 schrieb Kornel Benko:
> > > In the struggle of gathering the relevant info from the fonts,
> > > I came up with a perl script, I would like to commit into
> > > lib/scripts.
> >
> > Why don't you use QFontDatabase to get this information?
Because it was easier (for me) to work with a known tool.
> In any case,
> > if this is supposed to be used by normal users, consider portability
> > (which probably means python rather than perl but also concerns the
> > depending programs such as font-config.
At a start, it is only for the devels. (that is it should not be included in the
list of provided files)
And yes, it depends on font-config.
> I volunteer to help with the Python script, although I don't know when I
> would have time to work on it. Regarding the questions about
> QFontDatabase and font-config, I don't know.
>
> Scott
Thanks Scott, appreciating it.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200501/3258e9bb/attachment.asc>
More information about the lyx-devel
mailing list