diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-11-05 22:30:47 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-11-05 22:30:47 +0000 |
commit | f91602a117ca03e9237f041953a462716c4c43f8 (patch) | |
tree | 42762b7b66b2fec6df223779372f382944e8b738 /unicode/src/base | |
parent | 86c9269f43e5e8ed14e310fca446f236622c7c57 (diff) | |
download | usdx-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 '')
-rw-r--r-- | unicode/src/base/TextGL.pas | 12 |
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); |