diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-23 22:39:26 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-23 22:39:26 +0000 |
commit | 69cf82185e7f559d8858b44fa76379c771acc6b6 (patch) | |
tree | 408ec5fb96da98a352588858db9ac3184d438b07 /src/base/UThemes.pas | |
parent | eecfb075df0c92a46c73901ee3cacbf061742825 (diff) | |
download | usdx-69cf82185e7f559d8858b44fa76379c771acc6b6.tar.gz usdx-69cf82185e7f559d8858b44fa76379c771acc6b6.tar.xz usdx-69cf82185e7f559d8858b44fa76379c771acc6b6.zip |
- font fallback added
- more configurable fonts.ini
- ftNormal/ftBold/ftOutline1/2 added
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2293 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/base/UThemes.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/UThemes.pas b/src/base/UThemes.pas index fa7a6029..b385406f 100644 --- a/src/base/UThemes.pas +++ b/src/base/UThemes.pas @@ -841,6 +841,7 @@ uses UIni, UPathUtils, UFileSystem, + TextGL, gl, glext, math, @@ -1667,7 +1668,7 @@ begin ThemeText.ColG := ThemeIni.ReadFloat(Name, 'ColG', 0); ThemeText.ColB := ThemeIni.ReadFloat(Name, 'ColB', 0); - ThemeText.Font := ThemeIni.ReadInteger(Name, 'Font', 0); + ThemeText.Font := ThemeIni.ReadInteger(Name, 'Font', ftNormal); ThemeText.Size := ThemeIni.ReadInteger(Name, 'Size', 0); ThemeText.Align := ThemeIni.ReadInteger(Name, 'Align', 0); |