Difference between revisions of "Tabulation getAvailableFonts"
(Tag: visualeditor-switched) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{HelpFiles}} | ||
− | + | === Tabulation_getAvailableFonts === | |
− | |||
− | |||
− | ===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()); | |
//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__ |
− | + | [[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}