Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Chevy Ray's Pixel Fonts

40 stylish pixel fonts to use in your games, websites, and more! · By ChevyRay

Unity TextMeshPro support

A topic by Parta Games created Dec 31, 2019 Views: 2,633 Replies: 6
Viewing posts 1 to 3

Hi, I bought the set a while ago, awesome work!

I'm using Unity and most of the text in our game uses the built-in TextMeshPro components so I was wondering if there's any plan to support that? I couldn't figure out by myself how to generate the TMPro fonts out of the assets so I assumed it's not supported at this time.

- Antti

(1 edit) (+4)

Unfortunately the asset doesn't come with TextMesh Pro versions of the fonts. Here's how you can do it yourself though: 

Put the font into TMP's Font Atlas Creator. 

Set the padding to 2, and the render mode to "RASTER". 

Set the sampling point size to the font's ideal size (each Chevy Ray font has different sizes, so look in the readme or just do trial and error until you find the size the font looks perfect at). 

Press "Generate Font Atlas", and save your font out. I like to put the ideal font size in the name of the TMP asset file, so it's easy to set it to the correct size when using the component. 

Thanks, I will try this :)

Hello, when I am trying to convert  the fonts to  TMP I get the error: 

Font Asset Creator - Error Code [Invalid_File_Format] has occurred trying to load the [ChevyRay - Love Bug] font file. This typically results from the use of an incompatible or corrupted font file.

I would love some help. Thx in advance.

Zach

I solved the problem on my own:)

Hi, I ran into the same problem, how did you solve it? Thanks :D

This problem is caused by trying to use the Font information file which is provided when you import the Unity Package.

TMP is looking for the .TTF file, not the font information file. Drag the TTF into your project and use it to generate your font atlas and you'll be all set.