Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles

[solved] Style Request: Smallcaps

A topic by vostok4 created Nov 26, 2018 Views: 40 Replies: 2
Viewing posts 1 to 3

Is it possible to add Smallcaps as a rich text style?

Developer

Hey!


I'm not too sure what you mean by smallcaps... do you mean text Lɪᴋᴇ ᴛʜɪs?


If you want to just have small capital letters, you can use the tag <s=0.5> to have certain text be smaller than others. (The <size=5> will set the text's exact size, not relative size like <s=0.5> does) Besides that, you'd have to make your own pre-parsing script to generate these special smallcaps characters from the normal ASCII data. This method can be done with a standard text mesh too, so it actually falls outside of my jurisdiction, but if you need help getting started, check out the other preparsing examples included with STM to see how to do custom text modifiers!

You kind of make this too easy. I didn't realize that <s=0.5> is a relative size, for my needs all I need to do is make sure the text gets set to uppercase and then T<s=0.8>EST is perfect!

Thank you, solved!