From c19cf1940e09538c680a65400ee0a9a4999f530b Mon Sep 17 00:00:00 2001
From: kichik
Date: Thu, 29 Aug 2002 12:41:31 +0000
Subject: [PATCH] Font stuff fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@822 212acab6-be3b-0410-9dea-997c60f758d6
---
Examples/Modern UI/ModernUI.nsh | 2 +-
Examples/Modern UI/MultiLanguage.nsi | 2 ++
Examples/Modern UI/Readme.html | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Examples/Modern UI/ModernUI.nsh b/Examples/Modern UI/ModernUI.nsh
index 8c57c77f..4c287205 100644
--- a/Examples/Modern UI/ModernUI.nsh
+++ b/Examples/Modern UI/ModernUI.nsh
@@ -79,7 +79,7 @@
StrCmp ${CURRENTPAGE} "" "" no_first_run
GetDlgItem ${TEMP1} $HWNDPARENT 1037
- CreateFont ${TEMP2} "Tahoma" 16 1000
+ CreateFont ${TEMP2} "Tahoma" 10 1000
SendMessage ${TEMP1} ${WM_SETFONT} ${TEMP2} 0
SetStaticBkColor ${TEMP1} 0x00FFFFFF
diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi
index a45d1bf2..a76b0614 100644
--- a/Examples/Modern UI/MultiLanguage.nsi
+++ b/Examples/Modern UI/MultiLanguage.nsi
@@ -81,6 +81,8 @@ SectionEnd
Function .onInit
+ Push "Tahoma"
+ Push "8"
Push "Select a language"
LangDialog "Please select a language." Nederlands 1043 English 1033 2
Pop $LANGUAGE
diff --git a/Examples/Modern UI/Readme.html b/Examples/Modern UI/Readme.html
index 8c8fc9cb..6f36c05c 100644
--- a/Examples/Modern UI/Readme.html
+++ b/Examples/Modern UI/Readme.html
@@ -120,7 +120,7 @@ table
file and recompile NSIS.
- - 1.1 - August 28th, 2002
+
- 1.1 - August 29th, 2002
- You need the latest NSIS 2 CVS version for this to work!
- Header file with macros, it's now very easy to use the UI in your scripts :)
@@ -134,6 +134,7 @@ table
- Used modern.bmp for the checks (thanks rainwater)
- Using the new NSIS version, descriptions work using the keyboard and you can give
descriptions to subsections
+
- Correct font size using High-DPI fonts
- 1.0 - August 26th, 2002