summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authormdejong <mdejong>2004-06-08 20:24:54 (GMT)
committermdejong <mdejong>2004-06-08 20:24:54 (GMT)
commitc7e041cfd4f24255e924362fb73214caaf51f5de (patch)
treea64bd48576b58fbd29f506cdffa83b03653db81e /generic/tkTextDisp.c
parent707b3331e7ce6cd33034f9c2729c24982d9f6e20 (diff)
downloadtk-c7e041cfd4f24255e924362fb73214caaf51f5de.zip
tk-c7e041cfd4f24255e924362fb73214caaf51f5de.tar.gz
tk-c7e041cfd4f24255e924362fb73214caaf51f5de.tar.bz2
* generic/tkCanvText.c (DisplayCanvText): Fix text
rendering problem with canvas text items that have a selected region. The previous implementation would render the whole line and then redraw the selected text if it was a different color. This caused problems when the selected text foreground differs from the normal text foreground, the anti-aliasing alpha pixels for the two text strings would blend together resulting in strange looking text. The fix is to draw the normal text and the selected text separately. This problem has only been observed under Windows, with anti-aliased text. [Patch 968725]
Diffstat (limited to 'generic/tkTextDisp.c')
0 files changed, 0 insertions, 0 deletions