The bug
ttf files loaded by the game appear to render very strangely compared to bitmap fonts.
How to reproduce
A resource pack is attached to this issue that includes four font files:
seven.ttf: the font file initially distributed with Minecraft 1.13-pre6
mojangles.ttf: the font file used by Bedrock Edition
minecraft.ttf: a seemingly unused font file which was present in Pocket Edition from v0.8.0 alpha build 2 to v0.10.4 alpha
minecraft_ten.ttf: another font file Bedrock Edition uses
To reproduce:
Download and apply this resource pack
/tellraw @p {"text": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"}
/tellraw @p {"text": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "font": "seven"}
/tellraw @p {"text": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "font": "mojangles"}
/tellraw @p {"text": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "font": "minecraft"}
Expected results
The output for all four of these commands would look roughly the same.
Actual results
They look gray and smudged.
Further notes
The font atlases produced by F3+S appear red instead of white - is this standard behaviour for ttf files? In addition, all of the characters are added to file 1_0, rather than 0_0.
Attachments
Comments 2
I noticed this issue recently.
If you’re interested in TTFs for the Minecraft font that actually render correctly in Minecraft (and elsewhere), I’ve generated a set: https://github.com/tryashtar/minecraft-ttf Just make sure to set the size
to 12 in the font provider.
Forget those pesky broken CanadaType/4J recreations 😉
Can confirm.