Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: skia/config/SkUserConfig.h

Issue 2288093002: Activate Skia SFNT filter, avoid Type 1 fonts (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/config/SkUserConfig.h
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 48f92b0d241e139dc8271e8822fc41bddf035b54..c458552bf9af53b7cad19e982429405011d8913e 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -239,6 +239,9 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
*/
#define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS
+/* Restrict formats for Skia font matching to SFNT type fonts. */
+#define SK_FONT_CONFIG_INTERFACE_ONLY_ALLOW_SFNT_FONTS
+
#define SK_IGNORE_BLURRED_RRECT_OPT
#define SK_USE_DISCARDABLE_SCALEDIMAGECACHE
#define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698