GNOME Bugzilla – Bug 650958
HTML: Support "@media print"
Last modified: 2011-08-14 14:05:26 UTC
Doxygen 1.7.4 introduces a new dynamic HTML page layout. However, this breaks print-ability of the pages - only the visible portion (top) of the documentation is printed, along with the navigation elements. Doxygen should use the "@media print" css directive to support alternate layout for the purpose of printing. This is normally done through the style-sheet - however the dynamic layout (JavaScript) gets in the way. JavaScript does not directly support recognition of the "@media" style being used. This can be done by testing a dummy css property, or (for our purposes) identifying hidden elements and setting their size to zero when performing the layout. Print output should include the header and footer, all of the body document, but not the navigational parts of the page.
I have changed this from an enhancement to a bug - since the new HTML layout stops pages from being correctly printed. The original report suggests an approach to correct this.
Thanks for the suggestion to use @media. Works nicely as you will see in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.5. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.