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

Unified Diff: src/pdf/SkPDFFont.cpp

Issue 913143007: Upstream support for sfntly in Google3 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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: src/pdf/SkPDFFont.cpp
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
index 3b35b56a9285ee7b011d89f3cc24493a3a71c328..426fbaf78ab2c37e07523102d361e9b23b02e20f 100644
--- a/src/pdf/SkPDFFont.cpp
+++ b/src/pdf/SkPDFFont.cpp
@@ -26,7 +26,13 @@
#include "SkUtils.h"
#if defined (SK_SFNTLY_SUBSETTER)
-#include SK_SFNTLY_SUBSETTER
+ #include SK_SFNTLY_SUBSETTER
+#endif
+
+#if defined (GOOGLE3)
+ // #including #defines doesn't work in with this build system.
+ #include "typography/font/sfntly/src/sample/chromium/font_subsetter.h"
+ #define SK_SFNTLY_SUBSETTER // For the benefit of #ifdefs below.
#endif
// PDF's notion of symbolic vs non-symbolic is related to the character set, not
« 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