Jump to content

JimboJones

Members
  • Content Count

    10
  • Joined

  • Last visited

  1. Ok, I gues I know what the problem is and have a workaround. And an idea for improvement, as well. Here are some steps to recreate the initial problem: If you draw a rectangle, path, whatever shape with integer values, they are exported to SVG as expected (with integer values in SVG). As soon as you start transforming your rectangles/paths a transform matrix is added to the SVG (NO integer values in SVG!) You can flatten those tranforms in export settings, but doing so won’t bring back integer values to SVG. So, the problem is, when you transform an object, the transformation factor seems to be saved somewhere. This info is then used for the transform matrix in the SVG. To solve this and erase the transform information you can join your shape with another shape and you get back your integer numbers without transform matrix (when exporting to SVG). A better solution would be to add a visual cue, some form of indication to the transform panel, wether a shape is transformed or not. This way you could see that your current shape is transformed in some way (scaled 1.5, for example) and provide an option to reset the value or to use the current transformation as new default. Would be great if someone could pass this to the dev team, Thanks! By th eway, @jc4d asked for something similar a while ago, I guess:
  2. No, No, still weird numbers all over the place. I did some further testing. I guess it all has to do with transforms. If I draw new lines, nodes etc. they all are exported pixel perfect. If I don't flatten transforms, there are no transforms in the SVG. Maybe there are some transforms saved in the background somewhere, messing up the numbers?
  3. I define a path in Designer like this: One point is on 2.000 px from top 5.000 px from left. After creating the SVG I get numbers like 12.234 or 4.114. I know that the numbers change as SVG works different when creating paths. But I'm missing the ability to achieve precision. It doens't matter if "flatten tranform" is activated. The numbers just don't correspond to the original. This leads to an imperfect svg that doesn't align to the pixel grid as expected. Also, as mentioned above things like clip paths I didn't create in my Designer file, but are there in the SVG. Maybe we need a preference in the SVG export where you can define the decimals. Or a general "save SVG for Web" that reduces some of the not needed complexity. Figma wrote about that https://www.figma.com/blog/with-figmas-new-svg-exports-less-more/. Maybe this helps for some future updates
  4. Ok, this is because I copied the art board to a new file and didn't change the resolution. But this doesn't change anything to the output. Even if I transfer everything to px values everything gets messed up in my SVG
  5. cz-logo.svgcz-logo.afdesign Thanks for your quick reply! Here is the requested file, alongside the corresponding svg I created from it. I did, they are exactly corrent with three decimals, eg 60.000 pt
  6. Hi there, I have some problems exporting SVG for Web. I created a 60px x 60px art board and drew a pixel perfect icon. I set units to 3 dedimals in preferences. Now comes the export mess: 1) The viewport in the SVG is set to width="60px" height="61px" Why? 2) Every path gets a transform matrix. WHY? If I flatten transforms then there is a mess of calculated numbers that doesn't fit the initial positions. 3) I get a clip path although there is noone set in my document. With als this there is no chance to get the icon perfectly aligned on a pixel grid. What can I do about this?
  7. I have the same issue on Mac, Catalina, running Designer 1.8.1. I can't see any grid smaller than 4 px. Also, the automatic grid disappears when zooming in. Makes the grid quite useless if you want to achieve pixel perfect work. UPDATE: Looking into the bugs board I see developers are already aware of …
  8. Guys, honestly, this shouldn't be an issue still in 2020.
  9. This is pretty anoying. If I uncheck the "snap to baseline grid" in the paragraph settings, I'd asume that the baseline grid is ignored for that paragraph and vertical alignment works corrently, then. To me quite some time to figure out …
  10. Same here. MAcbook Pro, Designer and Publisher 1.7.3 It also happens on the 1.8 beta …
×
×
  • 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.