Skip to content

sarkahn/Unity_FontAtlasGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity_FontAtlasGenerator

Font Atlas Generator is an editor-only Unity tool that you can use to generate tilesheets from any .ttf font with any characters the font supports.

NOTE: Please be aware of the license for any fonts you use with this tool. Most fonts have very restrictive licenses, just because you generate a tilesheet from it doesn't change the license requirements.

The generator takes a string of characters and generates the tilesheet in a grid format. There is a preset for Code Page 437:

You will almost always have to tweak the values a bit to get the glyphs to line up and to get it looking sharp:

Most truetype fonts you'll find only support a very limited range of characters. If you change the dynamic font setting you can use a fallback font to replace any missing glyphs:

You can also adjust the text and background colors for your output texture as needed - including transparent backgrounds:

About

An editor-only tool for Unity that generates PNG font atlases from arbitrary strings. Built in support for Code Page 437 (if the font supports it).

Resources

License

Stars

23 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages