aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-22 13:19:43 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-22 13:19:43 +0000
commit1eeaf0ba2381f84ffd889f56303cbe0d1886bb21 (patch)
tree99852310e8d9f0a3f7a9c94f3ff0afb0375b48e4 /include/config
parent3c898186c9082c535e589807752a0a9dc5d28aa0 (diff)
Add support for 8 bits/component glyphs, to
better match the fonts produced by CoreText on OS/X. M include/config/SkUserConfig.h M include/core/SkMask.h M include/core/SkScalerContext.h M src/core/SkBlitter_ARGB32.cpp M src/core/SkScalerContext.cpp M src/core/SkPaint.cpp M src/gpu/SkGrFontScaler.cpp M src/ports/SkFontHost_mac_coretext.cpp M src/ports/SkFontHost_mac.cpp M gpu/include/GrTypes.h M gpu/src/GrAtlas.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@1672 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/config')
-rw-r--r--include/config/SkUserConfig.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index c56d8cfa78..80ecdb6433 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -117,6 +117,17 @@
*/
//#define SK_SUPPORT_LCDTEXT
+/* Define this to pack glyphs using 8 bits per component instead of 5-6-5.
+ This will double the size of the font cache, but will produce fonts with
+ gray levels closer to the designer's intent.
+*/
+//#define SK_SUPPORT_888_TEXT
+
+/* If defined, use CoreText instead of ATSUI on OS X.
+*/
+//#define SK_USE_MAC_CORE_TEXT
+
+
/* If zlib is available and you want to support the flate compression
algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
include path.