Jump to content
matt.baker

SVG Export - Flatten transforms not working for rotated text

Recommended Posts

Text with line breaks does not have the transforms flattened when exported as SVG even though the setting is active.

If the 'Export text as curves' option is checked it fixes it, but only if the text doesn't have line breaks. If the text is manually converted to curves before export it works.

Export config:

 image.png.f9fbbeb8da0878849b4da7877235ee68.png

Notice the <g transform on line 4

<?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="709px" height="709px" 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:2;">
    <g transform="matrix(6.12323e-17,1,-1,6.12323e-17,1453.53,-298.499)">
        <text x="460.111px" y="1064.97px" style="font-family:'ArialMT', 'Arial', sans-serif;font-size:208.333px;">T<tspan x="564.278px 680.143px " y="1064.97px 1064.97px ">es</tspan>t</text>
        <text x="460.111px" y="1280.12px" style="font-family:'ArialMT', 'Arial', sans-serif;font-size:208.333px;">T<tspan x="564.278px 680.143px " y="1280.12px 1280.12px ">ex</tspan>t</text>
    </g>
</svg>

Fail.afdesign

Fail as text.svg

Fail as curves.svg

Expected as curves.svg

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.