Difference between revisions of "Rasterizer:hasGlyphs"
Buckle2000 (talk | contribs) (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}} | ||
− | + | 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]] | ||
− | |||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#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
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