Scribble icon indicating copy to clipboard operation
Scribble copied to clipboard

MSDF Fonts -> single string with different border colors

Open morphonet opened this issue 3 years ago • 1 comments

Heya,

I'd like to be able to write a string with an MSDF font that allows me to write a string with different text/border colors.

Something like : scribble("[template_white]A white text with black borders [template_red]a red text with red borders").draw(x, y) or maybe scribble("[#FFFFFF, #00000]My white text with black borders, [#0000FF, #FFFFFF]a red text with black borders").draw(x, y) or anything that can suit the need =)

Kind of result i'd like (coming from scribble v6 with baked fonts) : https://cdn.discordapp.com/attachments/724320324375806123/821477869313196073/unknown.png

Thanks a lot Juju!

morphonet avatar Mar 18 '21 10:03 morphonet

Can repurpose the sprite data field perhaps?

JujuAdams avatar Dec 04 '21 23:12 JujuAdams

Going to be prohibitively expensive to implement this unfortunately

JujuAdams avatar Jan 22 '23 18:01 JujuAdams