Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On 11/30/2010 04:09 PM, Caolán McNamara wrote:
On Tue, 2010-11-30 at 10:36 -0500, Joe Smith wrote:
Can someone running LibO on Fedora try and reproduce this bug:

document hyperlink with utf-8 characters fails export to PDF
http://qa.openoffice.org/issues/show_bug.cgi?id=115788

So far no one else can reproduce it.

I can.  Its a problem in vcl/source/gdi/pdfwriter_impl.cxx and
DECODE_WITH_CHARSET.

We now always write as US_ASCII to pdf now, which is one change from
3.2.1, so pretty much anything with DECODE_WITH_CHARSET in that file is
very dubious unfortunately.

The attached two alternative fixes would fix it for me. Either don't
decode URIs and leave %XX in them (This might adversely affect the
"Launch" target, whatever that exactly does in PDF), or assume that we
can write as UTF-8 always. Probably need to go read the pdf spec to see
what's the correct option here.

C.


Thanks for having a look. Someone else confirmed it privately.

From your comments, it seems like this would affect all platforms. I wonder why some people don't see it?

Is there something else I can do here to follow up? A report on fdo?

<Joe


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.