projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54fac8b
)
Upstream support for sfntly in Google3
author
mtklein
<mtklein@chromium.org>
Tue, 17 Feb 2015 14:33:38 +0000
(06:33 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 17 Feb 2015 14:33:38 +0000
(06:33 -0800)
See cr/
86110021
.
BUG=skia:
Review URL: https://codereview.chromium.org/
913143007
src/pdf/SkPDFFont.cpp
patch
|
blob
|
history
diff --git
a/src/pdf/SkPDFFont.cpp
b/src/pdf/SkPDFFont.cpp
index
3b35b56
..
426fbaf
100644
(file)
--- 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