Chromium Code Reviews| 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..b5328847bf7fd9f451617df60991131d5247d5b6 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: Due to Skia bug 5917 |
|
eae
2016/12/16 18:48:27
TODO(drott) or TODO(layout-dev)
drott
2016/12/19 14:12:34
Done.
|
| + // 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 |