| Index: third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| index d6b97cd849c1b0ea916abf1f3b5612115183e958..fcc5e56b32da3d94eb65c850ec1b2e128a87cc52 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| @@ -45,6 +45,12 @@ void FontPlatformData::setupPaint(SkPaint* paint,
|
| paint->setTypeface(m_typeface);
|
| paint->setFakeBoldText(m_syntheticBold);
|
| paint->setTextSkewX(m_syntheticItalic ? -SK_Scalar1 / 4 : 0);
|
| +
|
| + // TODO(drott): Due to Skia bug 5917
|
| + // https://bugs.chromium.org/p/skia/issues/detail?id=5917 correct advance
|
| + // width scaling with FreeType for font sizes under 257px currently only works
|
| + // with:
|
| + // paint->setHinting(SkPaint::kNo_Hinting);
|
| }
|
|
|
| } // namespace blink
|
|
|