Creativebits.org

an All Creative World site
xGrape's picture
88 pencils

Illustrator: aligning objects by pixel precision

I'm working on a logo in Illustrator, where a line of text is put against a colored background (a square), and the top and bottom of the text is supposed to be exactly aligned along the background. This proves difficult as the height is changing based on my zoom level. I am no expert with vector graphics, but I know that it doesn't work the same way as pixel graphics in Photoshop. Still, there has to be a solution? I was thinking perhaps the text is the culprit, as it is probably given in points instead of pixels, but doing a "Create outline", which I assumed would be similar to "Convert to Symbol" from Flash, didn't help.

Any help is greatly appreciated!

Commenting on this Forum topic is closed.

ireid's picture
1283 pencils

What I do is MANUALLY align the lines of the background shape to the top and bottom of the font. However "This proves difficult as the height is changing based on my zoom level." is throwing me for a loop, I have never encountered that before. You see fonts scaling imperfectly when you use the scale tool (as it scales the font differently from a generic vector shape) so thats probably what you mean.

If you use the 'Zoom tool' (the magnifying glass icon) and click and drag a small rectangle over the are you wish to zoom to then it zooms AL the way in. Then press Command+Y (alt y on a pc) and that will put you into artwork mode. This way you can see the lines and shapes as outlines. When there use the open selection tool (white pointer) to adjust the line of the rectangle up or down to line up with the top of the text. Repeat on bottom of text.

Group the whole thing and they shouldn't shift around independently anymore. :)

"Try not, Do! or do not, there is no try."
-Yoda

xGrape's picture
88 pencils

Thanks for the tip, but it didn't help. And I'm using the zoom (magnifying glass), not scale. And it still shifts around. Like I said, I tried your tip, and grouped it together. Looks fine on max zoom, but once you zoom out one or more steps, it's imperfect again.

mokenke's picture
315 pencils

You can select directly (with the white arrow tool) only the top horizontal achor points (little squares when selected) by dragging a square around the intended area. Then make a right click and select "Average" and then select "horizontal" That will put all the anchor points ( and therefore the top of every object) at the same height, perfectly aligned.

mokenke

mara06's picture
2549 pencils

You may be seeing a problem that has more to do with your monitor's screen resolution than with Illustrator. I notice things such as you're describing sometimes, and when I zoom into see what's going on, I find perfection (oh, of COURSE!). How does a high-resolution printout look?

Mara

thumbslinger's picture
10 pencils

Also, just make the orange background bigger. Then, select the gray and white letters and the orange letters and choose Divide in the Pathfinder.

Where they touch will be split exactly and you can delete the extra orange pieces.

xGrape's picture
88 pencils

Thanks for the tip, but we already decided to do it the stupid way. Yes, the way that we all know works, but that stubborn me refused to go until I _knew_ I had no choice.

Pasting in a copy of the logo from Photoshop, into Illustrator, and then drawing along all the lines with the pen tool. Lucky for us the logo was fairly simple. If this doesn't work either, Ill try your tip :)

mokenke's picture
315 pencils

Don't you?

mokenke

Creativebits is a blog about creativity, design and Macs. We also have a critique section where you can post your work to get opinions and a forum to discuss any design related topics.

Recommend us on Google

Latest critique

Do you need a great new logo?

If you need a logo for your company or product you can get it done with us.
In our logo store you can pick from over 28,000 pre-made logos that will be customized to your name for free or you can post a contest for us for just $250 and our designers from all over the world will submit dozens of logo design suggestions to your specific needs.

Marketplace