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

--- Comment #4 from [email protected] ---
I found the solution to this. 
In vcl\source\gdi\pdfwriter_impl.cxx the Line 3494:
if( !pFont->IsSymbolFont() && pEncoding == 0)
must be changed to:
if( !pFont->IsSymbolFont() )

Reason: Without the pEncoding check - "/Encoding/WinAnsiEncoding\n" is added to
the pdf file font object which is correct. pEncoding specifies that a ToUnicode
stream has to be generated (and it is) and nothing speaks against it because it
is only a translation table and doesn't affect the encoding itself. For
symbolic fonts WinAnsiEncoding would be wrong because they have there own
encoding shipped with.

I don't want to upload this myself because I don't intend to do more on
libreoffice and it is to tiny to go through the git/gerrit upload process and
making a patch for this. So please someone else do this, I don't want any
rights on that code submission.

-- 
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