aboutsummaryrefslogtreecommitdiffstats
path: root/unicode
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-05 22:30:47 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-05 22:30:47 +0000
commitf91602a117ca03e9237f041953a462716c4c43f8 (patch)
tree42762b7b66b2fec6df223779372f382944e8b738 /unicode
parent86c9269f43e5e8ed14e310fca446f236622c7c57 (diff)
downloadusdx-f91602a117ca03e9237f041953a462716c4c43f8.tar.gz
usdx-f91602a117ca03e9237f041953a462716c4c43f8.tar.xz
usdx-f91602a117ca03e9237f041953a462716c4c43f8.zip
fontsTTF.ini -> fonts.ini
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1503 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'unicode')
-rw-r--r--unicode/game/fonts/fonts.ini (renamed from unicode/game/fonts/fontsTTF.ini)0
-rw-r--r--unicode/src/base/TextGL.pas12
2 files changed, 1 insertions, 11 deletions
diff --git a/unicode/game/fonts/fontsTTF.ini b/unicode/game/fonts/fonts.ini
index a705d665..a705d665 100644
--- a/unicode/game/fonts/fontsTTF.ini
+++ b/unicode/game/fonts/fonts.ini
diff --git a/unicode/src/base/TextGL.pas b/unicode/src/base/TextGL.pas
index e3724e9c..2bc68637 100644
--- a/unicode/src/base/TextGL.pas
+++ b/unicode/src/base/TextGL.pas
@@ -88,14 +88,12 @@ end;
procedure BuildFont;
var
FontIni: TMemIniFile;
- //BitmapFont: TBitmapFont;
FontFile: string;
begin
ActFont := 0;
SetLength(Fonts, 4);
- FontIni := TMemIniFile.Create(FontPath + 'fontsTTF.ini');
- //FontIni := TMemIniFile.Create(FontPath + 'fonts.ini');
+ FontIni := TMemIniFile.Create(FontPath + 'fonts.ini');
try
@@ -105,14 +103,6 @@ begin
//Fonts[0].Font.GlyphSpacing := 1.4;
//Fonts[0].Font.Aspect := 1.2;
- {
- BitmapFont := TBitmapFont.Create(FontFile, 0, 19, 35, -10);
- BitmapFont.CorrectWidths(2, 0);
- Fonts[0].Font := TScalableFont.Create(BitmapFont, false);
- }
-
- //Fonts[0].Font.Aspect := 0.9;
-
// Bold
FontFile := FindFontFile(FontIni, 'Bold');
Fonts[1].Font := TFTScalableFont.Create(FontFile, 64);