Jump to content

Search the Community

Showing results for tags 'svg exporter'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Affinity Support
    • News and Information
    • Affinity Support & Questions
    • Feature Requests & Suggestions
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Bug Reporting
    • Report a Bug in Affinity Designer
    • Report a Bug in Affinity Photo
    • Report a Bug in Affinity Publisher
    • (Pre 1.7) Affinity Range Bugs Forums
  • Beta Software Forums
    • Affinity Designer Beta Forums
    • Affinity Photo Beta Forums
    • Affinity Publisher Beta Forums

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. I use Affinity Designer to create files that I export – using "SVG (for export)" – for other apps, such as Cricut Design Space. The problem is that the Affinity Designer SVG export contains scientific e notation values like: <g id="topback" transform="matrix(-1,-1.22465e-16,1.22465e-16,-1,854.039,695.404)"> that other apps, specifically Design Space, chokes on. Trying to import that object into DS results in unusable, malformed objects. Sometimes I can "fix" it by editing the SVG file from the above, to: <g id="topback" transform="matrix(0,1,1,0,854.039,695.404)"> resetting the transform matrix, but it doesn't work for all objects, I haven't dug into how to map the space transforms properly, and I'm trying to avoid learning/doing that because this step is a huge pain. Based on a bunch of SVG parsers, the files are technically valid, and Affinity can re-import the SVGs, but I need them to work with the other apps. But this issue doesn't happen all the time and I can't figure out exactly what causes it to occur in the first place. Nor can I figure out how to fix it. I've tried deleting the offending object and re-creating them, but the new objects are affected exactly as the one it's replacing Any ideas would be very helpful. THANK YOU!
  2. When exporting a rectangle to svg without effects the result is as expected: <rect x="420" y="260" width="460" height="200" style="fill:#ebebeb;"/> But when we add an effect, like gaussian blur to that rectangle the svg-exporter automatically generates a wrapper-group around the element just to apply the effect: <g style="filter:url(#_Effect1);"> <rect x="420" y="260" width="460" height="200" style="fill:#ebebeb;"/> </g> This is what I would expect instead: <rect x="420" y="260" width="460" height="200" style="fill:#ebebeb;" style="filter:url(#_Effect1);"/> I understand wrapper groups could be a way to stack effects if we want to use more than one effect on an object (although even then svg allows filters to be chained via their 'in'-attributes), but that's not the case here because we just use a single effect. If we only apply one effect to an object, in my opinion the effect should go directly to the style-attribute of the element itself instead of creating additional groups and with that changing the hierarchy of the layout. Also when having more than one effect applied to an element the first effect should go in the style of the element itself. Adding these additional groups makes the svg output overly complex and large and in Javascript we now need to keep track of/set two different elements when controlling attributes both on the element itself as well as switching the single effect of the group above dynamically. I might be missing something here, but I searched through all of Designer and in the svg-exporter options, but couldn't find any setting to prevent these extra groups to be created on exports. I also tested this in the last Designer beta (1.6.5.112), but it has the exact same behaviour. Please add at least the first effect to the svg-element itself and prevent adding groups as much as possible. [edit] Please put svg effects directly to the graphical element or use svg effects chaining instead. Don't create additional groups/change hierarchy. Leave the structure in svg output 1 on 1 the same as created in Designer. And meant by the designer
×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.