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

Eredita: ResourceImporter < RefCounted < Object

Importa un font bitmap nel formato BMFont (.fnt).

Descrizione

Il formato BMFont è un formato creato dal programma BMFont. Esistono anche molti programmi compatibili con BMFont, come BMGlyph.

Rispetto a ResourceImporterImageFont, ResourceImporterBMFont supporta font bitmap con larghezze e altezze variabili per i glifi.

Vedi anche ResourceImporterDynamicFont.

Tutorial

Proprietà

bool

compress

true

Array

fallbacks

[]

int

scaling_mode

2


Descrizioni delle proprietà

bool compress = true 🔗

Se true, utilizza la compressione senza perdite per il font risultante.


Array fallbacks = [] 🔗

Lista di font di riserva da usare se un glifo non viene trovato in questo font bitmap. I font all'inizio dell'array vengono tentati per primi.


int scaling_mode = 2 🔗

Modalità di scalatura del font.