7#ifndef SkPDFFont_DEFINED
8#define SkPDFFont_DEFINED
80 fGlyphUsage.
set(glyph);
110 int16_t defaultWidth);
SkAdvancedTypefaceMetrics::FontType getType() const
void noteGlyphUsage(SkGlyphID glyph)
bool hasGlyph(SkGlyphID gid)
bool multiByteGlyphs() const
static const SkAdvancedTypefaceMetrics * GetMetrics(const SkTypeface *typeface, SkPDFDocument *canon)
static void PopulateCommonFontDescriptor(SkPDFDict *descriptor, const SkAdvancedTypefaceMetrics &, uint16_t emSize, int16_t defaultWidth)
static SkPDFFont * GetFontResource(SkPDFDocument *doc, const SkGlyph *glyphs, SkTypeface *typeface)
SkPDFIndirectReference indirectReference() const
static SkAdvancedTypefaceMetrics::FontType FontType(const SkTypeface &, const SkAdvancedTypefaceMetrics &)
static bool IsMultiByte(SkAdvancedTypefaceMetrics::FontType type)
static const std::vector< SkUnichar > & GetUnicodeMap(const SkTypeface *typeface, SkPDFDocument *canon)
SkPDFFont & operator=(SkPDFFont &&)
SkGlyphID lastGlyphID() const
SkGlyphID firstGlyphID() const
void emitSubset(SkPDFDocument *) const
const SkPDFGlyphUse & glyphUsage() const
static void GetType1GlyphNames(const SkTypeface &, SkString *)
sk_sp< SkTypeface > refTypeface() const
SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const
SkTypeface * typeface() const
static bool CanEmbedTypeface(SkTypeface *, SkPDFDocument *)
SkGlyphID lastGlyph() const
SkGlyphID firstNonZero() const