{{newin|[[0.9.0]]|090|type=function}}
Gets whether the Font can render a character or string.
== Function ==
=== Synopsis ===
<source lang="lua">
hasglyphs = Font:hasGlyphs( text )
</source>
=== Arguments ===
{{param|string|text|A UTF-8 encoded unicode string.}}
=== Returns ===
{{param|boolean|hasglyph|Whether the font can render all the UTF-8 characters in the string.}}

== Function ==
=== Synopsis ===
<source lang="lua">
hasglyphs = Font:hasGlyphs( character1, character2, ... )
</source>
=== Arguments ===
{{param|string|character1|A unicode character.}}
{{param|string|character2|Another unicode character.}}
=== Returns ===
{{param|boolean|hasglyph|Whether the font can render all the glyphs represented by the characters.}}

== Function ==
=== Synopsis ===
<source lang="lua">
hasglyphs = Font:hasGlyphs( codepoint1, codepoint2, ... )
</source>
=== Arguments ===
{{param|number|codepoint1|A unicode codepoint number.}}
{{param|number|codepoint2|Another unicode codepoint number.}}
=== Returns ===
{{param|boolean|hasglyph|Whether the font can render all the glyphs represented by the codepoint numbers.}}
== See Also ==
* [[parent::Font]]
[[Category:Functions]]
{{#set:Description=Gets whether the Font can render a character or string.}}
== Other Languages ==
{{i18n|Font:hasGlyphs}}