Re: Commandline tool html2pdf



Christian Persch wrote:
>Le Mon, 20 Apr 2009 18:07:05 +0200,
>"Stephen R. van den Berg" <srb cuci nl> a ??crit :
>> On Mon, Apr 20, 2009 at 17:49, Christian Persch <chpe gnome org>
>> wrote:
>> > I say "almost" because it currently only prints to PostScript; but
>> > adding a PDF option should be straightforward. It just needs a new
>> > option and set a flag in the print code forwarding the setting to
>> > xulrunner.

>> PDF instead of Postscript is trivial (indeed).  I'm currently trying
>> to compile this under Debian, any hints as to which packages I need to
>> have installed?  glib-gettext seems to be a bit elusive.

>I think "sudo apt-get build-dep epiphany-browser" should pull in
>everything that's necessary (quite a bit more than what's strictly
>necessary probably). It needs xulrunner 1.9, so you have to have the
>latest debian release, or unstable, not an older stable release.

That works.  However, there are two downsides to gnome-web-photo:
a. It appears that the output is rasterised in any case (this results in
   rather ugly and bulky PDF files).
b. Since the output is rasterised: searching in the pdf becomes impossible,
   and clickable links in the pdf become unclickable.
-- 
Sincerely,
           Stephen R. van den Berg.
"Technology is stuff that doesn't work yet."   --  Bran Ferren
"We no longer think of chairs as technology."  --  Douglas Adams


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]