diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-02-05 23:08:20 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-02-05 23:08:20 +0000 |
commit | 4526a847da6dc738dc73103ec4d47cc0dbdec478 (patch) | |
tree | 465f21f727c0a102d4df1d2f6263da8086ba72d1 /include/core | |
parent | ba09de4c4be66cc07790f23b0f3a925f47340e3e (diff) |
This patch allows the use of the native FreeType emboldening
algorithm when "fake bold" text is used in SkPaint.
It's enabled by #defining SK_USE_FREETYPE_EMBOLDEN.
Review URL: http://codereview.appspot.com/198077
git-svn-id: http://skia.googlecode.com/svn/trunk@490 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkScalerContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkScalerContext.h b/include/core/SkScalerContext.h index 6aae31644e..59d7125d55 100644 --- a/include/core/SkScalerContext.h +++ b/include/core/SkScalerContext.h @@ -155,6 +155,7 @@ public: kHintingBit1_Flag = 0x10, kHintingBit2_Flag = 0x20, kEmbeddedBitmapText_Flag = 0x40, + kEmbolden_Flag = 0x80, }; private: enum { |