Page 1 of 1

Combomode 1 and antialiased fonts on OS4

Posted: Wed Jun 10, 2020 6:12 pm
by jPV
I noticed this anomaly on OS4... if you try to draw antialiased text to layers with #SELMODE_COMBO and combomode 1, they lose their color. This seems to happen only on OS4 (I have plain OS4.1FE under UAE), but doesn't happen on OS3, MorphOS, or AROS. Combomodes 0 and 2 do work fine and also if you disable antialiasing.

This draws black text on OS4, but red on other platforms I've tried:

Code: Select all

@DISPLAY {Color=#GRAY}
EnableLayers()
CreateLayer(10, 10, 200, 100, {AlphaChannel=True, Clear=True})
SelectLayer(1, #SELMODE_COMBO, Nil, 1) ; setting combo mode to 0 or 2 works
SetFont(#SANS, 18)
SetFontColor(#RED)
SetFontStyle(#ANTIALIAS) ; disabling this works too
Print("Boooooo")
EndSelect
WaitLeftMouse()

Re: Combomode 1 and antialiased fonts on OS4

Posted: Sat Jun 13, 2020 5:34 pm
by airsoftsoftwair
Works fine here on my OS4 on Pegasos2. Maybe an issue related to the gfx driver for OS4 on Classic hardware. Does using USEWPA make a difference?