2021-05-13 22:34:34 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-12 17:30:34 +02:00
<class name= "ResourceImporterBMFont" inherits= "ResourceImporter" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2021-05-13 22:34:34 +02:00
<brief_description >
2023-07-13 02:25:33 +02:00
Imports a bitmap font in the BMFont ([code].fnt[/code]) format.
2021-05-13 22:34:34 +02:00
</brief_description>
<description >
2023-07-13 02:25:33 +02:00
The BMFont format is a format created by the [url=https://www.angelcode.com/products/bmfont/]BMFont[/url] program. Many BMFont-compatible programs also exist, like [url=https://www.bmglyph.com/]BMGlyph[/url].
Compared to [ResourceImporterImageFont], [ResourceImporterBMFont] supports bitmap fonts with varying glyph widths/heights.
See also [ResourceImporterDynamicFont].
2021-05-13 22:34:34 +02:00
</description>
<tutorials >
2023-07-13 02:25:33 +02:00
<link title= "Bitmap fonts - Using fonts" > $DOCS_URL/tutorials/ui/gui_using_fonts.html#bitmap-fonts</link>
2021-05-13 22:34:34 +02:00
</tutorials>
<members >
<member name= "compress" type= "bool" setter= "" getter= "" default= "true" >
2023-07-13 02:25:33 +02:00
If [code]true[/code], uses lossless compression for the resulting font.
2021-05-13 22:34:34 +02:00
</member>
<member name= "fallbacks" type= "Array" setter= "" getter= "" default= "[]" >
2023-07-13 02:25:33 +02:00
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.
2021-05-13 22:34:34 +02:00
</member>
</members>
</class>