aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/win
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-02-23 09:41:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-23 09:41:43 -0800
commit28512f7f54bf9783e9ee1c93ae0403ac1c0963b9 (patch)
treecd302d8f390491621f9101fa4a2d6e316ba01f2d /src/utils/win
parent50d2b3114b3e59dc84811881591bf25b2c1ecb9f (diff)
Use IDWriteFontFallback when available.
This is prefereable to the current IDWriteTextLayout method, but is only available on Windows 8.1 and later. Review URL: https://codereview.chromium.org/942083004
Diffstat (limited to 'src/utils/win')
-rw-r--r--src/utils/win/SkDWrite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/win/SkDWrite.h b/src/utils/win/SkDWrite.h
index 1716b83785..dfab3ea7d2 100644
--- a/src/utils/win/SkDWrite.h
+++ b/src/utils/win/SkDWrite.h
@@ -23,6 +23,10 @@ class SkString;
#define SK_HAS_DWRITE_1_H (WINVER_MAXVER >= 0x0602)
#endif
+#ifndef SK_HAS_DWRITE_2_H
+#define SK_HAS_DWRITE_2_H (WINVER_MAXVER >= 0x0603)
+#endif
+
IDWriteFactory* sk_get_dwrite_factory();
////////////////////////////////////////////////////////////////////////////////