I have trouble to get mask, since the text seen to look awful when using maskblend and have to much alpha with alphablend, when using the lowest resoulutions.
It is any way I can disable antialasing when loading a font, so it can looke fine in 320x240 resolutions (but of course enable it on all other resoulutions)?
I guess antialasing is the whole problem for that in the loading sequence.
Either the style tag seen not have a effect in any way. Regaardsles what I wrote here, the font look very the same.
here is some test code I used:
NB. I'm creating a application, wich should look good on a old arcade monitor as well, wich dosent have any high resoulution.
It is any way I can disable antialasing when loading a font, so it can looke fine in 320x240 resolutions (but of course enable it on all other resoulutions)?
I guess antialasing is the whole problem for that in the loading sequence.
Either the style tag seen not have a effect in any way. Regaardsles what I wrote here, the font look very the same.
here is some test code I used:
Graphics 320, 240, 32 Font:TImageFont=LoadImageFont("C:\Windows\Fonts\tahoma.ttf", 12, 0) SetAlpha 1.0 SetImageFont Font Repeat SetClsColor 0, 0, 0 Cls() SetColor 255,255,255 SetBlend(MASKBLEND) DrawText "abcdefghijklmnopqrstuvwxyzæøå", 40, 20 DrawText "ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ", 40, 40 SetBlend(ALPHABLEND) DrawText "abcdefghijklmnopqrstuvwxyzæøå", 40, 60 DrawText "ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ", 40, 80 SetBlend(LIGHTBLEND) DrawText "abcdefghijklmnopqrstuvwxyzæøå", 40, 100 DrawText "ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ", 40, 120 Flip 1 Until KeyDown(KEY_ESCAPE)=1
NB. I'm creating a application, wich should look good on a old arcade monitor as well, wich dosent have any high resoulution.
