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

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Julien Nabet <[email protected]> ---
(In reply to edv from comment #4)
> 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.

Just for information, the patch had been pushed with this:
http://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=eea16cb3e65a4308caddb7618d31a76ca259dbb1

but reverted with this:
http://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=297b22bd49ea11a90063ab8503fb83090f351668
(see reasons in commit if interested)

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