[poppler] Rendering hyperlinks as green rectangles

Albert Astals Cid aacid at kde.org
Sat Jan 17 08:29:11 PST 2009


A Divendres 16 Gener 2009, Jeremy Sanders va escriure:
> Hi - Okular renders hyperlinks as green rectangles when printing in Fedora
> 10. See:
>
> https://bugs.kde.org/show_bug.cgi?id=180980
>
> This is because Fedora 10 ships a very old poppler:
> poppler-qt4-0.8.7-1.fc10.x86_64
>
> Fedora don't want to update poppler because it would break the ABI:
> http://bugzilla.redhat.com/show_bug.cgi?id=480357
>
> Do you think it would be at all possible to create a simple patch to fix
> this problem for Fedora 10 without breaking the API by upgrading to
> poppler-0.10?
>
> Looking at the changelog there's something about:
>         Qt4:
>          * The printing flag defaults to true on PSConverter
> If I change gFalse to gTrue at the end of the line here from
> qt4/src/poppler-ps-converter.cc, would this fix the problem?
>
> d->document->doc->displayPage(psOut, page, d->hDPI, d->vDPI, d->rotate,
> gFalse, gTrue, gFalse);

Probably.

>
>
> I can't see much point generating PS if you're not printing.

There are much more use cases out there besides the ones you can think of and 
the ones i can think of.

Albert

>
> Thanks
>
> Jeremy
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list