Skip to content
0.2.0-dev Download ZIP
25 lines ·1.4 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="ResourceImporterBMFont" inherits="ResourceImporter" api_type="editor" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Imports a bitmap font in the BMFont ([code].fnt[/code]) format.
5 </brief_description>
6 <description>
7 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].
8 Compared to [ResourceImporterImageFont], [ResourceImporterBMFont] supports bitmap fonts with varying glyph widths/heights.
9 See also [ResourceImporterDynamicFont].
10 </description>
11 <tutorials>
12 <link title="Bitmap fonts - Using fonts">$DOCS_URL/tutorials/ui/gui_using_fonts.html#bitmap-fonts</link>
13 </tutorials>
14 <members>
15 <member name="compress" type="bool" setter="" getter="" default="true">
16 If [code]true[/code], uses lossless compression for the resulting font.
17 </member>
18 <member name="fallbacks" type="Array" setter="" getter="" default="[]">
19 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.
20 </member>
21 <member name="scaling_mode" type="int" setter="" getter="" default="2">
22 Font scaling mode.
23 </member>
24 </members>
25</class>