Guides/Custom Fonts.md
/home/neo c829865999
fix
2026-08-18 21:19:21 +03:00

39 lines
1.8 KiB
Markdown

# How to make a custom font for your custom texture pack
This guide tells you how to replace the original mojang font that shows up on signs and some other stuff
This **will not** change the text that shows up in most UI menus.
## Step 1
Go to your versions folder, then go into **/Common/res/TitleUpdate/res/font**
In your pack folder, in the data folder, open the pck.
## Step 2
Add the Default.png from the font folder as a texture in your pck.
Press the "Rename Asset (Path)" button and call the file **res/font/Default.png**. this will move the file to a new font folder in the res folder.
## Step 3
Save your PCK. this will not change the font yet.
Copy the Default.png file from the font folder, and place it somewhere you will remember. like, in a folder called "font" in your pack folder or something, i dunno.
## Step 4
Open your copy of the Default.png in some kind of image editing tool, preferably with pixel art support.
The image CAN be resized to fit any size you desire, but keep the size a ratio of 23:20.
The letters have to remain 3 pixels away horizontally from the ones on the side and one pixel vertically away from the ones above and below. if you resized the image, multiply the distance by the new width divided by 184. so if the image size is 368x320, multiply the distances by two.
This image shows a reference. the green is the letter size, and the black is the distance.
<img width="558" height="597" alt="image" src="https://github.com/user-attachments/assets/46bdf101-c122-4881-b693-55206a3ffa13" />
## step 5
Edit the letters!!! :3
Once your done, remember to replace the sprite in the pck once your done!
# TADA!!
The font should be different now!
<img width="351" height="315" alt="image" src="https://github.com/user-attachments/assets/7018a43d-3c3f-43fa-aae0-a8864bf97a85" />