Bond size rendering issues

User e3f03c303b

28-04-2015 14:19:06

Hi, I've been adjusting my bond lengths, adjusting them between 30 and 50 pt in size, with text size 18 pt. The problem is that the appearance of the structure, when viewing in MarvinSketch isn't the same as when the structure is exported to SVG. e.g., see first 2 attached images for the differences in the rendering with the document settings shown in the 3rd attached image. 

ChemAxon f052bdfe3c

05-05-2015 11:28:28

Could you send me the parameters and the way how the svg file was generated? (From dialog or with molconvert?)


Thank you,


Efi

User e3f03c303b

06-05-2015 00:21:43

Attached is a screenshot with my settings, if there's anything else ya need just ask. 

ChemAxon 5433b8e56b

06-05-2015 13:59:22

Hi,


If you set the relative scale to a high number, the svg will have a huge size by default (I mean width and height property), but since svg is vectorgraphical you can show it in any size, therefore I suggest to leave the scale values as they are by default. (relative scale should be 1.0, Scale should be 18.0).


Back to the main problem, different size:
The sizes are complicated things in computer graphics. 1 Pt is defined as 1/72 inch, one inch is 2.54 cm. So a line that is defined to be 72 Pt should be one inch if the display resolution is 72 DPI. On Windows the logical display is defined to be 96 DPI, and this is translated to the physical device resolution my laptop has around 141 pixel per inch resolution rate, which means that around 1.5 physical pixel is 1 logical pixel on my screen, which is 0.75 Pt.


Our image export store the DPI information in image formats that supports this. In case of svg, these kind of information could not be saved.


As I saw it with an svg saved with the default scaling, then printing it out from Internet Explorer, the lines on the print are 0.75 times smaller than they needed to be (this is exactly 72/96 so there weren't any resulution translation). But based on a quick search other renderers may work differently. So this may be an issue on our side, but we need to do some research, and create a more thorougher solution for this problem, and I do not really able to tell when we will have the time to work on this issue.


So as a workaround I can suggest to simply set the relative scale to 1.33 and you will get an svg that will print correctly from Internet Explorer. (For other renderers I let the checking to you.)


As a general advice I can tell you that, always trust the printed version that was printed with a 72 DPI resolution, other dievices have different physical and logical layers for this, and usually show different sizes (also softwares have layers that are emulating different resolutions).


Marvin is using a strategy similar to what you can see in Microsoft Word for example. If you catch a real ruler, and measure the length of a centimeter with 100% zoom on the screen of MS Word, you will see that on the screen 1cm is not 1 cm, but if you print the document then on the printing the 1 cm will be 1 cm.


I hope this helps to understand the situation, if you have further questions, then please do not hesitate to ask.


Regards,
Istvan 

ChemAxon 5433b8e56b

06-05-2015 14:06:35

Hi again,


I forget to mention that, I have filed a ticket into our issue tracking system, we will notify you in this topic if we need any progress on this issue.


Regards,
Istvan 

ChemAxon 5693b0ec15

16-06-2015 10:42:52

Hi,


there has been some changes recently in our bond painting.


Could you please check that your problem still exists?


Thank you.


Best regards,


Nikolett Mihala