Skip to main content

Hi all,

 

I have a line and attributes for the length and angle of the line and text.

What I would like to have is a vector outline of the text centered over the line.

 

Is there anyway to position the text over the line other than using an Offsetter after the TextStroker?

 

Is there a reason that the height of the text generated by the TextAdder is only about 70% of the value provided in the Text Size parameter?

Regarding the measured text height, could it be that you're seeing the difference between the body height (pixel height) and the point size (x height), also called the "em"? See also the difference between the measurements 12 and 13 in the diagram here: https://stackoverflow.com/a/25520581

There's a simplified explanation here: https://qr.ae/pKKv3Y (Quora)

Granted, 30% sounds a bit much, but I guess it could depend on the font definition.


Regarding the measured text height, could it be that you're seeing the difference between the body height (pixel height) and the point size (x height), also called the "em"? See also the difference between the measurements 12 and 13 in the diagram here: https://stackoverflow.com/a/25520581

There's a simplified explanation here: https://qr.ae/pKKv3Y (Quora)

Granted, 30% sounds a bit much, but I guess it could depend on the font definition.

That makes sense, my text is all numbers so I wasn't thinking about ascenders and descenders, just the cap height. If I just use the lowercase j, it comes out to 93 percent of the font size. I guess the 7% is the shoulders.


Reply