Antialiased fonts under AROS

Report any Hollywood bugs here
Post Reply
Mazze
Posts: 69
Joined: Thu May 06, 2010 8:08 pm

Antialiased fonts under AROS

Post 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?
Mazze
Posts: 69
Joined: Thu May 06, 2010 8:08 pm

Re: Antialiased fonts under AROS

Post by Mazze »

Nevermind. After another cup of coffee I found out that I must call SetFontStyle after SetFont. :?
Post Reply