User 956e0ca334
14-10-2013 16:35:04
Hi there,
I am having a problem setting the "atomFont" for pngs. I need to save it using the exportToBinFormat with Times new Roman
formatString="pdf:scale30,atsiz0.4000000000000001,atomFont:TimesNewRoman.plain,bondw0.18,wireThickness0.062,stickThickness0.07,ballRadius0.5,H_heteroterm,anybond_auto,cv_inChain,#ffffff,valenceErrorVisible,ligandOrderVisibility_withDef,cpk,aprop,downwedge_mdl,coordBondStyle_arrow,coordBondStyleAtMulticenter_hashed,wireframe"
byte[] moldata = MolExporter.exportToBinFormat(doc, formatString);
I have tried:
TimesNewRoman.plain
Times New Roman.plain
but neither of them seem to work, it always produced a png with sans serif, but is fine when I export a molecule from the marvin itself.
Can you tell me how to set this please?
Thanks
Megan