Jump to content

Recommended Posts

Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×