Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Tabulation getAvailableFonts: Difference between revisions

From Catglobe Wiki
No edit summary
Tungocman (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{HelpFiles}}


[[Category:Using_CGScript_with_the_Tabulation_Module]]
=== Tabulation_getAvailableFonts ===
{{HelpFiles}}
 
===Tabulation_getAvailableFonts===


To find available fonts.
To find available fonts.
Line 11: Line 9:
Tabulation_getAvailableFonts();
Tabulation_getAvailableFonts();


===Return type===
=== Return type ===


return a list of font names.
return a list of font names.


===Examples===
=== Examples ===
 
<source lang="javascript">
<source lang="javascript">
  print(Tabulation_getAvailableFonts());
print(Tabulation_getAvailableFonts());
//result:
//result:
{Agency FB,Aharoni,Algerian,Andalus,Angsana New,AngsanaUPC,Aparajita,Arabic Typesetting,Arial,Arial Black,Arial Narrow,Arial Rounded MT Bold,Arial Unicode MS,Vladimir Script,Vrinda,Webdings,Wide Latin,Wingdings}
{Agency FB,Aharoni,Algerian,Andalus,Angsana New,AngsanaUPC,Aparajita,Arabic Typesetting,Arial,Arial Black,Arial Narrow,Arial Rounded MT Bold,Arial Unicode MS,Vladimir Script,Vrinda,Webdings,Wide Latin,Wingdings}
</source>
</source> __NOTOC__
__NOTOC__
[[Category:Using CGScript with the Tabulation Module]]

Latest revision as of 07:59, 5 June 2017


Tabulation_getAvailableFonts

To find available fonts.

Syntax

Tabulation_getAvailableFonts();

Return type

return a list of font names.

Examples

print(Tabulation_getAvailableFonts());
//result:
{Agency FB,Aharoni,Algerian,Andalus,Angsana New,AngsanaUPC,Aparajita,Arabic Typesetting,Arial,Arial Black,Arial Narrow,Arial Rounded MT Bold,Arial Unicode MS,Vladimir Script,Vrinda,Webdings,Wide Latin,Wingdings}