Mobile app version of vmapp.org
Login or Join
Pope1402555

: Align to pixel grid problem I'm designing small icons for screen, I'm using align to pixel grid. One problem I've encountered is aligning a compound path to the grid. This is the letter

@Pope1402555

Posted in: #AdobeIllustrator #Icon #Vector

I'm designing small icons for screen, I'm using align to pixel grid. One problem I've encountered is aligning a compound path to the grid.



This is the letter "O", which is a compound path, when I align to grid, it messes things up. How can I fix this?

10.06% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope1402555

6 Comments

Sorted by latest first Latest Oldest Best

 

@Michele215

Apply a 2px stroke (inside) first, then switch to a 1px stroke. For some reason Illustrator will keep the object aligned to the pixel grid then. Quirk for sure.

10% popularity Vote Up Vote Down


 

@LarsenBagley460

I don't trust Illustrator's own align to pixel grid options, they have too many side effects, consequences and quirks.

I prefer the Wundes script PixelAlign, which works more like the buttons in the Align palette - you hit it once, it does its thing, the shapes are aligned to the pixel grid once, and then nothing else happens. No surprises.

I can't guarantee it'll fix this problem, as it seems to be a strange problem that is difficult to replicate, but this is something worth trying for anyone with pixel grid problems.

Direct download link.

10% popularity Vote Up Vote Down


 

@Ravi4787994

it is probably because of the size. I am also having a similar (may be the same) problem. when scaling down a compound object it gets weird below about 300px. I suppose this version of illustrator has some bugs. Hope they fix it soon.

10% popularity Vote Up Vote Down


 

@Pierce403

It looks like you have a centred stroke. In Illustrator, the stroke position and size affect the path's position, when pixel snapping is turned on.



Odd stroke widths (1px, 3px etc) snap differently to even stroke widths (2px, 4px etc). The same rules apply to compound paths.



Often, a good solution is to just draw separate paths.

10% popularity Vote Up Vote Down


 

@Si6392903

This may not be the perfect answer, but it might get you through the project.

Duplicate the layer. Then flatten it.

10% popularity Vote Up Vote Down


 

@Murray976

I'm not seeing the problem here at all.

I'd suggest resetting the Illustrator preferences. and then relaunching Illustrator to try again. Instructions on resetting preferences can be found on Adobe's Site here.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme