Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

ResourceImporterBMFont

Inherits: ResourceImporter < RefCounted < Object

Imports a bitmap font in the BMFont (.fnt) format.

描述

The BMFont format is a format created by the BMFont program. Many BMFont-compatible programs also exist, like BMGlyph.

Compared to ResourceImporterImageFont, ResourceImporterBMFont supports bitmap fonts with varying glyph widths/heights.

See also ResourceImporterDynamicFont.

教程

属性

bool

compress

true

Array

fallbacks

[]


Property Descriptions

bool compress = true

If true, uses lossless compression for the resulting font.


Array fallbacks = []

List of font fallbacks to use if a glyph isn't found in this bitmap font. Fonts at the beginning of the array are attempted first.