Garry's Mod Wiki

Revision Difference

DLabel:SetFont#517579

<function name="SetFont" parent="DLabel" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the font of the label.</description> <realm>Client</realm> <args> <arg name="fontName" type="string">The name of the font.&#xA;&#xA;See [here](/gmod/Default_Fonts) for a list of existing fonts.&#xA;Alternatively, use &lt;page&gt;surface.CreateFont&lt;/page&gt; to create your own custom font.</arg> <arg name="fontName" type="string">The name of the font.&#xA;&#xA;See <page text="here">Default_Fonts</page> for a list of existing fonts.&#xA;Alternatively, use &lt;page&gt;surface.CreateFont&lt;/page&gt; to create your own custom font.</arg> </args> </function>