From f91602a117ca03e9237f041953a462716c4c43f8 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 5 Nov 2008 22:30:47 +0000 Subject: fontsTTF.ini -> fonts.ini git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1503 b956fd51-792f-4845-bead-9b4dfca2ff2c --- unicode/src/base/TextGL.pas | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'unicode/src/base/TextGL.pas') 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); -- cgit v1.2.3