Skip to content

Hiero writes BMFont file padding with incorrect order #4295

@bryanwagner

Description

@bryanwagner

Issue details

Hiero writes the padding array in the incorrect order, according to the BMFont file specification. Both the file tags and binary versions specify the ordering as: up, right, down, left.

Hiero is writing out the padding ordering as: up, left, down, right.

I believe this is an error, but please let me know if it was intentional for any reason (I'm patching my local build; will submit a PR).

Reproduction steps/code

Run Hiero, File > Save BMFont files (text)... and open the BMFont file.

Version of LibGDX and/or relevant dependencies

1.9.4

Stacktrace

Please select the affected platforms

  • Android
  • iOS (robovm)
  • iOS (MOE)
  • HTML/GWT
  • Windows
  • Linux
  • MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions