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

Unified Diff: experimental/PdfViewer/autogen/pdfspec_autogen.py

Issue 18117005: more work on pdf fonts, more to come (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/autogen/pdfspec_autogen.py
===================================================================
--- experimental/PdfViewer/autogen/pdfspec_autogen.py (revision 9788)
+++ experimental/PdfViewer/autogen/pdfspec_autogen.py (working copy)
@@ -1772,7 +1772,7 @@
.optional()\
.field('FontDescriptor')\
.name('FontDescriptor')\
- .type('dictionary')\
+ .type('FontDescriptorDictionary')\
.comment('(Required except for the standard 14 fonts; must be an indirect reference) A font\ndescriptor describing the font\'s metrics other than its glyph widths (see Sec-\ntion 5.7, "Font Descriptors").\n Note: For the standard 14 fonts, the entries FirstChar, LastChar, Widths, and\n FontDescriptor must either all be present or all absent. Ordinarily, they are ab-\n sent; specifying them enables a standard font to be overridden (see "Standard\n Type 1 Fonts," below).')\
.done().done()\
.optional()\
@@ -1907,7 +1907,7 @@
.done().done()\
.done()
- pdfspec.addClass('CIDFontDictionary', 'FontDictionary', 'Entries in a CIDFont dictionary')\
+ pdfspec.addClass('CIDFontDictionary', 'Dictionary', 'Entries in a CIDFont dictionary')\
.required('NULL')\
.field('Type')\
.name('Type')\
@@ -1936,7 +1936,7 @@
.optional()\
.field('FontDescriptor')\
.name('FontDescriptor')\
- .type('dictionary')\
+ .type('FontDescriptorDictionary')\
.comment('(Required; must be an indirect reference) A font descriptor describing the\nCIDFont\'s default metrics other than its glyph widths (see Section 5.7,\n"Font Descriptors").')\
.done().done()\
.optional()\
« no previous file with comments | « experimental/PdfViewer/autogen/SkPdfXObjectDictionary_autogen.cpp ('k') | experimental/PdfViewer/generate_code.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698