Assets.font_settings


Settings for a font asset, paired with the actual font data as a .json file.


Methods



Fields


Assets.font_settings.autoScale: boolean?

Whether to scale the default-sized font to fit requested sizes. This is true by default for image and BMFont fonts.


Assets.font_settings.defaultSize: number?

The default size of the font.


Assets.font_settings.fallbacks: Assets.font_settings.fallbacks[]?

Fallback fonts to use in case there are missing glyphs.


Assets.font_settings.glyphs: string?

(Image fonts only) Characters in the font, in order from left to right.


Assets.font_settings.hinting: (love.HintingMode)?

(TrueType fonts only) The hinting mode to load the font with.



Undocumented