https://bugs.documentfoundation.org/show_bug.cgi?id=155228

            Bug ID: 155228
           Summary: Syntax error in PDF for Tab key of page object
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: [email protected]
          Reporter: [email protected]

LibreOffice has a syntax error in the PDFs it generates. The /Tabs key of a PDF
page object should be a PDF name, not a PDF string. Refer to PDF specification:
ISO 32000-2, "Table 31 - Entries in a page object". 

Problem is caused by code in core/vcl/source/gdi/pdfwriter_impl.cxx at line
753:
   aLine.append( "/Tabs(S)\n" );
should be:
   aLine.append( "/Tabs/S\n" );

https://github.com/LibreOffice/core/blob/c84b37c0bbab3b386b22b87be52f965839b44a49/vcl/source/gdi/pdfwriter_impl.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to