Facepunch / sbox-issues

176 stars 12 forks source link

Built-in functionality to curve text along a path #3730

Open trundlr opened 1 year ago

trundlr commented 1 year ago

For?

S&Box

What can't you do?

In the UI, currently there is no proper way to curve text along a path. It would be nice if we could curve along a path like https://css-tricks.com/snippets/svg/curved-text-along-path/ or have functionality similar to arctext.js https://tympanus.net/Development/Arctext/#sub1

How would you like it to work?

See above

What have you tried?

Splitting characters of a string into multiple elements and translating manually with inline styles. I could not figure out a good solution.

Additional context

No response

xezno commented 1 year ago

I'll probably do this as a library at some point rather than a base feature, it seems like something pretty niche that we don't really need direct engine support for