Difference between revisions of "Tabulation getAvailableFonts"

From Catglobe Wiki
Jump to: navigation, search
(Created page with " Category:Using_CGScript_with_the_Tabulation_Module {{HelpFiles}} ===Tabulation_getAvailableFonts=== To find available fonts. ===Syntax=== Tabulation_getAvailabl...")
 
(Tag: visualeditor-switched)
 
(2 intermediate revisions 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.
  
===Syntax===
+
=== Syntax ===
  
 
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 08: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}