[Kst] [Bug 114787] New: Transparent text not drawn properly
arwalker at sumusltd.com
Thu Oct 20 23:26:39 CEST 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: Transparent text not drawn properly
Platform: Compiled Sources
AssignedTo: kst kde org
ReportedBy: arwalker sumusltd com
Version: HEAD (using KDE KDE 3.4.0)
Installed from: Compiled From Sources
When a label is added to a plot with the transparent flag set the resulting text is drawn properly if, and only if, the background color of text happens to match the overall color of the plot on which it is drawn.
STEPS TO REPRODUCE:
Create a new label on a plot that is predominantly white
Set the background color of the label to be red
Make the label transparent
The text is drawn with a red "halo" around the letters
No such "halo" is visible
The problem results from the use of createHeuristicMask() which is used to create a clip region. This leaves a region around each letter that is not clipped, as well as leaving regions within the central areas of letters such as ABDOPQR. These regions will be drawn in the background color of the label even though the label is transparent.
More information about the Kst