adkennan/dox2go — pull request #1 by dangduc (2013-07-12 17:41:45+00:00)
Title: Update example code in README + Fix for generating pdf document

dox2go/pdf generates the mediabox attribute like so:

> MediaBox [ 00595.2755907841.88976399 ]

This causes Adobe Reader to improperly render the generated pdf.

Section 7.7.3.3 Page Objects of ISO 32000-1:2008 specify MediaBox entries take a rectangle value. In 7.9.5 a rectangle is an array:

> [ lower-left-x lower-left-y upper-right-x upper-right-y ]

where the spacing between the four numbers is significant.

so this push generates spacing:

> MediaBox [ 0 0 595.2755907 841.88976399 ]