Hal Canary | 42d6c59 | 2018-11-15 14:01:49 -0500 | [diff] [blame] | 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 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 6 | #include "include/core/SkData.h" |
| 7 | #include "include/docs/SkPDFDocument.h" |
| 8 | #include "src/pdf/SkPDFGlyphUse.h" |
Hal Canary | 42d6c59 | 2018-11-15 14:01:49 -0500 | [diff] [blame] | 9 | |
Hal Canary | 42d6c59 | 2018-11-15 14:01:49 -0500 | [diff] [blame] | 10 | sk_sp<SkData> SkPDFSubsetFont(sk_sp<SkData> fontData, |
| 11 | const SkPDFGlyphUse& glyphUsage, |
Hal Canary | 25dd2c9 | 2019-03-22 12:41:23 -0400 | [diff] [blame] | 12 | SkPDF::Metadata::Subsetter subsetter, |
Hal Canary | 42d6c59 | 2018-11-15 14:01:49 -0500 | [diff] [blame] | 13 | const char* fontName, |
| 14 | int ttcIndex); |
Hal Canary | 42d6c59 | 2018-11-15 14:01:49 -0500 | [diff] [blame] | 15 | |
| 16 | #endif // SkPDFSubsetFont_DEFINED |