Page 1 of 1

Antialiased fonts under AROS

Posted: Thu Aug 15, 2013 1:03 pm
by Mazze
Hi,

this sample should show the difference between normal and antialiased fonts. Additionally I have compared both native and inbuild engine.

Code: Select all

txt = "ABCDE123"

SetFontStyle(#NORMAL)

SetFont("Vera Mono",130, {engine=#FONTENGINE_NATIVE})
TextOut(10, 0, txt)

SetFontStyle(#ANTIALIAS)

SetFont("Vera Mono",130, {engine=#FONTENGINE_NATIVE})
TextOut(10, 100, txt)

SetFontStyle(#NORMAL)

SetFont("Vera Mono",130, {engine=#FONTENGINE_INBUILT})
TextOut(10, 200, txt)

SetFontStyle(#ANTIALIAS)

SetFont("Vera Mono",130, {engine=#FONTENGINE_INBUILT})
TextOut(10, 300, txt)

WaitLeftMouse
On AROS they look all the same:
Image

Is this problem AROS-specific?

Re: Antialiased fonts under AROS

Posted: Thu Aug 15, 2013 2:36 pm
by Mazze
Nevermind. After another cup of coffee I found out that I must call SetFontStyle after SetFont. :?