Yet Another Python Binding

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Organization Geek Central
Message-ID <[email protected]>
I discovered recently that the Matplotlib project has put a bunch of
repos on GitHub, one of which is this
<https://github.com/matplotlib/fcpy>, their own Python binding for
Fontconfig.

Trouble is, they do it as an extension module written as C code. This
creates a lot of extra work, and is usually a waste of time. In most
cases (including Fontconfig), a binding can be created in pure Python
that works just as well with significantly less code, in this case a few
hundred lines less <https://github.com/ldo/python_fontconfig>. And I
think I managed to squeeze in one or two extra functions that they
didn’t.
_______________________________________________
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.