Modding Font
Currently, the font in PMDO cannot be modded. However, it can still be imported to the base game as a part of Mass Import.
Data
Letters of the font, or glyphs, are stored as individual files, named after the hexadecimal code point of the glyph in Unicode. They are full textures, with the PMD font containing the drop down shadow.
The font in the banner subfolder contains the dungeon font. It supports the western latin alphabet, Japanese, Chinese, and Korean. It does not have Cyrillic letters.
The font in the text subfolder contains the main PMD font. It supports the western latin alphabet, Japanese, Chinese, and Korean. It does not have Cyrillic letters. The Unicode block for the Private Use Area is used for special characters.
The PMD Font is rendered in-game from the top-left corner. Every letter rendered to the screen advances the caret by exactly the letter's width in pixels. Further spacing is specified in the FontData.xml:
- SpaceWidth: The number of pixels to advance the caret with a whitespace character.
- CharHeight: The max height of the font, used for newlines.
- CharSpace: The number of pixels to advance the caret after rendering a non-whitespace character.
- LineSpace: The amount of space between lines in pixels, used for newlines.
Additionally, FontData.xml specifies a list of Colorless glyphs that will not change color in-game even if commanded to. This is mostly special characters that contain an icon image.
Reference
The existing textures used to import the PMD font is found in the RawAsset repository.