Dear Greg, Thank you for your quick reply! It's nice work! I'm looking forward to next version of rdkit. Best regards, Takayuki.
2015年9月12日(土) 12:38 Greg Landrum <greg.land...@gmail.com>: > Hi, > > This was something I had overlooked in the new drawing code, thanks for > pointing it out. > > I just checked in a change to the MolDraw2D python wrapper that allows you > get or set the current font size. Here's an example: > > drawer = rdMolDraw2D.MolDraw2DSVG(300,300) > drawer.SetFontSize(0.25) # <- default is 0.5, so this makes the font half > the normal size > drawer.DrawMolecule(mol) > drawer.FinishDrawing() > svg = drawer.GetDrawingText() > > > I hope this helps, > -greg > > > On Fri, Sep 11, 2015 at 11:20 PM, Taka Seri <serit...@gmail.com> wrote: > >> Dear all, >> I want to change atom font size of the svg image. >> Are there any way to change it? >> Any advice you could provide would be appreciated. >> Best regards, >> >> Takayuki >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Rdkit-discuss mailing list >> Rdkit-discuss@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss >> >> >
------------------------------------------------------------------------------
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss