Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[1.4.4] BetterFonts - TrueType/OpenType Font Support

ssp smp tweaks font unicode opentype truetype 1.4.4

  • Please log in to reply
195 replies to this topic

#1

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 05 April 2012 - 09:07 PM

The BetterFonts mod adds TrueType/OpenType font support for Minecraft. This mod will use the fonts installed on your system for drawing text instead of the builtin bitmap fonts that come with Minecraft. Languages such as Arabic and Hindi look much better with this mod since both require complex layout that the bitmap fonts simply can't provide. All in-game text will change to use the new fonts including GUIs, the F3 debug screen, chat, and even signs. This mod should have little or no impact on performance.

Unicode Text in Chat:
Starting with 1.3.2, both the regular Minecraft server and CraftBukkit allow using full Unicode text in chat. Unfortunately, the Minecraft client comes with an older version of the LWJGL library which doesn't handle keyboard layouts properly. You will have to to manually update LWJGL to the latest version, if you need Unicode support in chat.

Screenshots:
Spoiler:

Downloads:
BetterFonts 1.4.4 - 2012/11/16

Change Log:
  • Updated to Minecraft 1.4.4
Older Versions:
Spoiler:

Installation:
Installation is the same as for any other mod. Extract the contents of the downloaded .zip file into your minecraft.jar, and make sure to delete the META-INF folder inside minecraft.jar. This mod is compatible with OptiFine and MCPatcher, but make sure to install it after either mod. Further install examples below:
Spoiler:

Source Code:
The source code is available in a GitHub repository and is licensed under the LGPL.

Configuration:
You can have a config file to change the default font and text size this mod uses. If your game is installed in a ".minecraft" directory, then the config file will be ".minecraft/config/BetterFonts.cfg" (the same place ModLoader keeps its config files). Please note that the "config" directory does not go inside minecraft.jar but directly into the game folder. You can either download the config file or look at the example below:
Spoiler:

Known Issues & Feature Requests:
These are issues that I plan to eventually fix or feature requests I plan to implement in a future version of the mod. In no particular order:
Spoiler:


Register or log in to remove.

#2

Neon_ColorsFTW22
  • Minecraft: NeonColors123

Posted 05 April 2012 - 09:10 PM

It's pretty cool and the fonts look very HD

Good source for computer usage

Posted Image


#3

MisterFiber
  • Location: Vancouver, Cascadia
  • Minecraft: MisterFiber

Posted 05 April 2012 - 09:13 PM

Nicely done.

Posted Image
- Mapping & Modding Rules - All Minecraft Forum Rules -
~ Become familiar with the rules before posting, please ~ I love Spiders ~


#4

mega1shadow
  • Location: somewhere in NSW, AU
  • Minecraft: mega1shadow

Posted 08 April 2012 - 01:12 PM

quite nice, but can you make it so you can change just your font?
Posted Image [SSSS]

#5

matthew9170

Posted 08 April 2012 - 02:02 PM

Very good, this mod makes the text much better, keep up the good work. Don't let it die.

Posted Image
minebook.me


#6

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 09 April 2012 - 02:13 AM

View Postmega1shadow, on 08 April 2012 - 01:12 PM, said:

quite nice, but can you make it so you can change just your font?
Yes, I can add a config file that will let you change the font used and maybe the size. The default is Arial (at least on Windows).

#7

DoubleD5540

Posted 10 April 2012 - 03:46 AM

Awesome mod, I am sure many people will find it very useful. As other people have said, customizable font options would be great,
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image

#8

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 10 April 2012 - 07:42 PM

New version out with support for a config file to change your font options.

#9

DoubleD5540

Posted 10 April 2012 - 09:37 PM

View Postthvortex, on 10 April 2012 - 07:42 PM, said:

New version out with support for a config file to change your font options.

Thank you so much for this mod,I love you. If it a wonder that no one has done it before. Keep up the hard work! Would it be possible for you to add bold and italic options to the config? Certain fonts look really good, but would really benefit from being bolded. Thanks!
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image

#10

snow_cat
  • Minecraft: Snow_Cat

Posted 12 April 2012 - 03:19 AM

Meow;

Colour is indeed restored on my machine, however I am unable to use "font.name=Orbitron" to specify Orbitron as my desired font.

Posted Image

edit: Serif, SansSerif, Monospaced appear to work.

#11

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 12 April 2012 - 04:08 AM

View Postsnow_cat, on 12 April 2012 - 03:19 AM, said:

Meow;

Colour is indeed restored on my machine, however I am unable to use "font.name=Orbitron" to specify Orbitron as my desired font.

