The "text" IS a path, as it has been outlined already, which makes it even more odd that the resulting compound path should look different than the group of paths.
(no need to keep text live btw)
As per your description, I think you have already outlined both text objects.
I can see the same difference at certain zoom levels in Illustrator CS5, so I guess it's just a matter of one of the various imprecisions on screen. A speciality of Illustrator.
Since the text is a path... are strokes applied to anything? A text stroke (perhaps white) will disappear when made into a compound path with the rectangle. The rectangles stroke (perhaps black) will be applied to the text when the two are combined into a compound path.
looks like you're answering to me. But no, there are no strokes involved. Try it, at certain zoom levels you will most likely also see differences on screen, just as Commodore described.
I'd still say that it is just a screen issue. Just did a quick test print on a HP Color Laserjet 5550 and a CP 4520. No difference at all …
If the text has a stroke, as it seems (it is thicker in the left image), that stroke will get the colour of the stroke of the rectangle if any, and otherwise the fill colour of the rectangle, whereas the fill colour of the text will be changed to None (so a background will show through. The Fill colour of the rectangle is unchanged as is the Stroke colour if any.
At least it ought to work that way.
The issue is very obvious in my print outs (Canon Pixma Inkjet), but I can also see it when exported as a PDF, or if imported as a smart object into Photoshop, which is then rasterized. Pretty sure it's not just a screen issue.
Thanks for looking into this btw.
there is no stroke. That's already been clarified.
I have no Canon Pixma, but – as already mentioned – I cannot reproduce your printing issue when using the above mentioned printers that I used for a quick test.
Try importing both versions (grouped and compound path) into Photoshop as smart objects. For me they appear different even after I rasterize them, so to me that makes it unlikely to be just a screen issue, wouldn't you agree?
By measuring I mean to check if both outlined text objects have the same dimensions.
If that applies, I'd still vote for a screen issue only …
You could provide the .ai file here, so one could take a closer look.
I would agree with this thread completely, the vectors are the same, no stokes, but it shows, and prints differently. I have printed on on an EFI Fiery and litho with the same result. To me it looks like an auto trapping issue (i.e. a straight vector traps one way a compound the other) I just can't see a way of controlling it. Simon
The discrepancy is caused by the pixel resolution of your printer.
The lower the resolution the more noticeable it will be.
This is because, in the compound version, an extra pixel (a sort of anti-aliasing) is added to the black around the ‘hole’.
It is usually o.k. for high resolution (offset) printers, less so for ink jets.
One should generally avoid compound paths with very small ‘holes’ which have a tendency to fill in.