Robert, I have a problem with displaying fonts too, but the problem is slightly different. When running a slightly modified version of your original code:
When I run this on my main PC (ATI radeon 9600 graphics card) everything is fine. When I run it on my laptop (integrated 64meg VIA/S3G Unichrome IGP) I find that, for all three fonts, the characters I, i and l (lower case L) are displayed corrupted; they are displayed at half the height they should be. All the other characters are displayed correctly.
I also find this behaviour happening when I am running Filax's IGlass gui.
Mark - if you would like a screen dump showing this problem let me know and I will email it to you.
Regards,
Darryl.
Graphics 800,600,0 SetBlend ALPHABLEND Local displayText:TImageFont=LoadImageFont("C:\Windows\Fonts\ariblk.ttf",16,SMOOTHFONT) Local displayText2:TImageFont=LoadImageFont("c:\windows\Fonts\times.ttf", 16, SMOOTHFONT) Local displayText3:TImageFont=LoadImageFont("c:\windows\Fonts\tahoma.ttf", 16, SMOOTHFONT) Repeat SetImageFont displayText DrawText "ARIBLK.TTF - ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 10, 10 SetImageFont displayText2 DrawText "TIMES.TTF - ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 10, 50 SetImageFont displayText3 DrawText "TAHOMA.TTF - ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 10, 100 Flip Cls Until KeyHit(KEY_ESCAPE)
When I run this on my main PC (ATI radeon 9600 graphics card) everything is fine. When I run it on my laptop (integrated 64meg VIA/S3G Unichrome IGP) I find that, for all three fonts, the characters I, i and l (lower case L) are displayed corrupted; they are displayed at half the height they should be. All the other characters are displayed correctly.
I also find this behaviour happening when I am running Filax's IGlass gui.
Mark - if you would like a screen dump showing this problem let me know and I will email it to you.
Regards,
Darryl.