/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkPDFFont_DEFINED #define SkPDFFont_DEFINED #include "include/core/SkRefCnt.h" #include "include/core/SkTypeface.h" #include "include/core/SkTypes.h" #include "src/base/SkUTF.h" #include "src/core/SkAdvancedTypefaceMetrics.h" #include "src/pdf/SkPDFGlyphUse.h" #include "src/pdf/SkPDFTypes.h" #include <cstdint> #include <vector> class SkGlyph; class SkPDFDocument; class SkString; /** \class SkPDFFont A PDF Object class representing a font. The font may have resources attached to it in order to embed the font. SkPDFFonts are canonicalized so that resource deduplication will only include one copy of a font. This class uses the same pattern as SkPDFGraphicState, a static weak reference to each instantiated class. */ class SkPDFFont { … }; #endif