Click here to Skip to main content
15,896,201 members

Comments by The Physicist (Top 3 by date)

The Physicist 10-Apr-14 15:31pm View    
They really are problematic. Just spent some more hours figuring out, how to get the scaling right (see Solution 2)[^], when one uses physical units (in, mm et cetera), so that there has to be no scaling during print out of the PDF.
The Physicist 10-Apr-14 12:41pm View    
Thank you so much!

I removed the whole <defs> part and replaced
<g class="whitesquare"> with <g style="fill: white"> and
<g class="blacksquare"> with <g style="fill: black">

SVG image is (of course) still unchanged, but the conversion is working perfectly now.

My first question on codeproject.com and its already solved in less than 24 h.
Thank you again Soren! :)
The Physicist 9-Apr-14 18:39pm View    
Thanks for this idea! I removed all line break and spaces in the CDATA section but it doesn't help. Conversion is still not working. :(

Well, the image is indeed boring, because it's only a small part of the full image, whose lengthy code I wanted to spare you. ;)