DevHeads.net

Review Request 114481: khtml/ecma: Implement canvas2d font, measureText and a basic fillText

Review request for kdelibs.

Repository: kdelibs

Description
khtml/ecma: Implement canvas2d font, measureText and a basic fillText

While font and measureText are complet, filltext is really just a bare basic implementation.
But still, thats what is used the most and it does draw Text :)

Diffs
khtml/ecma/kjs_context2d.h 481404e
khtml/ecma/kjs_context2d.cpp bbdba8f
khtml/html/html_canvasimpl.h e46ed8f
khtml/html/html_canvasimpl.cpp 53e0f22

Diff: <a href="http://git.reviewboard.kde.org/r/114481/diff/" title="http://git.reviewboard.kde.org/r/114481/diff/">http://git.reviewboard.kde.org/r/114481/diff/</a>

Testing
Passes all font/measureText/fillText canvas tests on <a href="http://philip.html5.org/tests/canvas/suite/tests/" title="http://philip.html5.org/tests/canvas/suite/tests/">http://philip.html5.org/tests/canvas/suite/tests/</a>
(for what we support for now, which (again) is just a bare basic for fillText)

Thanks,

Bernd Buschinski