Chromium Code Reviews| Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
| index 099382c1661e79c92c3b9ca25620078403e4375d..40f2d909d8a87f4b6c6c326ba7ba11e982aad2fe 100644 |
| --- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
| @@ -24,6 +24,9 @@ ShapeResultSpacing::ShapeResultSpacing(const TextRun& run, |
| , m_isAfterExpansion(false) |
| , m_isVerticalOffset(fontDescription.isVerticalAnyUpright()) |
| { |
| + if (m_textRun.spacingDisabled()) |
|
eae
2016/03/24 16:37:47
This only applies to SVG, right?
fs
2016/03/24 16:42:59
Yepp:
https://code.google.com/p/chromium/codesear
|
| + return; |
| + |
| if (!m_letterSpacing && !m_wordSpacing && !m_expansion) |
| return; |