Re: DTD

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Organization Geek Central
Message-ID <[email protected]>
On Thu, 03 May 2018 00:04:44 -0400, [email protected] wrote:

> In any case, if I get around to it I'll probably modify your script to
> return a pass/fail and use that instead.

It uses my Python binding for Fontconfig:
<https://github.com/ldo/python_fontconfig>.

Note that FcConfigParseAndLoad doesn’t return any failure indication to
the caller if the file has errors in it -- only if it cannot actually
find the file. All errors are written directly to stderr.

So you’ll need some kind of further wrapper to watch out for these
messages if you want to automate the validation.
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.