Font:hasGlyphs
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Gets whether the Font can render a character or string.
Contents
Function
Synopsis
hasglyphs = Font:hasGlyphs( text )
Arguments
string text
- A UTF-8 encoded unicode string.
Returns
boolean hasglyph
- Whether the font can render all the UTF-8 characters in the string.
Function
Synopsis
hasglyphs = Font:hasGlyphs( character1, character2, ... )
Arguments
Returns
boolean hasglyph
- Whether the font can render all the glyphs represented by the characters.
Function
Synopsis
hasglyphs = Font:hasGlyphs( codepoint1, codepoint2, ... )
Arguments
Returns
boolean hasglyph
- Whether the font can render all the glyphs represented by the codepoint numbers.
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