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.

46 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
  9. Can you, pleeeaaaseee, add support for fonts, which have cyrillic symbols?
    I mean, some fonts i can use for writing in english and russian languages.

    ReplyDelete
    Replies
    1. Sorry, but this option still "Experimental" and not working.
      After some seconds button "Create" is active, but status bar says "Working...".
      I mean... Maybe this option still not implemented in 100%?

      Delete
    2. The unicode takes a little longer to generate the fonts. Normally, only a single sheet is generated. With unicode, an additional 255 sheets get generated.

      BTW, it's been quite some time since I worked on this, so if I do go back to it, it will likely be a complete rewrite.

      Delete
    3. By the way, someone create this:

      http://www.minecraftforum.net/forums/mapping-and-modding/resource-packs/resource-pack-discussion/2748316-all-version-unicode-hd-font-generator-online-and

      Online, Offline and C++ version for Linux.

      There are significant speed of generating Unicode sheets, but on exit = ~60 MB's of size.
      I need ONLY russian and english characters.

      Maybe you can make this option?

      Delete
  10. The program seems to work fine, but I don't get any output from the program. It says that it created the font, but it doesn't actually do anything (At least that I can tell)

    ReplyDelete
  11. The Programm wont start with the newest Java so its useles.

    ReplyDelete
    Replies
    1. Would you like some help getting it working or are you just going to abandon it?

      Delete
  12. Your Tool really very Helpful to Change font style simple to stylish, i am also looking for a good Fancy Text Generator Tool that can do convert simple text into Fancy text.

    ReplyDelete
  13. Where i can find the generated font?

    ReplyDelete
    Replies
    1. Fonts will be in a zip file in the same directory you launched the jar from. If you're on linux and you launch it from your desktop, it will be in your home dir.

      Delete
  14. As a fine purveyor of fonts, I am thoroughly pleased with this tool. Bless you, dear friend. ♥

    ReplyDelete
  15. hey where so i put the zip file?

    ReplyDelete
    Replies
    1. From the post: "A zip named using the font name and the size will be created in the directory it was started from."

      Delete
  16. for some reason i keep getting access denied

    ReplyDelete
    Replies
    1. That's an OS issue then. Make sure you run it from a folder you have write access to.

      Delete
  17. This comment has been removed by a blog administrator.

    ReplyDelete
  18. This comment has been removed by a blog administrator.

    ReplyDelete
  19. This comment has been removed by a blog administrator.

    ReplyDelete
  20. This comment has been removed by a blog administrator.

    ReplyDelete
  21. I already download the font I want in computer,but I can't find it in Font Generrator

    ReplyDelete
  22. Hi creator I have already install the font in my computer
    but it isn't in hd-font-generator and in the hd-font-generator
    why I have many dialog.plain?

    ReplyDelete
  23. i added the font i want to my pc but i don't see it in the font generator. Can you help me please? Thank you.

    ReplyDelete
  24. I can't use fonts that I have installed from web. I can only select built-in windows fonts.

    ReplyDelete
  25. I installed a new font on my pc and then loaded the program but I couldn't find the font anywhere why?

    ReplyDelete