Table of Contents

Class ResourceImporterBMFont

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

Inheritance
ResourceImporterBMFont

Remarks

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.

See Also

Properties

compress

If true, uses lossless compression for the resulting font.

var compress : bool = true

Property Value

bool

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.

var fallbacks : Array = []

Property Value

Array

scaling_mode

Font scaling mode.

var scaling_mode : int = 2

Property Value

int