ResourceImporterBMFont

继承: ResourceImporter < RefCounted < Object

导入BMFont(. fnt)格式的位图字体。

描述

BMFont格式是由BMFont程序创建的格式。许多与BMFont兼容的程序也存在,如BMGlyph

ResourceImporterImageFont相比,ResourceImporterBMFont支持不同字形宽度/高度的位图字体。

另见ResourceImporterDynamicFont

属性


属性说明

bool compress = true 🔗

如果true,则对生成的字体使用无损压缩。


Array fallbacks = [] 🔗

如果在此位图字体中找不到字形,则使用的字体回退列表。首先尝试数组开头的字体。


int scaling_mode = 2 🔗

字体缩放模式。