Clipping mask from a live text is misaligned / resized / distorted
When using a solid swatch filled variable font as a clipping mask (Hepta Slab in the attached example) the clipped paths are misaligned with the font (in display and in selection hovering).
Thanks for the information provided to the Illustrator team.
We are able to reproduce this issue at our end and the engineering team is currently isolating this issue further to get to the root cause.
With Best Regards,
Aishwarya G Gadodia
--- English translation (using a translation tool)
This problem is reproduced even with non-variable fonts. Depending on the design of the font, it is more noticeable when thin weight fonts are used at small sizes. Sadly, the PDF will be exported as-is.
As Egor already mentioned, it can be avoided by adding an "Outline Object" effect to the text. However, not all users are that careful.
Clipping masks created with text are fun to use. I hope the problem will be resolved so that users can concentrate on design.
Matthew, yes, I am seeing and am able to reproduce this small dot of 'i' problem.
However, I have a workaround and an explanation of some sort, but they contradict each other in this particular case. Quite peculiar!
A live text in Illustrator (and basically in any other software) is hinted. The generated outlines shifted a bit to fall precisely in the grid of the medium (paper or screen) to avoid blurriness. The more you zoom out, the more the difference between the background text and the clipped yellow blob looks prominent. That's because the clip mask uses the pure unhinted outline to render the content.
If you outline both, they will match exactly, and the black hair padding you see is only because of the stacking, it won't be printed or exported.
To keep the text live, but to get the correct match still, you can apply Effect > Path > Outline Object to both of your texts. This will force Ai to ignore hinting and display pure outlines. The contradiction I mentioned is that usually it is required only for the bottom text and not the clipping group... but in this case they match only when applied to both! Perhaps it’s because this is not a mere font, but a variable one, and is basically sewn dynamically from the pieces.
Sure this has to be studies further. Thanks for bringing this up.
This is somewhat better, yet still not totally fixed. See the highlighted issues with the tiddle of the "i". Also black visible at the edges of the underlying text.
Works fine for me with Hepta and using it as a clip mask.
Matthew, does it work for you now as well?
Please report back if it is fixed (or not).
The effects vanishes if you apply Outline Object effect to a text before clipping.
When I set cap height of a text object to be exactly 10 mm, and then use it a clipping objects to clip an art, the height of the font gets smaller, although Ai still thinks it’s exact.
Please see the file and GIF attached.