fontwriter

Generates/optimizes JSON fonts for TextraTypist.

APACHE-2.0 License

Stars
3

Bot releases are hidden (Show)

fontwriter - 1.1.0 "Compressed Hamster" Latest Release

Published by tommyettinger 4 months ago

This release generates both .json and compressed .dat files that describe font layout; the current commit of TextraTypist can load either to get an identical font. Very little else has changed, but the TextraTypist dependency included here is newer, so previews should have (much) better distance field handling.

No hamsters were harmed in the making of this release.

fontwriter - 1.0.4 "Official Oread"

Published by tommyettinger 4 months ago

This release is smaller than some previous ones, but has a nice new perk: we now can use the official releases of both msdf-atlas-gen and oxipng. No more self-built .exe files! There are also some adjustments to how previews are generated. If you're using the current TextraTypist, then you no longer need the trick from version 1.0.3 that affected MSDF crispness; crispness should be fine out of the box, usually.

Future versions will move towards compressing the large JSON files, since I'm going to run out of space on my repos that host these fonts...

fontwriter - 1.0.3 "Hinting Pixie"

Published by tommyettinger 6 months ago

This release mostly exists to clean up the generated files and their previews for public consumption. Take a look at the knownFonts folder and its previews in a subfolder! There's also a --bulk option for when you have a lot of .ttf and/or .otf fonts and want to make MSDF, SDF, and Standard versions of all of them. That's about it! You may want to configure smoothing differently for MSDF fonts; currently, font.setCrispness(55f / font.cellHeight); works well enough for most fonts.

Enjoy your fonts!

fontwriter - 1.0.2 "Batch Brownie"

Published by tommyettinger 6 months ago

This release mostly exists to include a mitigation for the BatBadBut vulnerability, which was easy enough to block. Upgrading to at least 1.0.2 should be done when you can; this release is fully backwards-compatible. This also improves the pxrange value for MSDF and SDF fonts with very large or small font sizes. This value isn't currently exposed to users, but it may be in the future.

Potentially useful for anyone using these fonts with libGDX, TextraTypist now has code to load Structured JSON as a BitmapFont. This is in addition to how it could load these files as TextraTypist Font objects.

Enjoy making fonts!

fontwriter - 1.0.1 "Glyph Gnome"

Published by tommyettinger 7 months ago

This release is small, including the JAR -- it's been optimized so it doesn't include large audio libraries when it doesn't need them. The only new feature is the ability to write a preview of all glyphs in a color of your choice, as well as the standard preview of the text in use. There's also some extra information printed as help, and in the README.md file.

Enjoy!

fontwriter - 1.0.0 "Font Goblin"

Published by tommyettinger 7 months ago

This is the first release! There's just a .jar file in the attached .zip , but it uses two Win64 .exe files, so this is a Windows-only release for now. It does need Java installed, I think 8 or higher works, but if not, 11 or higher will certainly work. To use this, just extract the zip somewhere the folder structure will not change (like into any empty folder), and run the commands listed in the README.md.

Have fun!