Font:setFallbacks
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Sets other Fonts to use if this Font doesn't have a specific character. When that happens, the glyph from the first fallback Font to have the character will be used, instead of a blank box or other 'no character' symbol being used.
Function
Synopsis
Font:setFallbacks( fallbackfont1, ... )
Arguments
Returns
Nothing.
Notes
If this is called it should be before love.graphics.print, Font:getWrap, and other Font methods which use glyph positioning information are called.
Every fallback Font must have been created from the same type of file as this Font. For example, a Font created from a .ttf file can only use fallback Fonts that were also created from .ttf files.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info