[Libreoffice-bugs] [Bug 39977] New: wrong postscript is generated when printing to a file

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 10 05:41:32 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39977

           Summary: wrong postscript is generated when printing to a file
           Product: LibreOffice
           Version: LibO 3.3.3 release
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: ParquetteD at aol.com


When a postscript printer description (PPD) file is used that describes the
desired page media with non-zero left and right margins, wrong postscript is
generated (only when printing to a file).

The generated postscript contains a faulty statement for each page output:

[0.24 0 0 -0.24 36 792] concat

where the 5th number from the left in the concat statement (36) should be zero.

If the generated postscript file were to be printed, the output would be
shifted 36 points (half inch) to the right.

The text line within the custom PPD file that triggers this problem is:

*ImageableArea Letter/Letter: "0 11.52 576 792"

where the 1st number from the left is the left margin (0 points), and the 3rd
number from the left is the right margin (612-576 = 36 points).

When the same PPD file uses the following line, the bug does not trigger.

*ImageableArea Letter/Letter: "0 11.52 612 792"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list