Opened 10 years ago

Closed 7 years ago

Last modified 7 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:
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 by diver, 10 years ago

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

comment:2 by waddlesplash, 10 years ago

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 by pulkomandy, 10 years ago

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 by axeld, 10 years ago

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

comment:5 by phoudoin, 7 years ago

Resolution: invalid
Status: newclosed

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

comment:6 by humdinger, 7 years ago

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

comment:7 by korli, 7 years ago

@humdinger see ticket #13597.

Note: See TracTickets for help on using tickets.