Extensions

mcfonts contains some specific extensions and features that are only recognized and available through mcfonts. Not all of these are backwards-compatible with Vanilla Minecraft.

Rangestrings in "spaces" provider

mcfonts allows the usage of uniranges in the keys of an "advances" dictionary in a Space provider.

{
    "type": "space",
    "advances": {
        "U+2000..U+200F": 3,
        "\u00ad": 0
    }
}

This does not affect how Minecraft sees the provider; if you want a conforming "spaces" provider, you will need to either:

  1. Import the font and then save it; this will resolve the unirange to individual characters.

  2. Provide keys for every specified space before the unirange; the unirange will override any previous fields.

Warning

Minecraft will warn about the usage of these, but it won't prevent the font from loading. Ignore them in your log.

Comments

mcfonts accepts an optional "comment" field in all providers. It must be a string. These comments are stored with the provider itself and will be saved when re-writing an imported font.


Last update: 2023 November 30