Difference between revisions of "Rasterizer:hasGlyphs"

(Created page with "{{newin|0.7.0|070|type=function}} TODO == See Also == * parent::Rasterizer * GlyphData Category:Functions {{#set:Description=TODO}} == Other Languages == {{i...")
 
m (Some raw info about it (from love source code) because it seems not to be documented)
 
Line 1: Line 1:
 
{{newin|[[0.7.0]]|070|type=function}}
 
{{newin|[[0.7.0]]|070|type=function}}
TODO
+
Checks if font contains specified glyphs.
 
+
== Function ==
 +
=== Synopsis ===
 +
<source lang="lua">
 +
hasGlyphs = Rasterizer:hasGlyphs( glyph1, glyph2, ... )
 +
</source>
 +
=== Arguments ===
 +
{{param|string or number|glyph1|Glyph}}
 +
{{param|string or number|glyph2|Glyph}}
 +
{{param|string or number|...|Additional glyphs}}
 +
=== Returns ===
 +
{{param|boolean|hasGlyphs|Whatever font contains specified glyphs.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Rasterizer]]
 
* [[parent::Rasterizer]]
* [[GlyphData]]
 
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=TODO}}
+
{{#set:Description=Checks if font contains specified glyphs.}}
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Rasterizer:hasGlyphs}}
 
{{i18n|Rasterizer:hasGlyphs}}

Latest revision as of 13:44, 16 April 2020

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Checks if font contains specified glyphs.

Function

Synopsis

hasGlyphs = Rasterizer:hasGlyphs( glyph1, glyph2, ... )

Arguments

string or number glyph1
Glyph
string or number glyph2
Glyph
string or number ...
Additional glyphs

Returns

boolean hasGlyphs
Whatever font contains specified glyphs.

See Also


Other Languages