This should work:
font.name=Orbitron Medium

I'll need to change how I do the font name lookup.

#12

snow_cat
  • Minecraft: Snow_Cat

Posted 12 April 2012 - 04:29 AM

Posted Image

That's better.

Will you be releasing an Optifine-integrated version?

#13

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 12 April 2012 - 05:40 AM

View Postsnow_cat, on 12 April 2012 - 04:29 AM, said:

Will you be releasing an Optifine-integrated version?
Just install this mod after Optifine so it replaces Optifine's FontRenderer. Do you know what exactly Optifine changes in that class? I haven't actually decompiled with Optifine myself. I figured any Optifine improvements wouldn't apply anyway since I'm bypassing most of the rendering code for the bitmap fonts.

#14

snow_cat
  • Minecraft: Snow_Cat

Posted 12 April 2012 - 04:20 PM

Optifine appears to add custom fonts from texture packs (Redundant), Texture pack switching (and update detection), and uses floats for all width calculations.

Should I look at what is happening to the wrapping, it appear that newlines aren't resetting the width tracker.

#15

ArcadianDelSol

Posted 13 April 2012 - 05:06 AM

I have tried SO MANY times today to install this but the default font is all I see. Ive tried it using a 'vanilla' .jar file as well as one that has the "opti" performance mod installed.

I've changed the font.name to almost every font i found in the FONTS folder of windows. I've changed the font size to 8, and 12, and 10 - and nothing ever changes.

what am I doing wrong? In my .jar file, I have a config folder. in that folder is the BetterFonts.cfg file

everything is in the right spot but my client still only has the default font.

any help would be appreciated.

edit: yes, the meta-inf has been removed. like i said, i've installed optifine without trouble.

#16

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 13 April 2012 - 05:35 AM

View PostArcadianDelSol, on 13 April 2012 - 05:06 AM, said:

what am I doing wrong? In my .jar file, I have a config folder. in that folder is the BetterFonts.cfg file
No, no. The "config" folder goes directly in the ".minecraft" folder and not in minecraft.jar. It's the same place that ModLoader would normally put config files.


#17

thvortex
    thvortex

    Carpenter

  • Curse Premium
  • Curse Premium
  • 49 posts
  • Location: Austin, TX
  • Minecraft: Thvortex

Posted 13 April 2012 - 06:04 AM

View Postsnow_cat, on 12 April 2012 - 04:20 PM, said:

Should I look at what is happening to the wrapping, it appear that newlines aren't resetting the width tracker.
Oops, you're right. I'll go ahead and fix that. I just realized that the original trimStringToWidth() ignores spaces and newlines while sizeStringToWidth() does not. But I had implemented both methods to ignore whitespace.

#18

iiiHuman
    iiiHuman

    Void Walker

  • Members
  • 1651 posts
  • Minecraft: iiiHuman

Posted 13 April 2012 - 11:14 AM

Tried this out but I can't get certain fonts to be recognized.

And, yes, I tried specifying it with the BetterFonts.cfg file in the "/.minecraft/config" folder.  I have been able to get certain fonts to work but not others.



One Example Of A Font That I Can NOT Get To Be Recognized:

Latin Wide






Also, while I'm here, I haven't checked this in game yet and I didn't see anything posted about it yet but does this also affect fonts used on signs?


One other thing for now.  Are you planning on eventually adding a GUI interface to select the font you wish to use in-game?


And, by the way, you currently have an extra character at the beginning of the thread title.





Posted Image

VERTICAL & WIRELESS REDSTONE, COLORED & LIGHTED GLASS & LAMPS, & SLIME ETC!!!
Posted Image


#19

iSxF
    iSxF

    Tree Puncher

  • Members
  • 10 posts
  • Minecraft: iSxF

Posted 13 April 2012 - 02:45 PM

Amazing! Just amazing!
Fixed arabic language and gave it a very good font!

but, what about server support?
i can not type in arabic in this? it's just shows as "ÇáÓáÇã Úáíßã æÑíãÉ Çááå æÈÑßÇÊå"
but actually i'm typing: "السلام عليكم ورحمة الله وبركاته"

but when i copy arabic text from notepad to the minecraft chat it shows in arabic but when i press enter it's just blank nothing shows :(

anyway to make it work server-side?.

Thanks alot! :D

#20

ArcadianDelSol

Posted 13 April 2012 - 10:36 PM

View Postthvortex, on 13 April 2012 - 05:35 AM, said:

No, no. The "config" folder goes directly in the ".minecraft" folder and not in minecraft.jar. It's the same place that ModLoader would normally put config files.
fixed and working. thank u so much.