Jump to content

Possible to use TTF File format for Custom Font?


tubez

Recommended Posts

Hi, im trying to make a server rules section on the left side of the inventory, only problem being is that it does not look that great with the default Minecraft font.

I have been looking all over the place for a tutorial or an API that can assist me with this, but to no luck.

I want to know if using a TTF file is possible in forge so I can probably try to develop the system my self.

 

Thank you in advance.

Link to comment
Share on other sites

  • 2 weeks later...
On 1/14/2022 at 12:23 AM, tubez said:

I want to know if using a TTF file is possible in forge so I can probably try to develop the system my self.

As diesieben07 has said, yes there is a (surprisingly) vanilla way to do it.

HOWEVER I have noticed that it doesn't look very nice and it it looks very rasterized. If you want it to look better with higher quality, you will need to do your own research on how to use LWJGL to draw ttf fonts.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.