aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config/SkUserConfig.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-09-13 17:20:30 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-09-13 17:20:30 +0000
commitc27b74174e6a734db3cf1b5a5354eab8f3d27c1c (patch)
tree1ee6f36bcc18aeca87f1add87b2bc81a67bc0fd4 /include/config/SkUserConfig.h
parentcecd3ac9d04c16c1c2b3c18a3f0eedd4318c1dde (diff)
add override for max-text-size for lcd
git-svn-id: http://skia.googlecode.com/svn/trunk@2258 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/config/SkUserConfig.h')
-rw-r--r--include/config/SkUserConfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index 05d92acdaf..0064193808 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -137,6 +137,13 @@
*/
//#define SK_ALLOW_OVER_32K_BITMAPS
+/* Define this to set the upper limit for text to support LCD. Values that
+ are very large increase the cost in the font cache and draw slower, without
+ improving readability. If this is undefined, Skia will use its default
+ value (e.g. 48)
+ */
+//#define SK_MAX_SIZE_FOR_LCDTEXT 48
+
/* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST
which will run additional self-tests at startup. These can take a long time,
so this flag is optional.