Opened 5 years ago

Closed 2 years ago

Last modified 2 years ago

#10895 closed enhancement (invalid)

PDF Print Driver should use a PDFLib alternative

Reported by: korli Owned by: phoudoin
Priority: normal Milestone: R1
Component: Drivers/Printers Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

PDFLib is no longer maintained, and embeds old versions of libpng and libtiff (security concerns). Alternatives: libharu, cairo.

Change History (7)

comment:1 Changed 5 years ago by diver

Another alternative might be pdfium lib from Chrome https://pdfium.googlesource.com/pdfium

comment:2 Changed 5 years ago by waddlesplash

I think Haru is our best bet, as it's the smallest and most portable. PDFium is a just-open-sourced library, and probably will suffer from growing pains for a while.

comment:3 Changed 5 years ago by pulkomandy

http://www.mupdf.com/

This is the lib used by DocumentViewer, so there already is an Haiku port of it and sample app using it. However, it would be nice to integrate this into BePDF, because DocumentViewer lack some of the features from it.

https://gitorious.org/documentviewer/documentviewer

comment:4 Changed 5 years ago by axeld

The printer driver doesn't need to display PDF, it needs to produce a PDF.

comment:5 Changed 2 years ago by phoudoin

Resolution: invalid
Status: newclosed

PDF Writer driver and PDFlib were moved to haikuports since hrev51272.

comment:6 Changed 2 years ago by humdinger

I think those packages should be in the default image. Only in release-* or also nightly-*?

comment:7 Changed 2 years ago by korli

@humdinger see ticket #13597.

Note: See TracTickets for help on using tickets.