Browse Source

More updates for change. Todo: update whatsnew.

Martijn Laan 4 tháng trước cách đây
mục cha
commit
b21d8600ed
2 tập tin đã thay đổi với 20 bổ sung5 xóa
  1. 3 1
      Files/Default.isl
  2. 17 4
      ISHelp/isetup.xml

+ 3 - 1
Files/Default.isl

@@ -19,7 +19,9 @@ LanguageCodePage=0
 ; If the language you are translating to requires special font faces or
 ; sizes, uncomment any of the following entries and change them accordingly.
 ;DialogFontName=
-;DialogFontSize=8
+;DialogFontSize=9
+;DialogFontScaleFromWidth=7
+;DialogFontScaleFromHeight=15
 ;WelcomeFontName=Verdana
 ;WelcomeFontSize=12
 ;TitleFontName=Arial

+ 17 - 4
ISHelp/isetup.xml

@@ -2363,6 +2363,8 @@ Name: "{group}\{cm:UninstallProgram,My Program}"; Filename: "{uninstallexe}"
 <keyword value="LanguageCodePage" anchor="LanguageCodePage" />
 <keyword value="DialogFontName" anchor="DialogFontName" />
 <keyword value="DialogFontSize" anchor="DialogFontSize" />
+<keyword value="DialogFontScaleFromWidth" anchor="DialogFontScaleFromWidth" />
+<keyword value="DialogFontScaleFromHeight" anchor="DialogFontScaleFromHeight" />
 <keyword value="WelcomeFontName" anchor="WelcomeFontName" />
 <keyword value="WelcomeFontSize" anchor="WelcomeFontSize" />
 <keyword value="TitleFontName" anchor="TitleFontName" />
@@ -2384,7 +2386,9 @@ LanguageName=English
 LanguageID=$0409
 LanguageCodePage=0
 DialogFontName=
-DialogFontSize=8
+DialogFontSize=9
+DialogFontScaleFromWidth=7
+DialogFontScaleFromHeight=15
 WelcomeFontName=Verdana
 WelcomeFontSize=12
 TitleFontName=Arial
@@ -2403,7 +2407,16 @@ If no code page currently exists for the language, set <tt>LanguageCodePage</tt>
 If the language only uses ASCII characters (like English), set <tt>LanguageCodePage</tt> to zero as well.<br/>
 If <tt>LanguageCodePage</tt> is set to zero but non-Unicode text is used in one of the language's files, the system code page will be used to convert the text in the file to Unicode.</p>
 
-<p><b><a name="DialogFontName">DialogFontName</a></b> and <b><a name="DialogFontSize">DialogFontSize</a></b> specify the font name and point size to use in dialogs. If no <tt>DialogFontName</tt> setting is present, then the value of the <link topic="setup_defaultdialogfontname">DefaultDialogFontName</link> [Setup] section directive is used for the font name. If the specified font name does not exist on the user's system or is an empty string, 8-point <i>Microsoft Sans Serif</i> or <i>MS Sans Serif</i> will be substituted.</p>
+<p><b><a name="DialogFontName">DialogFontName</a></b>, <b><a name="DialogFontSize">DialogFontSize</a></b>, <b><a name="DialogFontScaleFromWidth">DialogFontScaleFromWidth</a></b>, and , <b><a name="DialogFontScaleFromHeight">DialogFontScaleFromHeight</a></b> specify the font name and point size to use in dialogs. If no <tt>DialogFontName</tt> setting is present, then the value of the <link topic="setup_defaultdialogfontname">DefaultDialogFontName</link> [Setup] section directive is used for the font name. If the specified font name does not exist on the user's system or is an empty string, 8-point <i>Microsoft Sans Serif</i> or <i>MS Sans Serif</i> will be substituted.</p>
+
+<p>Before Inno Setup 6.7, the default font was 8-point <i>Tahoma</i> instead of 9-point <i>Segoe UI</i>. To use this font again without changes in scaling, use:</p>
+
+<precode>
+DialogFontName=Tahoma
+DialogFontSize=8
+DialogFontScaleFromHeight=13
+DialogFontScaleFromWidth=6
+</precode>
 
 <p><b><a name="WelcomeFontName">WelcomeFontName</a></b> and <b><a name="WelcomeFontSize">WelcomeFontSize</a></b> specify the font name and point size to use at the top of the <i>Welcome</i> and <i>Setup Completed</i> wizard pages. If the specified font name does not exist on the user's system or is an empty string, 12-point <i>Microsoft Sans Serif</i> or <i>MS Sans Serif</i> will be substituted.</p>
 
@@ -5817,10 +5830,10 @@ Otherwise, it defaults to <tt>#e8f3f9</tt> (light grayish blue).</p>
 </setuptopic>
 
 <setuptopic directive="DefaultDialogFontName">
-<setupdefault><tt>Tahoma</tt></setupdefault>
+<setupdefault><tt>Segoe UI</tt></setupdefault>
 <body>
 <p>Specifies the name of the font that should be used in dialogs on languages that do not set <tt>DialogFontName</tt> in their <link topic="langoptionssection">[LangOptions] section</link>.</p>
-<p>If the specified font name does not exist on the user's system or is an empty string, 8-point Microsoft Sans Serif or MS Sans Serif will be substituted.</p>
+<p>If the specified font name does not exist on the user's system or is an empty string, 8-point <i>Microsoft Sans Serif</i> or <i>MS Sans Serif</i> will be substituted.</p>
 </body>
 </setuptopic>