1

I've been using Illustrator to make a UI and as I learn how to use this software, the points of the shapes I made keep getting to fractions of a pixel. I have a great many points now and I'd rather not stop working every now and then to make sure every pixel is aligned to a whole value.

Is there a way to force Illustrator to only place points on whole values? Is there a way to clean up existing points to round them to a whole value?

  • Relevant: graphicdesign.stackexchange.com/questions/26803/… Turn on align to pixel grid. – Scott Jul 9 '15 at 4:07
  • It's been on. My pixels are still fractional. – Gan Jul 9 '15 at 4:22
  • Are you certain? You've selected objects then checked the Transform Panel? – Scott Jul 9 '15 at 5:29
  • You are thinking objects. I'm talking about individual points in objects. – Gan Jul 12 '15 at 8:17
2

If your artboards don't sit on whole pixels, you might be using whole values but when you go to export, you'll have some fractional pixels.

The CMD/CTRL option @Dom mentioned doesn't work for me.

Go to View>Snap To Grid enter image description here

Also make sure that your Grid preferences are set to your liking...

enter image description here

Also... I use the transform palette religiously because of this. enter image description here

  • You sir are amazing. Only solution that worked for me. – Gan Jul 12 '15 at 8:19
  • ;) Happy to help! I usually turn off Align to Pixel Grid as well. You'll see that above, at the bottom of the Transform Palette as well as at the bottom of the New Document dialog. Turning this off at the document level is a good habit. – elCavador Jul 15 '15 at 5:27
1

Holding CTRL/CMD while moving selected objects increments by whole pixels, however if your object starts on 22.94, it will jump to 23.94, so you have to begin on whole pixels.

Alternatively, if that only works in CC, you can set the keyboard increment to a specific amount in your preferences.

0

If you are in a situation where anchors are snapped between pixels, you'll have to correct it's placement to whole-pixels in the top menu, OR, manually select and move individual anchors, and align them to the pixel grid, with the 'Direct Selection Tool' (Shortcut: 'A)'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.