diff options
author | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-21 21:03:15 +0000 |
---|---|---|
committer | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-21 21:03:15 +0000 |
commit | ff27844d15da7e691d1b4c0adc57af64e108d9fa (patch) | |
tree | 6299514a92fa38315aa4b90a5f9de82b4ee6bb88 /experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h | |
parent | 45f746f521d6925d22a304921f6e17196f4f8157 (diff) |
load font manually, for now Type0
Review URL: https://codereview.chromium.org/17294008
git-svn-id: http://skia.googlecode.com/svn/trunk@9734 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h')
-rw-r--r-- | experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h b/experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h index 4f54a19a75..83c5b32649 100644 --- a/experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h +++ b/experimental/PdfViewer/SkPdfType3FontDictionary_autogen.h @@ -3,10 +3,10 @@ #include "SkPdfEnums_autogen.h" #include "SkPdfArray_autogen.h" -#include "SkPdfFontDictionary_autogen.h" +#include "SkPdfType0FontDictionary_autogen.h" // Entries in a Type 3 font dictionary -class SkPdfType3FontDictionary : public SkPdfFontDictionary { +class SkPdfType3FontDictionary : public SkPdfType0FontDictionary { public: virtual SkPdfObjectType getType() const { return kType3FontDictionary_SkPdfObjectType;} virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kType3FontDictionary_SkPdfObjectType + 1);} @@ -15,25 +15,10 @@ public: virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return this;} private: - virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;} - virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL;} - - virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} - virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;} - - virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;} - virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return NULL;} - - virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} - virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;} - - virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;} - virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;} - public: private: public: - SkPdfType3FontDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfFontDictionary(podofoDoc, podofoObj) {} + SkPdfType3FontDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfType0FontDictionary(podofoDoc, podofoObj) {} virtual bool valid() const {return true;} |