diff options
author | 2017-02-16 10:33:49 -0500 | |
---|---|---|
committer | 2017-02-16 18:49:15 +0000 | |
commit | 7ad87938985e71f6f2d47200239322c4571a3c10 (patch) | |
tree | fe10a801f5ce99582510a6d8f64b8dcaf996f63e | |
parent | 78594b26ddff7f8773e957e4107ef57c8d7a1bd8 (diff) |
SkPDF/font subsetting: Use new version of SfntlyWrapper::SubsetFont
Change-Id: Ib4bddcedb09b50556e8e1f02926c443870f46a09
Reviewed-on: https://skia-review.googlesource.com/8544
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
-rw-r--r-- | src/pdf/SkPDFFont.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp index 6dce5863d5..93ea69b117 100644 --- a/src/pdf/SkPDFFont.cpp +++ b/src/pdf/SkPDFFont.cpp @@ -317,8 +317,8 @@ static sk_sp<SkPDFStream> get_subset_font_stream( unsigned char* subsetFont{nullptr}; sk_sp<SkData> fontData(stream_to_data(std::move(fontAsset))); -#if defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) || defined(GOOGLE3) - // TODO(halcanary): update Android Framework to newest version of Sfntly. +#if defined(GOOGLE3) + // TODO(halcanary): update GOOGLE3 to newest version of Sfntly. (void)ttcIndex; int subsetFontSize = SfntlyWrapper::SubsetFont(fontName, fontData->bytes(), |