Tk Source Code

View Ticket
Login
Ticket UUID: 968725
Title: Patch for anti-aliasing problem with canvas text objects
Type: Patch Version: None
Submitter: mdejong Created on: 2004-06-08 08:46:56
Subsystem: 05. Canvas Items Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-06-09 03:46:27
Resolution: Fixed Closed By: mdejong
    Closed on: 2004-06-08 20:46:27
Description:
I have discovered a problem with canvas text objects
that have the same background and selection background
colors. The anti-aliasing for the rendered font is a
mixture of the normal text foreground and the
selected text foreground. Attached to this bug report
is a sample script showing the problem, a small before
and after screen cap showing the problem and the fix
and the patch itself.
User Comments: mdejong added on 2004-06-09 03:46:27:
Logged In: YES 
user_id=90858

Added patch to CVS HEAD and to the core-8-4-branch on
2004-06-08. Problem appears to be fully solved.

mdejong added on 2004-06-08 15:51:04:
Logged In: YES 
user_id=90858

Note that in the png file, the canvas implementation is
on the bottom, it is compared to a text widget displaying
the same thing on the top.

mdejong added on 2004-06-08 15:48:57:

File Added - 89902: canvas_aliasing.patch

mdejong added on 2004-06-08 15:48:09:

File Added - 89899: can_after.png

mdejong added on 2004-06-08 15:47:36:

File Added - 89898: can_before.png

mdejong added on 2004-06-08 15:46:56:

File Added - 89897: canvas_text_alias_bug.txt

Attachments: