Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-133190

The game doesn't properly load fonts using texture files with a two color palette

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 2, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4 Pre-Release 7, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w38a, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 24w13a
    • Confirmed
    • Resource Packs

      1.13-pre7+8:
      When using custom font texture files with a two color palette (like in the vanilla files), the game simply doesn't load them. The regular in-game font is displayed as the narrow unicode font instead, the SGA font only shows empty boxes.

      1.13-pre9:
      As of this pre-release, the game only displays empty white boxes for the regular ingame font too, see the screenshot below (both palette indices set to white), or white font inside black boxes (index 0 = black, index 1 = white, same as the vanilla font files!).

       

      Using transparent png's with white font instead works fine in resource packs though. We need some clarification if resource packs are supposed to support the vanilla two color textures too (which would make this a bug) or if they need to use transparent background for some reason (which would make this ticket WAI). One benefit of texture files with a two color palette is an over 60% reduction in file size, which is especially useful for resource packs containing very high res fonts (I've seen people cranking the resolution up to 4096x4096).

       

      NOTE:
      The game also had an additional crash bug (null pointer exception) with the SGA font in 1.13-pre7. It  was reproducible by dropping a 2-color ascii_sga.png into a resource pack, starting the game and putting an item into the enchantment table GUI. The game would immediately crash this way.

            Unassigned Unassigned
            _zombiehunter _zombiehunter
            Votes:
            12 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: