Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Documentation Suggestion

A topic by Draque created Feb 14, 2025 Views: 107 Replies: 1
Viewing posts 1 to 2

Heyo! Just a suggestion for an addition to documentation on STM.

It took me some digging to figure out how to properly import/use ttf/otf fonts in STM. After dropping them into the fonts directory and referencing them by name in text, a warning would pop be shown in the console, but it referenced a menu that I could not find (the name is different than it is in the warning). I've noted the steps below, but could not find anything in the documentation to explains it directly.

  • Save font to Assets/Clavian/SuperTextMesh/Resources/STMFonts
  • In same folder in Unity Assets->Create->SuperTextMesh->Font Data
  • Name the font data as you want it to appear in editor menus/be referenced in tags
  • set the base font to the raw font file (TTF or OTF)

It might save others the trouble of doing this digging themselves. ^^

Developer (3 edits)

Ah oops, i'll update this to be a bit more clear! The message references a "Text Data Inspector" which I *think* I call the Text Data Editor more often, now. I'll get to updating the docs and warning message on this, I've really been meaning to review the docs!

The ideal way to make a font data file, or any other kind of data file, is with the Text Data Editor, btw! That's the menu that pops up when you click the [T] in the top-right of any Super Text Mesh component inspector