medri Posted October 26, 2019 Share Posted October 26, 2019 Hi, I came across a bug today that is weird and annoying. I have a artboard with the size 95x95px. When I switch to the Export Persona the automaticly created slice is sometimes 96x96px or 95x96px. When i manually select the correct 95x95px again the top left edge cannot be aligned to 0/0px. When I type in the coordinates by hand, it shows 0/0px, but as soon as I click on something else and then back to my slice, the old (off) position is restored. This makes it impossible to export small things like buttons, etc. I have tried to capture a screen-video and uploaded it to youtoube. Maybe it helps to showcase my problem. Link to Youtube Regards Manu Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted October 28, 2019 Staff Share Posted October 28, 2019 Hi Manu, Welcome to the Affinity Forums. Would it be possible for you to attach a copy of your document? This will allow us to get a better idea on what the problem might be! Thanks! Quote Link to comment Share on other sites More sharing options...
medri Posted October 28, 2019 Author Share Posted October 28, 2019 Hi Sean, the file is publicly available in my github. Is it okay to grab it from there? https://github.com/mnul/bigtree_tft35_icons/tree/dev_0.1 Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted October 28, 2019 Staff Share Posted October 28, 2019 Sure that's fine! Thank you Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted October 28, 2019 Staff Share Posted October 28, 2019 It is being caused by the Artboard's poisition being slightly off pixel (its Y position starts at 377.7px). This is causing the extra pixel to be added in the Export Persona. If you change the Y Position on that object to 378px and then select the Slice in the export persona and click 'Revert to Auto-Sized' it will create a 95x95px object with the Slice starting at 0x0. You will probably need to just modify the X and Y positions of the other artboards to ensure they are on whole pixels (and revert any slices to auto-sized if they'd been modified). You may find having 'Force Pixel Alignment' and 'Move By Whole Pixels' on when making icons as it will help to ensure your artboards and slices are on forced pixel boundaries. Hope that helps! medri 1 Quote Link to comment Share on other sites More sharing options...
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.