[poppler] Creating PDF with poppler ?

Albert Astals Cid aacid at kde.org
Mon Aug 29 13:23:51 PDT 2011


A Dijous, 31 de març de 2011, Thomas Freitag vàreu escriure:
> On 25.03.2011 21:42, Albert Astals Cid wrote:
> > A Dilluns, 20 de desembre de 2010, Thomas Freitag va escriure:
> >> Hi all!
> > 
> > Hi
> 
> Hi again!
> 
> Sorry for this late but therefore now more correct answer. As you
> probably know I was very busy implementing overprint, and after that I
> took some "free poppler" days!
> 
> >> How I promised long time ago, here now a patch for the poppler writing
> >> routines and some new helper function, together with two small sample
> >> programs using them.
> > 
> > I'm resending the patch because what you sent was unnecesarily big and
> > scary (which diff program you use?).
> 
> I took now Your resent patch as base, completely reviewed it (hopefully
> nothing missing) and add the small utility programs pdfextract and
> pdfmerge to the patch after learning a little bit more about git. This
> patch is now created under ubuntu, so hopefully it is not bigger as
> necessary and not so scary. I also renamed the methods according to the
> poppler naming conventions, and the utility programs now give up with an
> error message, if the or one of the PDFs are encrypted instead of
> creating unreadable PDF(s).
> 
> > Basically there are a few stilistic things i don't like (please don't
> > use
> > this->)
> 
> I removed them now.
> 
> > Also do you really need to have things like ExtractPage in PDFDoc? Not
> > sure they make sense to me there
> 
> It would be a greater task to move it to pdfextract (and in addition all
> the mark methods), but it is probably doable. But on the other hand
> there are already routines like saveAs in PDFDoc, so I just rename it to
> savePageAs to clearify it. But if You still insist to remove them, I'll
> try it.
> 
> Hopefully we are not doing work twice. As I read once again Your
> posting, I thought that I should do something more on it.

I've commited this patch. Please create man pages for pdfextract and pdfmerge 
and send them in as soon as possible so we can include them in poppler 0.18

Albert

> 
> Thomas
> 
> > Albert
> > 
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list