Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2378)

Unified Diff: experimental/PdfViewer/SkPdfType1FontDictionary_autogen.h

Issue 17294008: load font manually, for now Type0 (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfType1FontDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfType1FontDictionary_autogen.h (revision 9685)
+++ experimental/PdfViewer/SkPdfType1FontDictionary_autogen.h (working copy)
@@ -18,9 +18,6 @@
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;}
@@ -210,11 +207,11 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ToUnicode", "", NULL));
}
- SkPdfStream ToUnicode() const {
- SkPdfStream ret;
+ SkPdfStream* ToUnicode() const {
+ SkPdfStream* ret;
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ToUnicode", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfStream();
+ return NULL;
}
};

Powered by Google App Engine
This is Rietveld 408576698