StandardEncoding is implied and cannot be specified explicitly.
Page object should not have Length key. Google Chrome PDF Viewer displays blank pages when the key is present.
Adobe Acrobat Preflight PDF syntax checker objects to setting pen or brush colors inside a path.