Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-17913

Wrong calculation of letter width in custom fonts (resourcepack)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • None
    • 0.16.0, 1.0.3
    • Community Consensus
    • Windows
    • 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

      Attachments

        1. compare-fonts.png
          101 kB
          fromgate
        2. glyph_04_black_background.png
          22 kB
          fromgate
        3. glyph_04_empty_background.png
          22 kB
          fromgate

        Issue Links

          Activity

            People

              fromgate fromgate
              Votes:
              13 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: