Index: Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp (revision 146110) |
+++ Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp (working copy) |
@@ -323,6 +323,8 @@ |
unsigned runIndex = m_run.rtl() ? m_harfBuzzRuns.size() - i - 1 : i; |
HarfBuzzRun* currentRun = m_harfBuzzRuns[runIndex].get(); |
const SimpleFontData* currentFontData = currentRun->fontData(); |
+ if (currentFontData->isSVGFont()) |
+ return false; |
hb_buffer_set_script(harfBuzzBuffer.get(), currentRun->script()); |
if (shouldSetDirection) |