Jump to content

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

[Misc] How to change the Font [3/1/11]


  • Please log in to reply
8 replies to this topic

#1

snowyomen
  • Location: Texas Y'all
  • Minecraft: SnowyOmen

Posted 02 January 2011 - 10:36 PM

Hello, everyone!

I wanted to edit the minecraft font today, and found it extremely difficult to get some information on the subject!

First off, this is the font we'll be changing:

Posted Image


This is the texture to edit:
Posted Image
(If your background is white, you probably can't see it)

For your viewing pleasure, an edited version:
Posted Image
Background added, size 300%


This is the file we'll be editing. The location is:

//font//default.png

Note, however, that while you can put it in your favorite texture pack, it doesn't seem to work. (Confirmation?)
Instead, place it in your minecraft jar, like so:

minecraft.jar//font//default.png

:Blue:  :Blue: Now, let's get into Photoshop and see how we might edit it! :Blue:  :Blue:

Phase 1

:Teal: Set up your interface
:Diamond: Follow the image below and set up your interface accordingly. You need:
:Diamond: Window: Character open.
:Diamond: Window: Layer open.

:Teal: What resolution do you want? Default: 128x128. My choice: 256x256
:Lava: Using any resolution other than 128x128 may be IMPOSSIBLE! See bottom of post!
:Diamond: go to Image: Image Size. Select Percentage, 200 width & height.
:Diamond: <> Resample Image: Nearest Neighbor (preserve hard edges)


:Teal: Create a background.
:Diamond: go to Layer: New > Layer.
:Diamond: drag this layer under the layer of text.
:Diamond: Ctrl+A (select all, entire canvas). Right click in the canvas area, select Fill!

:Teal: Get a pixel font
:Diamond: Find a font. Perfect place: DaFont.com/Bitmap
:Diamond: I'm using PF Tempesta Seven (Bold).
:Diamond: Installing a font is easy. Find out how on Google,
:Diamond: and be sure to restart your image editing program before you use the new font.

Posted Image
I have already started changing text! Read on to learn more...

Phase 2

    :Teal: Create a text layer. Use the Horizontal Type Tool (T).
    :Diamond: Drag an area, the width of a line of text, and the height of ONE line of text.
    :Diamond: A new Type layer should appear, and it should be on the top of the list.
    :Diamond: Start typing.
    :Diamond: If you don't see anything, your font size is too big to fit into the area you dragged. (see below)

    :Teal: Use the Character Window.
    :Diamond: Select your pixel font, and a size that closely resembles the default letter size.
    :Diamond: <> There's an "aa" icon.
    :Diamond: This drop-down is for "font smoothing". Please select "None".

:Diamond: If you're have a "monospaced" font, you don't need to do the following:

:Teal: Two tools get the job done.
:Diamond: You only need two tools to fit your pixel font into the default font area:

    :Violet: Horizontal Scale. It's the T with <---> underneath.
    :Diamond: Use this on wide letters like M and W, to squish them!

    :Indigo: Tracking. It's the A V with <---> underneath.
    :Diamond: Use this to add more space AFTER a letter.
    :Diamond: You'll probably use this on every single letter.

:Teal: Save.
:Diamond: Delete the default white text behind letters you've added. (Leave the rest intact)
:Diamond: Turn off the visibility of the background layer. (The eye on the left of the layer name).
:Diamond: Save-as. Format: PNG, File name: default.png (Back up the original in case you need it!)

:Orange: Drop it into Minecraft.jar//font and see what happens! :Orange:


Current Problems:


:Teal: Letter spacing seems to be hard-coded somewhere in the Minecraft.jar. This is clear because the bitmap we are editing uses a mono-spacing format. However, in game we see that letters are spaced based on their size. For example, the lower case "i" is snug between two letters.

We must find this code and edit it if we ever want to truly have our own fonts in minecraft!

This is my attempt to use a 256x256 (size doubled) bitmap.
Posted Image


:Teal: Anyone think they know the solution?

Register or log in to remove.

#2

snowyomen
  • Location: Texas Y'all
  • Minecraft: SnowyOmen

Posted 03 January 2011 - 04:56 AM

Bumping, because I think someone out there in Interweb Land can help solve the up-sizing problem. :obsidian:

:D

#3

Yosi56
    Yosi56

    Zombie Killer

  • Members
  • 174 posts

Posted 22 January 2011 - 06:27 AM

bump
and is there a way to add languages to the game???
plz support :D
Posted Image

[simg]http://i.min.us/ievcu8.png[/simg]

#4

lolkuro
    lolkuro

    Redstone Miner

  • Members
  • 581 posts
  • Minecraft: lolkuro

Posted 22 January 2011 - 06:40 AM

The minecraft font is a bitmap-monospace type. In order to successfully hack the font, you will have to hand-sprite every single character and make it fit the original boundaries of the original font.

Using photoshop is only going to help you with alignment, thanks to the layer ability. attempting to use text-input will not work due to anti-aliasing and kerning errors with the minecraft engine.

Take it from a guy who's made more in-game fonts for Earthbound than most people call sane (I'm MrStabby on Starmen.Net forums); This is not a task for the faint of heart.

#5

jecowa
    jecowa

    Gold Miner

  • Members
  • 376 posts

Posted 16 February 2011 - 12:25 PM

I wish there was a mod that would let us be able to use higher-resolution fonts. The default font is kind of really blocky. I'd like to use a font with smooth curves.

#6

jecowa
    jecowa

    Gold Miner

  • Members
  • 376 posts

Posted 21 February 2011 - 04:20 AM

A BOLDED ALL CAPS UPDATE:

MCPATCHER now supports HD fonts!
http://www.minecraft...?f=1021&t=46173

#7

insomniac_lemon
  • Minecraft: insomniac_lemon

Posted 02 November 2011 - 04:45 AM

hotfix!

Posted Image


#8

jackuffmarshall

Posted 12 February 2012 - 12:00 PM

View PostYosi56, on 22 January 2011 - 06:27 AM, said:

bump
and is there a way to add languages to the game???
there is 1.1
Posted Image

#9

bumbatumbarumba
  • Location: Up North
  • Minecraft: Bumbatumbarumba

Posted 18 March 2013 - 11:01 PM

Thank you, kind sir, for explaining how to edit the in-game font! I've been wondering about this for a while and I couldn't find anything useful, until I found this!
Posted Image
My escape map right here (Parts 1 and 2) ---> this