mojira.dev
MCPE-17913

Wrong calculation of letter width in custom fonts (resourcepack)

I'm trying to make resource pack with custom font.

And I find that characters' width calculated wrong when glyph image contain transparent background.

When you use glyph image with colored (black) background all characters' widths detected accurately.

Here is resourcepack, that you can use for tests: https://goo.gl/iB8hoC

Linked issues

Attachments

Comments 8

Same while using HD fonts.

Similar to MCPE-17686 (affecting 1.0.3.0).

I think this issue could be closed.

We just need to use black as base for alpha channel.

I already create resource that works fine: https://minecraft.curseforge.com/projects/minecraft-font

@unknown: You mean the background of glyphs can be transparent (A = 0) but it needs to be black (RGB = 0, 0, 0) as well?
If so that's still a bug.

Yes, you understood me right. I hope this bug will be fixed sometime 🙂

Resolving as a duplicate of MCPE-17686.

fromgate

(Unassigned)

41476

Community Consensus

Windows

add-on, font, resource-pack

0.16.0, 1.0.3

Retrieved