diff --git a/Docs/src/attributes.but b/Docs/src/attributes.but index 9a764ef7..375ee129 100644 --- a/Docs/src/attributes.but +++ b/Docs/src/attributes.but @@ -243,10 +243,17 @@ Specifies the output file that the MakeNSIS should write the installer to. This \S2{asetfont} SetFont -\c font_face_name font_size +\c [/LANG=lang_id] font_face_name font_size Sets the installer font. Please remember that the font you choose must be present on the user's machine as well. Don't use rare fonts that only you have. +Use the /LANG switch if you wish to set a different font for each language. For example: + +\c SetFont /LANG=${LANG_ENGLISH} "English Font" 9 +\c SetFont /LANG=${LANG_FRENCH} "French Font" 10 + +There are two \R{langstring}{LangString}s named ^Font and ^FontSize which contain the font and font size for every language. + \S2{ashowinstdetails} ShowInstDetails \c \\hide\\|show|nevershow diff --git a/Docs/src/ui.but b/Docs/src/ui.but index ccbc1478..4da8704f 100644 --- a/Docs/src/ui.but +++ b/Docs/src/ui.but @@ -12,6 +12,8 @@ Recent Windows versions restrict the setting of foreground windows. If the user Creates a font and puts its handle into user_var. For more information about the different parameters have a look at \W{http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_8fp0.asp}{MSDN's page about the Win32 API function CreateFont()}. +You can get the current font used by NSIS using the ^Font and ^FontSize \R{langstring}{LangString}s. + \S2{detailprint} DetailPrint \c user_message