HD Fonts¶
The default font texture snippet.¶
File location
/assets/minecraft/optifine/font/**/*.{png,properties}
Danger
This feature is obsolete. Do not use it. Minecraft's font system has fixed the issues HD Fonts was created to resolve.
Characters outside the ASCII range are not supported.
HD Fonts can define custom widths for ASCII characters.
OptiFine first looks for fonts in the /assets/minecraft/optifine/font folder.
This allows having a custom font that works in vanilla and a higher-resolution font that requires OptiFine to display properly.
To allow for more control over the widths of individual characters, OptiFine offers a way to specify them manually. Create a properties file corresponding to the font you want to customize.
Properties¶
- width.<ASCII>¶
The width of the ASCII character.
- blend¶
Whether to use alpha blending.
- offsetBold¶
Horizontal offset by which to render the bold copy of a glyph.
Assumes the latest OptiFine & Minecraft versions.
Updated to commit 83d482c3.
Open source at https://gitlab.com/whoatemybutter/optifinedocs.