> The throw Py::RuntimeError is coming from
>> src/ft2font.cpp. There's a > global that holds information for
>> FreeType libraries: > FT_Library _ft2Library;
Hi Albert, thanks for digging in to this. I think I understand now
the cause of your problem, though the best solution will require a bit
more thought.
I don't think embedding python is the right approach at the moment.
Hopefully we can be a little more clever about linking rather than
embedding ft2font multiple times. Alternatively, we can recode
backend agg to not use the font object directly, but pass around a
pixel buffer of the rendered glyphs.
> src/_image.cpp is also duplicated and is a problem as
> well. It'll need a similar fix.
Do you mean _image is bringing in ft2font? It shouldn't be. agg
definitely uses it but image does not. Can you provide a little more
detail here.
JDH