[poppler] pdftohtml lets you run random shell commands

William Bader williambader at hotmail.com
Thu Apr 19 11:43:56 PDT 2012


I don't understand why converting pdf to html requires gs to rasterize to png, especially when pdftoppm can generate png.
In any case, instead of running gs, how about linking to libspectre or libgs?
configure could check for the libraries, and pdftohtml could enable whatever functionality that requires gs only when the libraries are present so that the libraries would not become a prerequisite for building poppler.  pdftops already has a conditional build enabled by -DSPLASH_CMYK=1, so there is a precedent.
William

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120419/ce4da837/attachment.htm>


More information about the poppler mailing list