Project:Printer, e-mail and PDF versions
Version:5.x-4.0
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I really feel bad to report this bug, because Print already does so great and helps me so much to build an awesome page. I'm complaining here on a very high level :)
I have a book wiki that gets printed as pdf. i use code samples that i format with geshifilter.
on the pdf, the code highlighting works fine, even in color.
only problem is that codeblocks with more than one line get "printed" on the pdf in one line plus it gets a bit offset. so it looks like in the sample image i uploaded.

AttachmentSize
book_export.jpg15.69 KB

Comments

#1

Status:active» postponed (maintainer needs more info)

It seems there's some incompatibility between the CSS used by the geshifilter and the CSS supported by dompdf. I would guess it has something to do with that filter's line spacing in CSS.

Not much that I can do (except to disable the geshifilter CSS import, but that's a pandora box I don't want to open).

You can try to use a modified print_pdf.tpl.php to 'reset' the linespacing used by that particular style in a way that doesn't show that problem.

João

#2

Status:postponed (maintainer needs more info)» closed (fixed)

No info received in two weeks.. Closing the issue.

João

#3

Status:closed (fixed)» fixed

Sorry i lost track in January of this issue.
in the meantime i updated the site to the very latest versions of all module and i found the reason for this problem.

i attached my modified geshifilter.css in case anyone runs into the same issues.

AttachmentSize
geshifiltercss.zip 880 bytes

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.