BIS fnc 3DENDiagFonts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_x" to "_x")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 8: Line 8:


| [[File:BIS fnc 3DENDiagFonts example.jpg|thumb|This display is opened when the function is called in Eden.]]
| [[File:BIS fnc 3DENDiagFonts example.jpg|thumb|This display is opened when the function is called in Eden.]]
Displays given font in various different sizes. The fontID is the index of the font in {{Inline code|[[configFile]] >> "CfgFontFamilies"}}.<br>
Displays given font in various different sizes. The fontID is the index of the font in {{ic|[[configFile]] >> "CfgFontFamilies"}}.<br>
Fonts for {{GVI|arma3|2.00}}:
Fonts for {{GVI|arma3|2.00}}:
<ol start{{=}}"0">
<ol start{{=}}"0">

Revision as of 18:10, 27 February 2021

Posted on November 1, 2020 - 15:36 (UTC)
7erra
Code used to generate list: _version = str(productVersion select 2); _version = format["%1.%2", _version select [0,1], _version select [1, count _version]]; _firstLine = format ["Fonts for {{GVI|arma3|%1}}:
", _version]; _s = [_firstLine, "<ol start{{=}}""0"">"]; _cfgFonts = configProperties [configfile >> "cfgfontfamilies","isclass _x"]; _cfgFonts apply { _s pushBack format["<li>%1</li>", configName _x]; }; _s pushBack "</ol>"; _s = _s joinString endl; copyToClipboard _s; _s