When going the dvips route, large content to be stored as XForms, such as graphics files, may be clipped during PS to PDF conversion. The initial clipping path of a PS file is identical with the edges of the page device. (It might be further shortened by user code.) When content is placed between the BP and EP pdfmarks at a given location on the page, any portion that extends beyond the clipping path is missing from the resulting XForm object.
The PS output opened in gv or in another PS viewer shows the placement of the content to be stored as an XForm object. Some part extends beyond the right paper edge and is finally missing in the PDF output.
PS output:
The attached file l3backend-testphase-dvips.def.zip addresses this issue by aligning the content with the upper-left page corner. This allows the whole clipping path of the page device to be used for XForm generation.
When going the dvips route, large content to be stored as XForms, such as graphics files, may be clipped during PS to PDF conversion. The initial clipping path of a PS file is identical with the edges of the page device. (It might be further shortened by user code.) When content is placed between the BP and EP pdfmarks at a given location on the page, any portion that extends beyond the clipping path is missing from the resulting XForm object.
Consider this example input:
The PS output opened in
gv
or in another PS viewer shows the placement of the content to be stored as an XForm object. Some part extends beyond the right paper edge and is finally missing in the PDF output.PS output:
The attached file
l3backend-testphase-dvips.def.zip
addresses this issue by aligning the content with the upper-left page corner. This allows the whole clipping path of the page device to be used for XForm generation.