468,491 Members | 1,991 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,491 developers. It's quick & easy.

C++ library for PDF creation?


Hi,

Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib? [ PDFLib is good but it puts a watermark
across the PDF output. ]
Also know about libpdf++ but it looks like it has only a few features,
not enough for my needs.

I'm looking for such a library to use for:

1. Porting my xtopdf PDF creation/conversion toolkit - see
http://www.dancingbison.com/services.html - from Python to C++, for
reasons of a) possibly better performance, b) being able to wrap the
ported code as a Ruby/C++ extension, so that I can then generate PDF
from Ruby. [I do know about Ruby's PDF::Writer, but am exploring
different ways of doing the same thing].

2. Doing PDF generation from C++.

Both the above points are part of my overall plan of extending xtopdf
in different dimensions (more features, ports to more languages, etc.).

Thanks
Vasudev
-----------------------------------------------------------------------------
Vasudev Ram
Software consulting and training
http://www.dancingbison.com
-----------------------------------------------------------------------------

Jul 17 '06 #1
9 8906
vasudevram wrote:
Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib?
Most likely. This newsgroup is not a replacement for online search
engines, BTW.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 17 '06 #2
vasudevram wrote:
Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib? [ PDFLib is good but it puts a watermark
across the PDF output. ]
Also know about libpdf++ but it looks like it has only a few features,
not enough for my needs.
(...)
2. Doing PDF generation from C++.
I don't understand this point. If you use another C++ library with all
features that you need to build your pdf generation tool, then your tool
adds nothing to pdf generation from C++.

--
Salu2
Jul 17 '06 #3

Victor Bazarov wrote:
Most likely. This newsgroup is not a replacement for online search
engines, BTW.
I'm aware of that. Search engines are not perfect, though. Hence the
post here.
If its against the charter of the group, I won't do it again.

Jul 17 '06 #4

Julián Albo wrote:
vasudevram wrote:
Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib? [ PDFLib is good but it puts a watermark
across the PDF output. ]
Also know about libpdf++ but it looks like it has only a few features,
not enough for my needs.
(...)
2. Doing PDF generation from C++.

I don't understand this point. If you use another C++ library with all
features that you need to build your pdf generation tool, then your tool
adds nothing to pdf generation from C++.
The differences are that my library either provides somewhat higher
abstractions over the library it uses, or is easier to use in some
ways, though for a smaller set of features (e.g. I don't currently
support images, though may in future). E.g. automatic pagination.

That's how it is in the current (Python) library, and that's how I plan
to make it in the planned C++ one.

Vasudev
http://www.dancingbison.com

Jul 17 '06 #5
On 17 Jul 2006 09:57:01 -0700, "vasudevram" <va********@gmail.com>
wrote:
>Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib?
Maybe: http://sourceforge.net/projects/libharu/
Jul 17 '06 #6
On 17 Jul 2006 09:57:01 -0700, "vasudevram" <va********@gmail.com>
wrote in comp.lang.c++:
>
Hi,

Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib? [ PDFLib is good but it puts a watermark
across the PDF output. ]
[snip]

Just as off-topic here as in comp.lang.c. This group discusses the
C++ language and its standard library, not add-on third-party
libraries.

GIYF.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Jul 18 '06 #7
* Jack Klein:
On 17 Jul 2006 09:57:01 -0700, "vasudevram" <va********@gmail.com>
wrote in comp.lang.c++:
>Hi,

Is there any C++ library (free software or open source) for PDF
creation, other than PDFLib? [ PDFLib is good but it puts a watermark
across the PDF output. ]

[snip]

Just as off-topic here as in comp.lang.c. This group discusses the
C++ language and its standard library, not add-on third-party
libraries.
As a rule we don't discuss how to /use/ the particular details of a
particular library in clc++, because that falls into "not of general
interest" and most often also into "platform specific" (and at one time
the latter was really a problem, causing clc++m to be created).

However, the reason there is a C++ libraries FAQ linked to from this
group's main language FAQ is that it's entirely on-topic to discuss
libraries and language usage in general.

Links to the

Available C++ Libraries FAQ

are available in the language FAQ item "Where can I get tons and tons of
more information on C++ class libraries?", currently at <url:
http://www.parashift.com/c++-faq-lite/class-libraries.html#faq-37.9>.

Of course the Libraries FAQ also refers back to the Language FAQ.

GIYF.
?

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 18 '06 #8
Alf P. Steinbach <al***@start.nowrote:
>GIYF.

?
GIYF == Google is your friend

--
Marcus Kwok
Replace 'invalid' with 'net' to reply
Jul 18 '06 #9

Alf P. Steinbach wrote:
As a rule we don't discuss how to /use/ the particular details of a
particular library in clc++, because that falls into "not of general
interest" and most often also into "platform specific" (and at one time
the latter was really a problem, causing clc++m to be created).

However, the reason there is a C++ libraries FAQ linked to from this
group's main language FAQ is that it's entirely on-topic to discuss
libraries and language usage in general.

Links to the

Available C++ Libraries FAQ

are available in the language FAQ item "Where can I get tons and tons of
more information on C++ class libraries?", currently at <url:
http://www.parashift.com/c++-faq-lite/class-libraries.html#faq-37.9>.

Of course the Libraries FAQ also refers back to the Language FAQ.
Thanks! A much more sensible and helpful answer than the preceding
ones. Particularly considering that I followed the guidelines - had not
asked for particular details of a particular library, only about the
existence of any other than PDFLib, *and* had said I was asking after
trying Google.

Vasudev

Jul 18 '06 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Rex_chaos | last post: by
3 posts views Thread by SK | last post: by
8 posts views Thread by Ankit Aneja | last post: by
3 posts views Thread by Fish in a Barrel | last post: by
8 posts views Thread by vasudevram | last post: by
reply views Thread by Calvin Spealman | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.