aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkFont.h
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-04-13 15:50:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-16 21:11:10 +0000
commitd234afdc2e562d395925ca3ac8294398608271a6 (patch)
treedf395701b78e38fc3ddbab5c308cab8af79ea27e /include/core/SkFont.h
parentf7621cb5bb4ee181d557aeb6fa557819daba5fd2 (diff)
Remove SkPaint::kGenA8FromLCD_Flag.
The original intent of this flag is now handled by SkPixelGeomety on SkSurfaceProps on SkSurface. BUG=skia:7515 Change-Id: I54bb1be072b5b5b2164a59196bfeacac254823c7 Reviewed-on: https://skia-review.googlesource.com/121346 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'include/core/SkFont.h')
-rw-r--r--include/core/SkFont.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkFont.h b/include/core/SkFont.h
index e50909aaec..a58ec01926 100644
--- a/include/core/SkFont.h
+++ b/include/core/SkFont.h
@@ -39,7 +39,6 @@ enum SkTextEncoding {
kEmbeddedBitmapText_Flag = 0x400, //!< mask to enable embedded bitmap strikes
kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter
kVerticalText_Flag = 0x1000,
- kGenA8FromLCD_Flag = 0x2000, // hack for GDI -- do not use if you can help it
};
SkFont would absorb these:
@@ -52,7 +51,6 @@ enum SkTextEncoding {
kEmbeddedBitmapText_Flag = 0x400, //!< mask to enable embedded bitmap strikes
kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter
kVerticalText_Flag = 0x1000,
- kGenA8FromLCD_Flag = 0x2000, // hack for GDI -- do not use if you can help it
leaving these still in paint
@@ -106,7 +104,7 @@ public:
kUseNonlinearMetrics_Flag = 1 << 3,
kVertical_Flag = 1 << 4,
- kGenA8FromLCD_Flag = 1 << 5,
+
kEmbolden_Flag = 1 << 6,
kDevKern_Flag = 1 << 7, // ifdef ANDROID ?
};