- SetFont /LANG=

- ^Font and ^FontSize


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3624 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-08-13 21:32:05 +00:00
parent 46d41fb79c
commit bb61a0b0b2
2 changed files with 10 additions and 1 deletions

View file

@ -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 \\<b\\>hide\\</b\\>|show|nevershow

View file

@ -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