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.
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
Category: