[Webkit-unassigned] [Bug 108881] Canvas fillText and measureText handle ideographic spaces differently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 27 23:02:29 PDT 2013


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





--- Comment #63 from Rashmi Shyamasundar <rashmi.s2 at samsung.com>  2013-08-27 23:01:49 PST ---
In this new patch -

1. I have removed #include <wtf/NotFound.h> from CanvasRenderingContext2D.cpp
2. Removed the unnecessary comments from measureText() and drawTextInternal() in CanvasRenderingContext2D.cpp
3. Modified the file "LayoutTests/platform/mac/canvas/philip/tests/2d.text.measure.width.space-expected.txt". 

Without my patch, "ctx.measureText('A \x09\x0a\x0c\x0d \x09\x0a\x0c\x0dB')" was returning 450. With my patch it returns 650. The test case fails both with and without my patch.

-- 
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