Troubleshoot

Common problems creating fonts

Unable to Create Characters

Unfortunately, characters in some fonts sometimes have overlapping/lose points. They don't usually cause issues with 2D fonts but can cause problems with the character generation of the asset. It is a hassle to clear them up all manually but sometimes, just opening them up in FontForge and exporting them causes font forge to use the right tables and fix common mistakes. How to: https://ferdowsur.gitbook.io/modular-3d-text/fonts/creating-fonts#convert-to-ttf-filearrow-up-right

Where to Get Fonts?

Anywhere they provide a TTF File. Otherwise, you can convert the font file to TTF formatarrow-up-right.

You can usually find a good selection of fonts from Google's font library: Google fontsarrow-up-right

Font Spacing is Messed Up

The asset uses the 'advance' table to calculate the spacing. If for some reason some character's spacing is messed up because they aren't in the right table, generate a new TTF file from Font Forge. It will most likely automatically put everything in the correct tables and takes about a minute to do. How to: https://ferdowsur.gitbook.io/modular-3d-text/fonts/creating-fonts#convert-to-ttf-filearrow-up-right

No kerning found

The asset uses the 'kern' table to get the kerning information. If your font has kerning information but, not on that table, it might be missing.

To fix it, generate a new TTF file from Font Forge following the instructions here: https://ferdowsur.gitbook.io/modular-3d-text/fonts/creating-fonts#convert-to-ttf-filearrow-up-right But, when generating font, make sure to enable 'kern' by clicking options as shown in step 5 and 6.


circle-info

If this wasn't helpful and you require further assistance, please feel free to send me an e-mail. I will try my best to help. E-mail: ferdowsurasif@gmail.com

Last updated