Forum

Get length from string and position text

I want to have a simple side scrolling news ticker. LFO + Phase of LinearSpread works perfectly for the endless scrolling effect.

One news item per line, repeating itself. The distance between the texts is set via the LinearSpread Width.

But some news messages are short, some are long. How can I feed the info about the text lenght back into the LinearSpread?

GlyphInfo looks interesting but not sure where to go from here.

Ideally all news messages would overlap at the #.

Happy if you can point me in the right direciton and I will experiment from there!

Thank you!


newsticker.v4p (15.4 KB)

linemetrics?