diff options
author | 2016-08-16 10:29:38 -0700 | |
---|---|---|
committer | 2016-08-16 10:29:38 -0700 | |
commit | 28c6d83c98473a24b8d0b0d279c43fd37ff24055 (patch) | |
tree | 1e45612af0c02aec2dc8ce40609ae91065732df4 /src/pdf/SkPDFFont.h | |
parent | a1b42d91a5726683d7933b81a6e00ed28649e7ed (diff) |
SkPDF: eliminate SkPDFCIDfont class
get_glyph_widths() and set_glyph_widths() combined.
set_glyph_widths() now takes a SkPDFGlyphSet*.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2244173005
Review-Url: https://codereview.chromium.org/2244173005
Diffstat (limited to 'src/pdf/SkPDFFont.h')
-rw-r--r-- | src/pdf/SkPDFFont.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h index 9e36b53d16..65320d8365 100644 --- a/src/pdf/SkPDFFont.h +++ b/src/pdf/SkPDFFont.h @@ -125,9 +125,6 @@ public: SkTypeface* typeface, uint16_t glyphID); - static sk_sp<const SkAdvancedTypefaceMetrics> GetFontMetricsWithGlyphNames( - SkTypeface*, uint32_t* glyphs, uint32_t glyphsCount); - static sk_sp<const SkAdvancedTypefaceMetrics> GetFontMetricsWithToUnicode( SkTypeface*, uint32_t* glyphs, uint32_t glyphsCount); @@ -180,9 +177,6 @@ protected: sk_sp<SkTypeface> refTypeface() const { return fTypeface; } - // Add common entries to FontDescriptor. - bool addCommonFontDescriptorEntries(int16_t defaultWidth); - /** Set fFirstGlyphID and fLastGlyphID to span at most 255 glyphs, * including the passed glyphID. */ |