Red Hat Bugzilla – Bug 798848
Page headers overrun page edge in PDFs
Last modified: 2012-10-30 23:11:09 EDT
Created attachment 566738 [details]
Page header overrun
Description of problem:
For sections with very long titles, these titles can overrun the page width when used as page headers. This behaviour only happens in PDFs.
The limit seems to be around 100 characters.
Steps to Reproduce:
1. Create a section with a very long title and a few pages of content afterwards.
2. Generate a PDF.
3. Observe over-runnage of section title as page header.
4. Weep, gnash teeth.
Very long section title overruns page as page header.
Very long section title does not overrun page header, perhaps through use of a forced line break.
See screen shot for example.
Verified on publican-3.0-0.fc17.t180.noarch
Publican 3.0 uses the chapter or appendix title in place of the section title for page headers, which are probably less likely to contain over-long strings. However, when presented with an over-long chapter of appendix title, Publican 3.0 simply doesn't present anything in the page header, which is certainly better than presenting something broken.