Opened 3 years ago

Closed 3 years ago

#13041 closed bug (invalid)

Antialiasing of vertical text introduces white background

Reported by: n3s Owned by: waddlesplash
Priority: low Milestone: Unscheduled
Component: Preferences/Appearance Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Version: hrev50629

BFont font; font.SetRotation(90.0); SetFont(&font, B_FONT_ROTATION); DrawString(strScore.ToString(), pos);

Change History (4)

comment:1 Changed 3 years ago by n3s

In the screenshots, the text "Score: 0" is drawn with a white background inside of the letters. Compare the letters O and C and the number 0 on the right side of the above picture.

comment:2 Changed 3 years ago by pulkomandy

It looks like there is a mismatch between your low and view colors. In BeOS this didn't matter, drawing text without antialiasing used only the high color.

SetLowColor(ViewColor()) or SetViewColor(LowColor()) should fix it.

comment:3 Changed 3 years ago by n3s

You are right, the dark gray area was filled in using FillRect() with a HighColor, LowColor was never set.

comment:4 Changed 3 years ago by Janus

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.