Odd glitch with font rendering?

BlitzMax Forums/BlitzMax Programming/Odd glitch with font rendering?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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:
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.