SVG does not have symbols but source MOL have it

User a7faa21887

05-10-2011 11:09:57

Hi,


We use:


 


Oracle environment:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE    10.2.0.5.0      Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
-------------------------------------------------------------
JChem Server environment:
Java VM vendor: Sun Microsystems Inc.
Java version: 1.6.0_23
Java VM version: 19.0-b09
JChem version: 5.6.0.0
JChem Index version: 5060000
JDBC driver version: 11.1.0.7.0-Production


Source MOL have symbols but generated SVG does not (see attachements).

ChemAxon aa7c50abf8

05-10-2011 12:27:30

I have moved this topic to the Visualization forum, as the problem described can be reproduced with the molconvert command line tool as well with version 5.6.0.1.


Peter

ChemAxon 5433b8e56b

05-10-2011 15:26:28

Hi,


can you send us the code snippet you use to generate the svg content, or describe the way of the creation of the marvin generated image? If it is considered to be confidetial, then you can send us it in an e-mail also.


Regards,
Istvan

ChemAxon aa7c50abf8

05-10-2011 15:32:17

 


On Windows using the molconvert command line tool:


C:\Users\pkovacs>chemaxon\packages\jchem-5.6.0.1\bin\molconvert svg C:\Users\pkovacs\Downloads\_misc\Wednesday\-2067844589.mol > C:\Users\pkovacs\a.svg

The input file -2067844589.mol is attached to the first post.


Peter


 



 


ChemAxon 5433b8e56b

05-10-2011 15:35:33

Thank you, I am checking it.

ChemAxon 5433b8e56b

20-10-2011 06:21:19

Hi,


first of all, sorry for the very late useful response.


It seems it is a very old issue in marvin svg export, and it seems it can be fixed in an upcoming release, 5.8 the latest.


The bug is that marvin does not calculates the fonts if the scale is less then a certain level, as i tracked it. If you set the scale manually to at least 5 (as i tested, maybe bigger a bit) then the atom labels does not generated into the svg. To set the scale use "svg:scale14" as the format specifier for example, as a workaround.


Regards,
Istvan

User a7faa21887

20-10-2011 10:33:08

Thanks a lot, Istvan.


We've migrated to JChem from Accord last night and this workaround will be very useful.



User a7faa21887

20-10-2011 13:12:56

Istvan,


It's start working with scale5.

ChemAxon 5433b8e56b

25-10-2011 00:24:25

Hi,


yes, i forgot to mention the scale5 limit, this limitation will disappear in 5.8, we delivered the fix in our main development branch, and 5.8 will contain it.


Regards,
Istvan

User a7faa21887

25-10-2011 05:44:08

It's a good news, Istvan.


Thanks.