Much easier and straighforward would be if we could do this:
Code:
Gui, Add, Text, s14 fTrebuchetMS cRed, Large font
Gui, Add, Text, s7 tBold fTahoma cBlue, Smaller font
If many such isolated font changes have to be done throught the script without possibility to batch them together (different GUI #, different groups/sections), the number of code lines would diminish, as currently we have to add a
Gui, Font after each change to restore to
default (see below).
Moreover, such syntax would/should allow overriding a whole section of user-defined font settings, only for the current control:
Code:
Gui, Font, s16 Verdana
Gui, Add, Text, ...
Gui, Add, ...
Gui, Add, Text, s7 tBold fTahoma cBlue, Font-overridden control
Gui, Add, Text, ... ; would keep the s16 Verdana settings at the top
Gui, Add, ...
Gui, Font ; would restore font settings to default
...