Page Size Limits

Page Size Limits

I am usually successful in producing single-page documents whose content
is a family tree diagram - lots of templated line drawing with minimal
text. [I can provide a jpeg image of valid and invalid results, if that
would help.]

My application never dies with any sort of diagnostic error that I have
been able to catch, and even when the document fails, if I look at the
contents via rups, I don't see any error/problem.

The symptom of a successful page, when viewed with Adobe Reader is a
page usually only able to be displayed in full at something less than
25% Zoom. The pages have a parchment background that fills the page.

So, when the application fails, the Adobe Reader display is the right
size/proportion, but just a white blank -- no figures, no text, not even
the background parchment.

My trouble-shooting has all been based on the belief that there must be
some size limit, which I assumed would be the total number of pixels,
but what seems to be true is that there is an horizontal pixel limit
irrespective of height. If I limit the width to 14400, I will get the
correct right-clipped output.

Are there some page size limits I have missed in the documentation?
Is there some try-catch logic that ought to be applied that would tell
me when the limits have been exceeded for a page?

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford_______________________________________________
iText-questions mailing list
[hidden email]https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Page Size Limits

tcorbet wrote

My trouble-shooting has all been based on the belief that there must be
some size limit, which I assumed would be the total number of pixels,
but what seems to be true is that there is an horizontal pixel limit
irrespective of height. If I limit the width to 14400, I will get the
correct right-clipped output.

Are there some page size limits I have missed in the documentation?
Is there some try-catch logic that ought to be applied that would tell
me when the limits have been exceeded for a page?

The minimum page size should be 3 by 3 units in default user space; the maximum should be 14,400 by 14,400 units. In versions of PDF earlier than 1.6, the size of the default user space unit was fixed at 1⁄72 inch, yielding a minimum of approximately 0.04 by 0.04 inch and a maximum of 200 by 200 inches. Beginning with PDF 1.6, the size of the unit may be set on a page-by-page basis; the default remains at 1/72 inch.