Wednesday, March 4, 2015

HD Font Generator

Update March 5, 2015 (1.2): Use GNU Unifont as a fallback if a character isn't supported (it looks very similar to the default unicode font), decrease font size when it is too big and won't fit.

Update March 4, 2015 (1.1): Add experimental unicode generation and made errors more descriptive. Not all fonts support all the unicode characters, so this setting is not recommended.

Recently, I figured out how to create dynamic images in Java, so I felt like I should create a font generator from it, and now here I am writing this blog post.

This tool creates HD font resource packs using installed fonts on the system. If it's supported and installed in your computer, you can use it.

To use, select the font and texture size from the dropdown boxes and click Create. A zip named using the font name and the size will be created in the directory it was started from. Add this file as a resource pack.

For command line usage, just give it a font name with spaces replaced with underscores, then the texture size, one of [32, 64, 128, 256, 512]. A nonexistent font will use the JRE default (Dialog.plain).


Download [1.2] (Requires Oracle Java 7, not OpenJDK)
Pregenerated x32 Fonts (Agency, Arial Rounded, Arial, Comic Sans, Courier New, Impact, Tahoma, Times New Roman, Verdana) (Generated with v1.0)

Note: Every font is different, so some may look weird and require tweaking after generation, but most fonts should be fine.

17 comments:

  1. Thanks lots! I use this to create Middle-earth Rune Resource Packs. I am hoping the LotR Mod creator will add them into his mod. They are already on CurseForge, Minecraft Forums and Dropbox. This is my main tool thanks! Without this my Middle-earth Rune Resource Packs would be harder to make! AttackOfTheDirt

    ReplyDelete
  2. Replies
    1. Any font you have installed on your system will work. Just select it in the dropdown box.

      Delete
  3. I need help! My font is too small.

    ReplyDelete
    Replies
    1. It's probably caused by a abnormally large character that's used, making the others seem smaller by comparison. The generator picks a size that makes the largest character fit. You may need to edit the font manually.

      Delete
  4. I need help! My font is too small.

    ReplyDelete
  5. Hey! Very cool. I am running into problems starting up the app. I believe I have java on my computer as I use other things like mcpatcer and Optfire that use java. Any suggestions!

    ReplyDelete
    Replies
    1. Reinstall it just to be sure. The minecraft launcher installs java for you, but it's just a local install (meaning other applications can't use it).

      Delete
  6. I've got problem , when I try differents font I have always same error : "Font x32.zip (Access Deny)"
    Can you tell me why I have this and how can I resolve it ?

    ReplyDelete
    Replies
    1. Make sure you launch in a directory you have write access to.

      Delete
    2. I change to desktop , it works ! ^^ thanks ! ^^

      Delete
  7. I'm trying to convert the font "Tox Typewriter", but it always comes out way too small no matter what size I convert it to. Please help.

    ReplyDelete
  8. The dropbox link no longer works can you fix it?

    ReplyDelete
    Replies
    1. Works for me.
      https://www.dropbox.com/s/6n7qqkmprzewbiz/HD%20Font%20Generator-1.2.jar?dl=0

      Delete
    2. This comment has been removed by the author.

      Delete
    3. that downloaded but now it wont launch it says class not registered

      Delete