[Kst] [Bug 114787] New: Transparent text not drawn properly
Andrew Walker
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.
http://bugs.kde.org/show_bug.cgi?id=114787
Summary: Transparent text not drawn properly
Product: kst
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst kde org
ReportedBy: arwalker sumusltd com
Version: HEAD (using KDE KDE 3.4.0)
Installed from: Compiled From Sources
OS: Linux
PROBLEM:
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
RESULTS:
The text is drawn with a red "halo" around the letters
EXPECTED RESULTS:
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
mailing list