diff options
-rw-r--r-- | unicode/game/fonts/fonts.ini (renamed from unicode/game/fonts/fontsTTF.ini) | 0 | ||||
-rw-r--r-- | unicode/src/base/TextGL.pas | 12 |
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); |