Combomode 1 and antialiased fonts on OS4

Report any Hollywood bugs here
Post Reply
User avatar
jPV
Posts: 603
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Combomode 1 and antialiased fonts on OS4

Post 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()
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Combomode 1 and antialiased fonts on OS4

Post 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?
Post Reply