Releases: tommyettinger/fontwriter
2.2.13.1 "Mac Attack"
This release adds a new feature: you can now use a smaller character set by having lang_* or *.properties files present where FontWriter can see them; if these file(s) exist, then every char in them will be used to determine the char set. By default, FontWriter looks in the same folder as the font file, but you can also specify a different directory as the optional sixth argument. You can avoid providing a fifth argument if you want by passing 0 as the fifth parameter, which makes no extra preview be written.
This also fixes a number of bugs relating to the new MacOS platform, and likely Linux as well! #1 has been fixed and now command line args should be passed through even if the JVM restarts. #2 has been fixed, I think, by the later fixes provided by rotter in #3 . And #4 has also been implemented!
This release can be considered usable on Windows and potentially usable on Mac and Linux now. Give it a try and let me know what works and what doesn't work, please!
2.2.13 "Time Flies"
It's been just over a year since the last release! It's about time for another! This release uses TextraTypist 2.2.13, and now at least tries to have working MacOS and Linux binaries in distbin/. Will they work? I don't know! I will test on Linux when I can, but Mac is a black box to me, since I don't own anything running macOS. Windows x64 works; I know that much! As for new features in this release, there aren't many, but it should fix a bug with absolute paths to fonts, should create previews with better metric by default, and various other changes associated with using a year-newer TextraTypist version.
To use this, just download the .zip, extract it, and run the JAR on the command line with java -jar fontwriter-2.2.13.jar "path/to/font.ttf" standard 200. Replace "path/to/font.ttf" with the absolute or relative path to your font; a small .cmap.txt file will be created next to it to save time on later runs. You can change "standard" to "sdf" or "msdf" if you want to use you font with TextraTypist. You can change "200" to a different size, but it will automatically be shrunk-down to fit every glyph in a 2048x2048 image by default. This should only need Java 8 or higher. This may work on non-Windows OSes, but I have no idea how well. There are binaries included for msdf-atlas-gen and oxipng in distbin/, in the .zip, for Windows x64, Linux x64, macOS x64 (older Macs) and macOS AARCH64 (Apple Silicon processors).
2.0.0 "Shrinking Shrew"
This release depends on TextraTypist 2.0.0 and also produces fonts with the wide range of compression types that release supports. This includes the .json and .dat files from before, along with .json.lzma, .ubj, and .ubj.lzma , with .json.lzma strongly preferred for new code. TextraTypist also links to this repo a lot more because the docs have been cleaned up a lot here! There are also quite a few fonts present here (in knownFonts) that haven't yet been added to TextraTypist's KnownFonts class, but can be loaded just fine without that.
The attached .zip includes a Windows-minimized .jar file that should work on x64 Windows, and the x64 binaries in distbin/ that should be kept there relative to the .jar file, and copied with it. These binaries are still just a release version of msdf-atlas-gen and a release version of oxipng, as mentioned in the README.md .
No shrews were shrunk in the making of this release.
Full Changelog: v1.1.0...v2.0.0
1.1.0 "Compressed Hamster"
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.
1.0.4 "Official Oread"
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...
1.0.3 "Hinting Pixie"
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!
1.0.2 "Batch Brownie"
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!
1.0.1 "Glyph Gnome"
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!
1.0.0 "Font Goblin"
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!