aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'unicode/src/base')
-rw-r--r--unicode/src/base/TextGL.pas12
1 files changed, 1 insertions, 11 deletions
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);