Alexander
- DreenDex
- dreendex
- Europe/Moscow
- Yes
- No
Added Attachments:
Removed Attachments:
Changed Description:
TTF glyphs have unwanted "outline" effect.
This issue closely relates to
MC-207500.
How to replicate:
**Install resource pack "ttf resoucepack.zip" from attachments and select it.- See any white font on very contrast background.
Dummy command used to make screenshot:
/title @s title "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Changed Description:
TTF glyphs have unwanted "outline" effect.
This issue closely relates to
MC-207500.
How to replicate:
- Install resource pack "ttf resoucepack.zip" from attachments and select it.
- See any
whitefont on very contrast background.
Dummy command used to make screenshot:
/title @s title "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Added Attachments:
Added Labels: resource-pack
Added Affects Versions: 1.17-pre5
Changed Description:
TTF glyphs have unwanted "outline" effect.
This issue closely relates to
MC-207500.
How to replicate:
- Install resource pack "ttf resoucepack.zip" from attachments and select it.
- See any font on very contrast background. (ex. White Text + Snow + /time set day)
Dummy command used to make screenshot:
/title @s title "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Added Affects Versions: 1.17.1-pre1 1.17
Added Attachments:
Removed Attachments:
Removed Attachments:
Added Affects Versions: 1.17.1-rc1




Can recreate, lol
Just did it. Between two Honey blocks in pillar. You just need to stand at the right height.
Can't recreate in 19w42a.
The only blocks you can't destroy in creative mode are all types of Air, Water, Lava.
Also all types of Command Blocks and Structure Blocks but only if you're not opped or singleplayer cheats are disabled.
I'am not sure that this is a bug.
Still a thing in 19w45a.
@sac1 You are all about another bug, MC-161933. Your attached screenshot is not for this issue either. Also my game is not crashing on 1.16.5 when loading the pack.
@violine1101
In short term, MC-161933 is how glyphs with transparent pixels blend with sign model. Transparent pixels near edges of TTF glyphs of some fonts, which created by anti-aliasing, or custom transparent symbols are both rendered in same render pass with sign, so that transparent font pixels replace existing sign pixels, so you can see through signs whats behind them. (Also applies to sac1's screenshot)
This issue however, isn't about how font transparency is handled at runtime. This issue is about Minecraft TTF font's resource reload stage, where it pre-renders all needed glyphs to a texture (where glyphs are rasterized and anti-aliased).
For text coloring reasons, font glyphs are usually rendered in white color, which minecraft does. But what also minecraft does is rasterizing those glyphs on black background (glyph dump attached). This way, the more transparent pixel is, the more black it is. This is a bug and transparent pixels should have not only transparency mask, but also should be rendered on transparent background.
Also, Regular OpenGL's blend functions aren't enough to remove this background the right way. This is why issue name says "anti-aliased", not "rendered".
So I fixed it using a mod. Turns out, signs are not affected by this bug at all. I am removing all attachments with signs which I can remove.
To fix this, in Mojang's mappings, I upgraded com/mojang/blaze3d/font/TrueTypeGlyphProvider$Glyph#upload from 1-channel image (NativeImage$Format#LUMINANCE) to 4-channel image (NativeImage$Format#RGBA). I moved the luminance channel to alpha channel and set all RGB values to 255 so the whole glyph's image is white. Also I changed TrueTypeGlyphProvider$Glyph#isColored to return true. I know there is a better way to fix it, but this works for me for now.
Sadly, it works even in a single-player creative mode. This is what is possible in a
world within just 7 hours of afk:
Affects 1.19.4 and 23w17a