m4d0x Posted April 9 Posted April 9 I am currently working with stock vectors from Cisco, which has been sized to a certain amount of millimeters within InkScape, some edits has been applied for stuff that fails to be interepreted and then its been grouped together and exported as SVG with the correct size to fit the needs of an application i'm developing. I just bought affinity after being tipped of it by friends and had to double check before buying it if it could handle SVG:s which it clearly stated that it could, so i checked in to one of the FEW tutorials by creators on youtube and found someone giving lectures about how to use the embedded documents to release and ungroup the paths/vectors. The issue is that when import the earlier used SVG (exported from InkScape) it rescales within Affinity to become double the size in pixels. I've tried the following - changing the DPI from 300 to 96 as some thread somewhere stated were the issue - didn't work. I tried changing the measurement units from pixels to mm - which clearly stated a lack of 69mm in width and X amount of mm in width. I tried rescaling the artboard 20 the size i wanted - 269mm x 44mm, i expanded the grouped vectors to fit these measurements, i exported the SVG as is with transparent backgrounds (and also white ones). But for some weird reason Affinity centers the Document within a non existing background which turns the document completely off grid from what it used to be, there doesnt seem to be any way to make sure Affinity only exports the vector groups as a whole object. I've tried using the Transform Dot thingy in the bottom right corner to set the X and Y to see if that changes anything - it doesn't really. I've tried changing back to pixels since the origin vector has a certain amount of pixels which i also try rescale the vectors down to in order for it to fit and behave like the origin within the application - this still doesnt work because Affinity version still consider itself to be in the middle of a bigger background or something rescales aswell behind the curtain. I havent found a single tool so far that only contains the vector group, neither do the "export selection only" or "export document only" work either, the behind i still there messing up the scaling of the object itself making it off grid instead of top left to fit the needs. I've tried multiple different configurations. I've tried creating new designs with set presets accorcingly to what the vector should be - which turns completely incorrect when the SVG is dragged into Affinity. I've tried chaning the document setup in various combinations without any result. I've tried multiple different configurations of exports for the svg aswell which clearly doesnt help either. No matter how i size, to be the same as the origin stock or the edited stock, affinity cant export the vector only it seems. I'm definitely greenw when it comes to this software, but scaling SVG's correctly and no reshaping them or sizing them or changing measurement units should definitely not be a problem. But until this is fixed i'd prefer to know if ANYONE knows how im supposed to sort this out, else i need to ask for a refund - which i prefer not to cuz i like the tool in general. In Pictrue 1,2,3 you can clearly see that an SVG that arent touched by affinity can sort itself out, By pressing "Match Design" it rescales the SVG to what its supposed to be accordingly which results in picture 3. Picture 1 below: Picture 2 below: Picture 3 below: But as soon Affinity has edited the same SVG or the stock SVG it turns out like Picture 4, 5 and 6 and 7. 4. Completely different sizes no matter what is set in Affinity. 5. Matching the Design in this case reduces the size of the SVG by more than 75% but the pixel sizing result more accordignly in Picture 6. 6. As seen in Picture 6 the downscaling and still proper size in pixels turns the SVG to a miniature instead. 7. But using the same scaling as the origin = 106% (see Picture 2 from above) turns it bigger yet not correct size accordingly to its placement which works fine with the origin above. Picture 4 below: Picture 5 below: Picture 6 below: Picture 7 below: When the application loads the pictures you've got an option to size it accordingly to set measurements for the "real life product" Se picture 3 and 4 below: The application itself has set rules on how to convert all kinds of measurement units to fit the view and it doesnt have any problem with any other Designer/Edit tools when it comes to SVG's because they dont seem to add stuff behind or around the actual SVG or rescaling the SVG:s by default. I'm not expecting anyone to actually know how to sort this out but might have any ideas i could try to make it work becaouse i'd actually like working with Affinity instead of InkScape. Any help or understand of this would be appreciated. Kind regards, Mad Quote
David in Яuislip Posted April 9 Posted April 9 Set the document units to mm in Inkscape and it should open ok in Affinity Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
lacerto Posted April 10 Posted April 10 When working side by side with Inkscape, it is also worth a note that because Inkscape does not support stroke alignment options but basically always uses center-aligned strokes but renders them as if inner strokes, and includes half of the stroke width in object dimensions and x and y position coordinates. That may become challenging in jobs requiring accuracy, but basically works as expected once the difference is attended: Quote
Recommended Posts
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.