2021-05-13 20:34:34 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-12 15:30:34 +00:00
<class name= "ResourceImporterBMFont" inherits= "ResourceImporter" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2021-05-13 20:34:34 +00:00
<brief_description >
2023-07-13 00:25:33 +00:00
Imports a bitmap font in the BMFont ([code].fnt[/code]) format.
2021-05-13 20:34:34 +00:00
</brief_description>
<description >
2023-07-13 00:25:33 +00: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 20:34:34 +00:00
</description>
<tutorials >
2023-07-13 00:25:33 +00:00
<link title= "Bitmap fonts - Using fonts" > $DOCS_URL/tutorials/ui/gui_using_fonts.html#bitmap-fonts</link>
2021-05-13 20:34:34 +00:00
</tutorials>
<members >
<member name= "compress" type= "bool" setter= "" getter= "" default= "true" >
2023-07-13 00:25:33 +00:00
If [code]true[/code], uses lossless compression for the resulting font.
2021-05-13 20:34:34 +00:00
</member>
<member name= "fallbacks" type= "Array" setter= "" getter= "" default= "[]" >
2023-07-13 00:25:33 +00: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 20:34:34 +00:00
</member>
2023-08-14 07:42:49 +00:00
<member name= "scaling_mode" type= "int" setter= "" getter= "" default= "2" >
Font scaling mode.
</member>
2021-05-13 20:34:34 +00:00
</members>
</class>