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

          Priority: medium
            Bug ID: 78216
          Assignee: [email protected]
           Summary: PDF export should not remap embedded font
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.3.3 release
         Component: Printing and PDF export
           Product: LibreOffice

When exporting to a PDF, the font gets embedded into the PDF. To save space,
only the used characters are embedded if the font is sub settable to save
space. The characters are remapped starting with 0. To be able to extract the
text from the PDF, a ToUnicode CMAP is added. However, when converting the PDF
to Postscript and back to PDF, the CMAP is lost as Postscript has no notion of
ToUnicode, but instead relies on CMAPs embedded in the font.
When Printing the document to PDF the font still gets subsetted but the
characters are not remapped. Therefore although the ToUnicode map also gets
lost during processing, the Text can still be extracted.
The effect can be reproduced by exporting to PDF and then using pdf2ps and gs
-sDEVICE=pdfwrite to generate a PDF again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to