1 // Copyright 2018 Google LLC. 2 // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 3 #ifndef SkPDFSubsetFont_DEFINED 4 #define SkPDFSubsetFont_DEFINED 5 6 #include "include/core/SkData.h" 7 #include "include/docs/SkPDFDocument.h" 8 #include "src/pdf/SkPDFGlyphUse.h" 9 10 sk_sp<SkData> SkPDFSubsetFont(sk_sp<SkData> fontData, 11 const SkPDFGlyphUse& glyphUsage, 12 SkPDF::Metadata::Subsetter subsetter, 13 const char* fontName, 14 int ttcIndex); 15 16 #endif // SkPDFSubsetFont_DEFINED 17