Skip to content
/ fontgen Public

A utility to generate font atlas images and metadata

License

Notifications You must be signed in to change notification settings

dkaste/fontgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fontgen

A utility to generate font atlas images and metadata

Why?

  • FreeType generates really nice looking text.
  • Nobody likes to depend on large, unsafe C libraries when programming in Rust! This utility uses FreeType to pre-generate a font atlas for your app so it remains C-dependency-free!

How?

  • cargo install fontgen
  • Read the documentation of fontgen-export to create a spec file in JSON.
  • Use fontgen to create an atlas image and associated metadata. (fontgen ./path-to-spec.json -o out)
  • Add fontgen-export = "*" to your Cargo.toml to share the metadata types used by fontgen.

About

A utility to generate font atlas images and metadata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages