| Index: Source/WebCore/svg/SVGFont.cpp
|
| ===================================================================
|
| --- Source/WebCore/svg/SVGFont.cpp (revision 78108)
|
| +++ Source/WebCore/svg/SVGFont.cpp (working copy)
|
| @@ -243,7 +243,7 @@
|
| {
|
| ASSERT(0 <= from && from <= to && to - from <= run.length());
|
|
|
| - const String text = Font::normalizeSpaces(String(run.data(from), run.length()));
|
| + const String text = Font::normalizeSpaces(String(run.data(from), to - from));
|
| Vector<SVGGlyphIdentifier::ArabicForm> chars(charactersWithArabicForm(text, run.rtl()));
|
|
|
| SVGGlyphIdentifier identifier;
|
|
|