summaryrefslogtreecommitdiffstats
path: root/gfx/skia/skia/src/pdf/SkPDFSubsetFont.h
blob: b812c52ff5b906ff8cfbd6e0cd75ed82c95c2579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#ifndef SkPDFSubsetFont_DEFINED
#define SkPDFSubsetFont_DEFINED

#include "include/core/SkData.h"
#include "include/docs/SkPDFDocument.h"
#include "src/pdf/SkPDFGlyphUse.h"

sk_sp<SkData> SkPDFSubsetFont(sk_sp<SkData> fontData,
                              const SkPDFGlyphUse& glyphUsage,
                              SkPDF::Metadata::Subsetter subsetter,
                              const char* fontName,
                              int ttcIndex);

#endif  // SkPDFSubsetFont_DEFINED