Changing the font size in the preferences in applet

User 956e0ca334

01-10-2013 07:38:17

Hi there,


I am setting up default marvin properties for our Marvin Sketch applet on our input system and have a couple of problems.


On the preferences dialog I wish to set the font to Times New Roman  size 9.  I  can set the 'Times New Roman' using:


msketch_param("atomFont","Times New Roman");


but despite changing the atomSize parameter, I can not change the size to 9.  Can you tell me how to do this please?


 


Also regarding the default.properties for the document style, under chemaxon>marvin>styles:


StyleName=ChemAxon
FontName=New Times Roman
FontStyle=Regular
FontSize=9.0
FontColor=default
BondThickness=0.064
BondColor=default


The FontName is picked up but not the Fontsize.


Am I missing something?


Thanks,


Megan


PS another minor issue: setting the following parameter for the applet does not work (though all others do!)msketch_param("validateSgroupsAtCreation",false);


 


 

ChemAxon 2c555f5717

02-10-2013 07:35:16

Dear Megan!


   You should use the atomsize parameter, which holds the size of the atom label in C-C bond length units. (For 9 size label it should be 0.2666666666.) I hope I could help.


Regards:
Balázs 

User 956e0ca334

02-10-2013 12:28:54

Thanks!