SVG Export suddenly broken

Mac desktop app and web app

Exporting an SVG with some linear gradients is suddenly broken - badly.

seems x2 is calculated differently AND gradientUnits is omitted completely?

is there any way to downgrade? this is breaking our workflow

Old code:

        <linearGradient x1="8.35442826e-13%" y1="50%" x2="25%" y2="50%" id="linearGradient-3"
            <stop stop-color="#00FFA5" offset="0%"></stop>
            <stop stop-color="#00FF9E" stop-opacity="0" offset="100%"></stop>

new code:

<linearGradient x1="8.35442826e-13%" y1="50%" x2="100%" y2="50%" id="linearGradient-3">
            <stop stop-color="#00FFA5" offset="0%"></stop>
            <stop stop-color="#00FF9E" stop-opacity="0" offset="100%"></stop>

Hello @MaxNS ,

Welcome to our forum!

I understand your situation, and I’m here to assist you through this issue. While we delve into the matter further, allow me to provide you with steps to revert to a previous version of Sketch.

How to Rollback to a Previous Sketch Version

  1. Visit our releases page at Sketch Releases to select the specific Mac App version you wish to install.

  2. Locate the preferred Mac App version and click on the corresponding download link.

  3. If the downloaded file is automatically unzipped by Safari, double-clicking the app bundle will launch the app without installing it.

  4. If need it, move the app file to the /Applications folder.

  5. When macOS prompts that there’s another app already named “Sketch,” opt to “Replace” it.

Please let me know if you encounter any difficulties.

In the meantime, I will investigate this report further.


1 Like