Răsfoiți Sursa

Update default WelcomeFont to 14 pt Segoe UI.

Martijn Laan 1 lună în urmă
părinte
comite
fbaeb52bd6

+ 2 - 2
Files/Default.isl

@@ -22,8 +22,8 @@ LanguageCodePage=0
 ;DialogFontSize=9
 ;DialogFontBaseScaleWidth=7
 ;DialogFontBaseScaleHeight=15
-;WelcomeFontName=Verdana
-;WelcomeFontSize=12
+;WelcomeFontName=Segoe UI
+;WelcomeFontSize=14
 
 [Messages]
 

+ 9 - 2
ISHelp/isetup.xml

@@ -2389,8 +2389,8 @@ DialogFontName=
 DialogFontSize=9
 DialogFontBaseScaleWidth=7
 DialogFontBaseScaleHeight=15
-WelcomeFontName=Verdana
-WelcomeFontSize=12
+WelcomeFontName=Segoe UI
+WelcomeFontSize=14
 RightToLeft=no
 </precode>
 
@@ -2425,6 +2425,13 @@ DialogFontBaseScaleWidth=6
 
 <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>
 
+<p>Before Inno Setup 6.6, the default font was 12-point <i>Verdana</i> instead of 14-point <i>Segoe UI</i>. To use this font again, use:</p>
+
+<precode>
+WelcomeFontName=Verdana
+WelcomeFontSize=12
+</precode>
+
 <p><b><a name="RightToLeft">RightToLeft</a></b> specifies whether the language is written from right to left. If set to <tt>yes</tt>, text alignment and reading order will be reversed (with some intentional exceptions), and controls will be arranged from right to left ("flipped").</p>
 
 <p><br/>

+ 2 - 2
Projects/Src/Compiler.SetupCompiler.pas

@@ -6310,8 +6310,8 @@ begin
     DialogFontSize := 9;
     DialogFontBaseScaleWidth := 7;
     DialogFontBaseScaleHeight := 15;
-    WelcomeFontName := 'Verdana';
-    WelcomeFontSize := 12;
+    WelcomeFontName := 'Segoe UI';
+    WelcomeFontSize := 14;
     LicenseText := '';
     InfoBeforeText := '';
     InfoAfterText := '';

+ 4 - 2
Projects/Src/IDE.Wizard.WizardForm.pas

@@ -322,8 +322,10 @@ begin
   if not InitFormTheme(Self) then
     OuterNotebook.Color := InitFormThemeGetBkColor(True);
 
-  if FontExists('Verdana') then
-    WelcomeLabel1.Font.Name := 'Verdana';
+  if FontExists('Segoe UI') then begin
+    WelcomeLabel1.Font.Name := 'Segoe UI';
+    WelcomeLabel1.Font.Size := 14;
+  end;
 
   MakeBold(PageNameLabel);
   MakeBold(RequiredLabel1);

+ 7 - 1
whatsnew.htm

@@ -109,7 +109,7 @@ For conditions of distribution and use, see <a href="files/is/license.txt">LICEN
 <span class="head2">Other changes to the look and feel of Setup</span>
 <ul>
   <li>Setup now always uses high-quality, system-defined icons instead of custom ones on the <i>Select Destination Location</i> and <i>Preparing to Install</i> wizard pages, and on the <i>Setup Needs the Next Disk</i> form.</li>
-  <li>The default font of Setup and Uninstall has been changed from 8-point <i>Tahoma</i> to 9-point <i>Segoe UI</i> without changes in scaling, for a more modern appearance.<br/>
+  <li>The default regular font used by Setup and Uninstall has been changed from 8-point <i>Tahoma</i> to 9-point <i>Segoe UI</i> without changes in scaling, for a more modern appearance.<br/>
       To use 8-point <i>Tahoma</i> again, use:
       <pre><code class="innosetup"><span class="sec">[LangOptions]</span>
 <span class="key">DialogFontName</span>=Tahoma
@@ -122,6 +122,12 @@ If you were already using 9-point <i>Segoe UI</i>, you will notice a change in s
 <span class="key">DialogFontSize</span>=9
 <span class="key">DialogFontBaseScaleHeight</span>=13
 <span class="key">DialogFontBaseScaleWidth</span>=6</code></pre>
+  </li>
+  <li>The default large font used by Setup on the <i>Welcome</i> and <i>Setup Completed</i> wizard pages has been changed from 12-point <i>Verdana</i> to 14-point <i>Segoe UI</i>, for a more modern appearance.<br/>
+      To use 12-point <i>Verdana</i> again, use:
+      <pre><code class="innosetup"><span class="sec">[LangOptions]</span>
+<span class="key">WelcomeFontName</span>=Verdana
+<span class="key">WelcomeFontSize</span>=12</code></pre>
   </li>
   <li>Pascal Scripting:
   <ul>