Re: [Rdkit-devel] SVG font size problem

2015-05-16 Thread Greg Landrum
Cyrus, When you generate a PDF with the RDKit drawing code, it attempts to find installed versions of cairo and aggdraw. If these both fail, then it uses an old (and buggy) cross-platform drawing library called sping (which is included with the RDKit). It looks like the problem you are having is d

[Rdkit-devel] SVG font size problem

2015-05-16 Thread Cyrus Harmon
So (now that I've gotten the basics working on MacOS) I have a little python program that generates an image from a SMILES string: #!/usr/bin/env python import argparse, sys from rdkit import Chem from rdkit.Chem import AllChem from rdkit.Chem import Draw from rdkit.Chem.Draw.MolDrawing import Mo