summaryrefslogtreecommitdiffstats
path: root/generic/tkObj.c
diff options
context:
space:
mode:
authormdejong <mdejong>2004-06-08 20:44:10 (GMT)
committermdejong <mdejong>2004-06-08 20:44:10 (GMT)
commit6e6938ae4bc0b377bf297dd32a1b2a7a72c4075d (patch)
treeac0964d2dbb2d71d04ca12f843435ef456ea17eb /generic/tkObj.c
parent32f4bf446ed2bbdf42db6652cc19414e14f5f513 (diff)
downloadtk-6e6938ae4bc0b377bf297dd32a1b2a7a72c4075d.zip
tk-6e6938ae4bc0b377bf297dd32a1b2a7a72c4075d.tar.gz
tk-6e6938ae4bc0b377bf297dd32a1b2a7a72c4075d.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/tkObj.c')
0 files changed, 0 insertions, 0 deletions