Reviewed by Oliver.
authorzimmermann <zimmermann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Oct 2007 10:37:17 +0000 (10:37 +0000)
committerzimmermann <zimmermann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Oct 2007 10:37:17 +0000 (10:37 +0000)
commit31bf467ab409a975b801eb01079325e2ffd2cc72
tree0959af8b595814a8ae8ef4c56d9800b8cd22795b
parent5f2347878aaa44c7c31c58a973428de528b37dab
Reviewed by Oliver.

Add support for 'kerning' property in SVG text layout code.
Support all textLength/lengthAdjust modes on normal text & textPaths.

Support letter & word spacing on textPath.
Fix text selection when any spacing (letter/word/kerning) is involved.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=15571
Fixes: svg/batik/text/textOnPathSpaces.svg (spacing)
       svg/batik/text/textLayout.svg (kerning support)
       svg/text/text-spacing-01-b.svg (text selection)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
LayoutTests/svg/batik/text/textLayout-expected.checksum
LayoutTests/svg/batik/text/textLayout-expected.png
LayoutTests/svg/batik/text/textLayout-expected.txt
LayoutTests/svg/batik/text/textOnPathSpaces-expected.checksum
LayoutTests/svg/batik/text/textOnPathSpaces-expected.png
LayoutTests/svg/batik/text/textOnPathSpaces-expected.txt
LayoutTests/svg/batik/text/textPosition-expected.txt
LayoutTests/svg/batik/text/textPosition2-expected.txt
LayoutTests/svg/custom/text-letter-spacing-expected.txt
LayoutTests/svg/text/text-spacing-01-b-expected.checksum
LayoutTests/svg/text/text-spacing-01-b-expected.png
LayoutTests/svg/text/text-spacing-01-b-expected.txt
WebCore/ChangeLog
WebCore/platform/Font.cpp
WebCore/platform/TextStyle.h
WebCore/rendering/SVGCharacterLayoutInfo.cpp
WebCore/rendering/SVGCharacterLayoutInfo.h
WebCore/rendering/SVGRootInlineBox.cpp
WebCore/rendering/SVGRootInlineBox.h