| Index: third_party/WebKit/Source/platform/fonts/linux/FontRenderStyle.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontRenderStyle.h b/third_party/WebKit/Source/platform/fonts/linux/FontRenderStyle.h
|
| index f00af63ecbf9c2da7b56de9de16f7b525eddd1dd..7c8dd5ee0a8ebeb067f89c8cf49ff9e423f82792 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/linux/FontRenderStyle.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/linux/FontRenderStyle.h
|
| @@ -30,7 +30,11 @@
|
| #ifndef FontRenderStyle_h
|
| #define FontRenderStyle_h
|
|
|
| +#include "SkPaint.h"
|
| +#include "SkTypeface.h"
|
| +#include "platform/PlatformExport.h"
|
| #include "wtf/Allocator.h"
|
| +#include "wtf/text/CString.h"
|
|
|
| namespace blink {
|
|
|
| @@ -62,6 +66,15 @@ struct FontRenderStyle {
|
| && useSubpixelPositioning == a.useSubpixelPositioning;
|
| }
|
|
|
| + PLATFORM_EXPORT static void setHinting(SkPaint::Hinting);
|
| + PLATFORM_EXPORT static void setAutoHint(bool);
|
| + PLATFORM_EXPORT static void setUseBitmaps(bool);
|
| + PLATFORM_EXPORT static void setAntiAlias(bool);
|
| + PLATFORM_EXPORT static void setSubpixelRendering(bool);
|
| +
|
| + static FontRenderStyle querySystem(const CString& family, float textSize, SkTypeface::Style typefaceStyle);
|
| + void applyToPaint(SkPaint&, float deviceScaleFactor) const;
|
| +
|
| // Each of the use* members below can take one of three values:
|
| // 0: off
|
| // 1: on
|
|
|