3

The grid unit is 1 pixel.

Below is two overlapped rectangles:

artboard screenshot

Underlying one has blue fill color an black outline color. Also it has Align Stroke to Inside setting:

settings screenshot

As you see, it also has stroke weight set to 1px.

Nevertheless, the overlapping rectangle, which has no outline and blue fill is obviously slightly bigger.

Also, according to the grid, it is evident, the outline of the underlying rectangle is thicker than 1 px.

How can I fix this?

  • Sure, but if you snap to the pixel grid then you stroke will smear over 2 pixels. You should snap to a 1/2 pixel grid instead. – joojaa Oct 24 '15 at 19:46
  • what is the size of your document ? – Rishab Nov 24 '15 at 2:49
  • I can not replicate this issue in CC2017 See Here nor in CS6 See Here. I'm left to believe there is some setting which was overlooked, such as snap to pixel or snap to point.. – Scott Jun 18 '17 at 3:12
3

You can achieve the desired result by making sure that you have de-selected the option for aligning all objects to pixel grid in the document setup.

Illustrator Screenshot

-2

From your image I'd suggest the rectangle with the black stroke isn't actually smaller, it just appears that way because of the black stroke.

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.