Skip to main content
Inspiring
February 25, 2018
Answered

Text stroke aligned to inside

  • February 25, 2018
  • 1 reply
  • 7958 views

Hello,

When I set a stroke to live text, the stroke is aligned to the centre of the edge of the fill, by default. It is not possible to align stroke to the inside. Is it possible to mask the portion of the stroke that is on the outside of the fill while keeping the text live?

Offseting the Path of the stroke should work but in this case, there appears to be a glitch with the font and the offset stroke doesn't quite follow the contour of the text. Creating outlines is not an option here as I would like to keep the text live (also, outlines do not always follow the original type but may approximate it). I have tried using opacity masks with multiple strokes of different sizes applied to the text but have not been successful in achieving what I want. Basically, I want to apply stroke aligned to the inside of live text!

This is for CS4.

Thanks.

    Correct answer Monika Gause

    You can apply a second stroke, offset path to the outside, set its opacity to 0 and make the text object a knockout group. Then hope that the offset path to the outside does not create the glitch.

    1 reply

    Monika Gause
    Community Expert
    Monika GauseCommunity ExpertCorrect answer
    Community Expert
    February 25, 2018

    You can apply a second stroke, offset path to the outside, set its opacity to 0 and make the text object a knockout group. Then hope that the offset path to the outside does not create the glitch.

    Snowdog63
    Inspiring
    July 5, 2025

    Because it would be too flipping simple for Adobe to make the three buttons (inside stroke, centre stroke & outside stroke) actually work like they should. Jeez.