aboutsummaryrefslogtreecommitdiffstats
path: root/medley_new/src/base/TextGL.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 17:54:29 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 17:54:29 +0000
commitf5b0f20934afd14448235c2c0db84c670f75ff4e (patch)
tree97fbced81ca0e1322f983be5adae442bdb0bfdb8 /medley_new/src/base/TextGL.pas
parent9e07086c24a13106ed1c64e5b98a3842d0dc0a03 (diff)
downloadusdx-f5b0f20934afd14448235c2c0db84c670f75ff4e.tar.gz
usdx-f5b0f20934afd14448235c2c0db84c670f75ff4e.tar.xz
usdx-f5b0f20934afd14448235c2c0db84c670f75ff4e.zip
merged trunk into medley_new
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2677 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'medley_new/src/base/TextGL.pas')
-rw-r--r--medley_new/src/base/TextGL.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/medley_new/src/base/TextGL.pas b/medley_new/src/base/TextGL.pas
index c354a500..feca0974 100644
--- a/medley_new/src/base/TextGL.pas
+++ b/medley_new/src/base/TextGL.pas
@@ -149,7 +149,7 @@ begin
if (Outline > 0.0) then
begin
// outlined font
- OutlineFont := TFTScalableOutlineFont.Create(FontFile, 64, Outline);
+ OutlineFont := TFTScalableOutlineFont.Create(FontFile, 64, Outline, True, True);
OutlineFont.SetOutlineColor(
FontIni.ReadFloat(SectionName, 'OutlineColorR', 0.0),
FontIni.ReadFloat(SectionName, 'OutlineColorG', 0.0),
@@ -163,7 +163,7 @@ begin
begin
// normal font
Embolden := FontIni.ReadFloat(SectionName, 'Embolden', 0.0);
- Fonts[I].Font := TFTScalableFont.Create(FontFile, 64, Embolden);
+ Fonts[I].Font := TFTScalableFont.Create(FontFile, 64, Embolden, True, True);
Fonts[I].Outlined := false;
end;