[MCPE-17913] Wrong calculation of letter width in custom fonts (resourcepack) Created: 02/Nov/16  Updated: 26/Apr/17  Resolved: 26/Apr/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.16.0, 1.0.3
Fix Version/s: None

Type: Bug
Reporter: fromgate
Resolution: Duplicate Votes: 13
Labels: add-on, font, resource-pack

Attachments: PNG File compare-fonts.png     PNG File glyph_04_black_background.png     PNG File glyph_04_empty_background.png    
Issue Links:
Duplicate
duplicates MCPE-17686 [Fixed] Spacing Issues When Adding Cu... Resolved
Confirmation Status: Community Consensus
Platform: Windows
CHK:
ADO: 41476

 Description   

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



 Comments   
Comment by Zeb [ 26/Apr/17 ]

Resolving as a duplicate of MCPE-17686.

Comment by Zeb [ 26/Apr/17 ]

Fixed as of 1.1.0.8.

Comment by fromgate [ 15/Feb/17 ]

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

Comment by PHO [ 15/Feb/17 ]

fromgate: 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.

Comment by fromgate [ 15/Feb/17 ]

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

Comment by [MCPE Helper] Aspergerian [ 10/Feb/17 ]

Now affects 1.0.3.

Comment by [MCPE Helper] Aspergerian [ 10/Jan/17 ]

Similar to MCPE-17686 (affecting 1.0.3.0).

Comment by Samuel Lembas [ 02/Nov/16 ]

Same while using HD fonts.

Generated at Sat Jan 11 15:17:18 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.