Re: [Rdkit-discuss] cairo/png problem

2022-12-14 Thread Paul Emsley
On 13/12/2022 23:39, Thiessen, Paul (NIH/NLM/NCBI) [E] via Rdkit-discuss wrote: Hi folks, I’m trying to use the MolDraw2DCairo class to generate PNG images. But no matter what I’ve tried, including setting the ‘noFreetype’ param to true in the c’tor, I get an empty string from

[Rdkit-discuss] cairo/png problem

2022-12-13 Thread Thiessen, Paul (NIH/NLM/NCBI) [E] via Rdkit-discuss
Hi folks, I'm trying to use the MolDraw2DCairo class to generate PNG images. But no matter what I've tried, including setting the 'noFreetype' param to true in the c'tor, I get an empty string from getDrawingText() and an exception with message "PNG header not recognized". I traced this