Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open source PDF library for C/C++ application? [closed]

I want to be able to generate PDF output from my (native) C++ Windows application. Are there any free/open source libraries available to do this?

I looked at the answers to this question, but they mostly relate to .Net.

like image 949
ChrisN Avatar asked Sep 12 '08 11:09

ChrisN


People also ask

Is there an open source PDF editor?

There are many Open Source PDF Editors available for download, so you can easily find one that meets your needs. Open Source Editors provide all of the same features as expensive commercial PDF editors, so you can easily edit your PDF files without having to worry about losing any important information.

Is PDFescape open source?

PDFescape is an online open-source PDF editor that allows you to edit PDF for free unless they have more than 100 pages.


2 Answers

LibHaru

Haru is a free, cross platform, open-sourced software library for generating PDF written in ANSI-C. It can work as both a static-library (.a, .lib) and a shared-library (.so, .dll).

Didn't try it myself, but maybe it can help you

like image 178
aku Avatar answered Sep 23 '22 03:09

aku


I worked on a project that required a pdf report. After searching for online I found the PoDoFo library. Seemed very robust. I did not need all the features, so I created a wrapper to abstract away some of the complexity. Wasn't too difficult. You can find the library here:

http://podofo.sourceforge.net/

Enjoy!

like image 44
 Avatar answered Sep 23 '22 03:09