Lethium

Glyph Maker

Minecraft Glyph Maker

Turn PNGs into glyphs and custom GUI textures for Nexo, ItemsAdder, Oraxen or a plain resource pack. See where they land before you load them.

Tools / Glyph Maker

Glyphs

Or drop PNG files on this box. The pictures stay on your device.

Pack settings

Glyphs in the default font work everywhere, also when a plugin only sends the plain character. A font of your own, like myserver:glyphs, cannot clash with other packs, but then the text has to name that font.

New glyphs get the next free character from the first one. A character you type yourself is kept. The 22 shift characters are never given to a glyph.

Preview our own drawing, not the game's font

Export

What to type

Negative space and shifts

Centre a title

For a menu title without a background. The text widths are an estimate for the default font; type your own width when you know it.

Import

Then add the PNGs: a picture whose file name matches a glyph's texture is attached to that glyph.

How to make a glyph or a custom GUI texture

  1. Add one or more PNG pictures. Each becomes a glyph with its own private use character, starting at U+E000.
  2. Give each glyph an id and set ascent and height. The buttons Like a letter, Emoji and Menu background fill in common values.
  3. Check the preview in chat, the scoreboard, the tab list, the action bar, a title, an item tooltip and a chest menu. The notes under each glyph warn about sizes the game refuses.
  4. For a menu, pick the rows, download the template PNG, paint your menu on it and add it back. Set this glyph up as the menu background sets ascent, height and the shift for you.
  5. Pick Nexo, ItemsAdder, Oraxen or a vanilla resource pack and download the zip. It holds the config and the textures in the right folders. What to type lists the text to put in your configs.

How ascent and height work

A glyph is a picture the game draws in place of a character. The game uses the bitmap font provider for it:

{ "type": "bitmap", "file": "myserver:font/shop.png",
  "ascent": 13, "height": 222, "chars": [""] }

height is the size the picture is drawn at, in pixels of the game's GUI. A 72 px emoji with height 9 is shrunk to 9 px; the width shrinks by the same factor. ascent is how far the top of the picture sits above the baseline of the text. The normal letters of the default font have height 8 and ascent 7: 7 px above the baseline and 1 px below it.

The baseline is 7 px below the top of a text line, so the top of a glyph is at line top + 7 − ascent and its bottom height px lower. Ascent 7 lines a glyph up with the letters, a higher ascent lifts it, and a negative ascent drops it below the line. Ascent may never be more than the height; to lift a picture further, add empty rows to its top.

The next character starts after the glyph's advance: its width up to the last column that has a visible pixel, times the scale, plus 1 px. Transparent columns on the right do not count, which matters when you line up a menu title.

Custom GUI textures in chest menus

A custom menu background is a tall glyph in the menu title. The title starts 8 px from the left edge of the chest and its text line starts 6 px from the top. So a glyph with ascent 13 has its top on the top edge of the chest, and a shift of −8 in front of it moves it onto the left edge. A chest is 176 px wide and 114 + 18 × rows px tall; each slot is 18 px, starting 7 px from the left and 17 px from the top.

The template PNG is 256 px wide with the chest in its top-left corner, the slots marked and the rest transparent. Paint over it, keep the slots where they are, and remove the guide lines before you export. Then the title is the shift, the glyph, and if you want, a second shift and some text:

Nexo:        <shift:-8><glyph:shop><shift:-170>Shop
ItemsAdder:  &f:offset_-8::shop::offset_-170:&8Shop
Oraxen:      <shift:-8><glyph:shop><shift:-170>Shop

The menu plugin only has to show that title. DeluxeMenus reads PlaceholderAPI in menu_title, so %nexo_shop%, %img_shop% or %oraxen_shop% work there. Design the menu itself in the Minecraft GUI Maker.

Negative space font: moving text with shifts

Since 1.19 the game has a space font provider: a character that draws nothing and moves the next one by a set number of pixels, also backwards. Nexo and Oraxen write it as <shift:-8>, ItemsAdder as :offset_-8:. For a vanilla pack, the tool adds 22 characters that move by 1, 2, 4 and so on up to 1024 pixels, both ways, and picks the ones that add up to your number, so any shift from −2047 to 2047 needs only a few characters.

Negative space does not work in text a player types into chat: the game sets those widths to 0 there. Titles, menus, scoreboards, the tab list and messages sent by plugins are fine.

Nexo glyphs, ItemsAdder font images and Oraxen glyphs

Nexo

A YAML file in plugins/Nexo/glyphs/. Each glyph has texture as namespace:path without .png, ascent, height and char, plus optional font, permission, placeholders, tabcomplete and is_emoji. The textures go in plugins/Nexo/pack/assets/<namespace>/textures/. Use it as <glyph:id>, or %nexo_id% with PlaceholderAPI.

ItemsAdder

A YAML file in plugins/ItemsAdder/contents/<namespace>/ with info: namespace and a font_images section. scale_ratio is the height, y_position the ascent and symbol the character; path points into contents/<namespace>/textures/. Use it as :id: or %img_id%. Run /iazip after adding it.

Oraxen

A YAML file in plugins/Oraxen/glyphs/. texture is relative to plugins/Oraxen/pack/textures/; permission, placeholders and tab completion sit under chat: and the font under appearance:. Use it as <glyph:id> or %oraxen_id%.

Vanilla resource pack

A zip with pack.mcmeta, the font file (assets/minecraft/font/default.json or your own font) and the textures. Pick the versions it is for: from 1.21.9 on, pack.mcmeta uses min_format and max_format, and a pack that also covers older versions keeps pack_format and supported_formats. Fonts with the same name in several packs are merged, so this pack can sit next to others.

Each format accepts the character written as "" in double quotes. Plugins that only show plain text can use that escape or the character itself, as long as the glyph is in the default font. To make tab list, nametags and scoreboards from the same glyphs, use the TAB scoreboard generator.

Questions

Why is my GUI texture dark or grey in the menu?

Menu titles are dark grey by default, and the title colour tints the glyph. Put white in front of it: &f for ItemsAdder and legacy colour codes, <white> in MiniMessage. The Nexo and Oraxen glyph tags are white on their own unless you make them colorable.

Why is the ascent not allowed to be higher than the height?

The game refuses a bitmap glyph whose ascent is above its height, so the glyph shows as a white square or not at all. To place a picture higher, add empty rows to the top of the PNG and raise the height by the same amount.

How big can a glyph be?

One glyph may be 256 x 256 pixels at most. For a bigger picture, cut it into two glyphs and put them next to each other with a shift between them.

Why does negative space not work when I type it in chat?

The game sets negative widths to 0 for text typed into chat. Shifts work in menu titles, scoreboards, the tab list, titles, item names and messages that plugins send.

Are my pictures uploaded?

No. The PNGs are read and packed in your browser and never leave your device. They are kept in this browser so the page still has them after a reload.

Which characters should my glyphs use?

Use the private use area, U+E000 to U+F8FF, which no normal text uses. If another plugin already uses some of these characters, set a different first character so the two never meet.