Hi Tim, Dave Cosgrove is currently working at a PR which, among other things, addresses exactly the need that you describe through the baseFontSize parameter, which is currently not exposed to Python. The PR is almost ready for merging and it should become part of the March release.
Cheers, p. On Wed, Feb 9, 2022 at 10:57 AM Tim Dudgeon <tdudgeon...@gmail.com> wrote: > I'm confused over how the font is chosen when drawing molecules. > There are MolDrawOptions.minFontSize and MolDrawOptions.maxFontSize > properties, and if I set them to the same value then that sized font is > used. But if I set max to a larger size than min then it's not clear what > font size will be used. > I'm wanting the font size to adapt to the amount the molecule is scaled to > fit the space (larger molecules needing a smaller font) but I want the font > size that is used to be a bit bigger than the default that would be used if > I don't set anything. > How do I go about this? > Thanks > Tim > _______________________________________________ > 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