[Webkit-unassigned] [Bug 51317] New: Canvas poor text rendering on Windows using fillText()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 19 20:30:33 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51317

           Summary: Canvas poor text rendering on Windows using fillText()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonhilton64 at yahoo.com
                CC: mdelaney at apple.com


Created an attachment (id=76973)
 --> (https://bugs.webkit.org/attachment.cgi?id=76973&action=review)
Screenshot

Using Safari and WebKit.exe, the fillText() function renders poor quality fonts compared to other browsers such as IE and Chrome as shown in the attached screen shot. Here is the HTML to reproduce the problem:

<!DOCTYPE html>
<html>
    <head>
        <script>
            function draw() {
                var canvas = document.getElementById('canvas');
                var context = canvas.getContext('2d');
                context.save();
                context.font = '10px Arial';
                context.fillText('Hello World!', 20, 10);
                context.font = '12px Arial';
                context.fillText('Hello World!', 20, 50);
                context.font = '16px Arial';
                context.fillText('Hello World!', 20, 90);
                context.font = '20px Arial';
                context.fillText('Hello World!', 20, 130);
                context.font = '24px Arial';
                context.fillText('Hello World!', 20, 170);
                context.restore();
            }
        </script>
    </head>
    <body onload="draw()">
        <p><canvas id="canvas" tabindex="1" width="500" height="500" /></p>
    </body>
</html>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list