[Fontconfig] Fontconfig spec glib and python 2.7

Donn Ingle donn.ingle at gmail.com
Tue Sep 12 09:30:18 UTC 2017


On 12 September 2017 at 00:23, Jerry Casiano <jerrycasiano at gmail.com> wrote:
>
> The answer to question #1 is yes. That approach would have to be
supported at the application level.

Okay.

> The answer to question #2 is also yes. You can generate fontconfig
configuration files that limit what the system sees before you run the
application, or even while it's running in most cases, though that wouldn't
be application specific but desktop wide.

Alright. I'll try parse some of the code in (argh, gmail in browser, can't
access other emails) that Font<something> code base you mentioned. To get
the idea. I don't hold much hope in success without some docs too.

> As far as the specification goes, doing your own if/then/else doesn't
sound like the best idea, sounds rather messy. You should probably just use
the functions provided by glib, unless you really want to avoid depending
on it for whatever reason.

Is there a known Python 2.7 package (i.e. available on most Linux package
systems) out there that will do this?

(Meanwhile, I'm searching for python + glib + XDG)

Thanks for your help!
/d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20170912/ae255efd/attachment.html>


More information about the Fontconfig mailing list