Jump to content
You must now use your email address to sign in [click for more info] ×

SVG export - line thickness of text frame


Recommended Posts

The line thinkness of the text frame in the exported SVG is wrong. (PDF and JPG are correct).

Steps to reproduce:

  • create a new document
  • create a new text frame, insert some text
  • View/Studio/Text-Frame - create a contour line, e.g. red, solid, 4pt - ensure that scale with object is not checked
  • duplicate the text frame
  • move the new text frame (so that both text frames are visible)
  • resize the new text frame - e.g. double the with by dragging
  • export to SVG --> the countour of the new text frame has not the expected width.

 

test1.jpg

test1.svg

test-1-screenshot.png

test1.afpub

Edited by Christian Luidolt
added file screenshots
Link to comment
Share on other sites

Can confirm. Strange things happening here.

SVG for print:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 2481 3508" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<rect x="632.599" y="722.862" width="1090.94" height="731.731" style="fill:none;fill-rule:nonzero;stroke:#e7000d;stroke-width:16.67px;"/>
<rect x="632.599" y="1574.33" width="1552.17" height="1041.09" style="fill:none;fill-rule:nonzero;stroke:#e7000d;stroke-width:16.67px;"/>
</svg>

SVG for export:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 2481 3508" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<g transform="matrix(1,0,0,1,106.434,-88.6947)">
<rect x="526.165" y="811.556" width="1090.94" height="731.731" style="fill:none;fill-rule:nonzero;stroke:rgb(231,0,13);stroke-width:16.67px;"/>
</g>
<g transform="matrix(1.42278,0,0,1.42278,-116.018,419.666)">
<rect x="526.165" y="811.556" width="1090.94" height="731.731" style="fill:none;fill-rule:nonzero;stroke:rgb(231,0,13);stroke-width:11.71px;"/>
</g>
</svg>

16.67 divided by 4.1666666... equals 4

------
Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.