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:
This is the texture to edit:
(If your background is white, you probably can't see it)
For your viewing pleasure, an edited version:
Background added, size 300%
This is the file we'll be editing. The location is:
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:
Now, let's get into Photoshop and see how we might edit it!
Set up your interface
Follow the image below and set up your interface accordingly. You need:
Window: Character open.
Window: Layer open.
What resolution do you want? Default: 128x128. My choice: 256x256
Using any resolution other than 128x128 may be IMPOSSIBLE! See bottom of post! go to Image: Image Size. Select Percentage, 200 width & height. <VERY IMPORTANT>> Resample Image: Nearest Neighbor (preserve hard edges)
Create a background.
go to Layer: New > Layer.
drag this layer under the layer of text.
Ctrl+A (select all, entire canvas). Right click in the canvas area, select Fill!
Get a pixel font
Find a font. Perfect place: DaFont.com/Bitmap
I'm using PF Tempesta Seven (Bold).
Installing a font is easy. Find out how on Google,
and be sure to restart your image editing program before you use the new font.
I have already started changing text! Read on to learn more...
Create a text layer. Use the Horizontal Type Tool (T).
Drag an area, the width of a line of text, and the height of ONE line of text.
A new Type layer should appear, and it should be on the top of the list.
If you don't see anything, your font size is too big to fit into the area you dragged. (see below)
Use the Character Window.
Select your pixel font, and a size that closely resembles the default letter size. <VERY IMPORTANT>> There's an "aa" icon.
This drop-down is for "font smoothing". Please select "None".
If you're have a "monospaced" font, you don't need to do the following:
Two tools get the job done.
You only need two tools to fit your pixel font into the default font area:
Horizontal Scale. It's the T with <---> underneath.
Use this on wide letters like M and W, to squish them!
Tracking. It's the A V with <---> underneath.
Use this to add more space AFTER a letter.
You'll probably use this on every single letter.
Delete the default white text behind letters you've added. (Leave the rest intact)
Turn off the visibility of the background layer. (The eye on the left of the layer name).
Save-as. Format: PNG, File name: default.png (Back up the original in case you need it!)
Drop it into Minecraft.jar//font and see what happens!
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.