Skip to content

Mac: msdf-atlas-gen is failing but doesnt give more info #2

@rotter

Description

@rotter

I would suggest that when calling the external programs such as msdf-atlas-gen, to always display the full command line so we can debug in case of failure.

Im getting repeatedly the same message and I have no idea what file is failing, or the reason for failure. If I had the full command I could try to tweak/debug it. I noticed there is a commented line that for that ( line 247: System.out.println(cmd); )

Using fontHandle: OpenSans-Regular.ttf Absolute
cmap is OpenSans-Regular.ttf.cmap.txt Absolute
Generating structured JSON font and PNG using msdf-atlas-gen...
Sizes down to 200 have been too large.
Warning: Could not infer image format from file extension, png will be used.
Failed to load specified font file.
Warning: Could not infer image format from file extension, png will be used.
Failed to load specified font file.
Warning: Could not infer image format from file extension, png will be used.
Failed to load specified font file.
Warning: Could not infer image format from file extension, png will be used.
Failed to load specified font file.
Warning: Could not infer image format from file extension, png will be used.
Failed to load specified font file.
...

Sizes go down all the way to 10 repeating this same error/warning messages, then exits the program

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions