--- gobook.perl 2013/11/06 03:20:01 1.4 +++ gobook.perl 2013/12/12 21:20:43 1.6 @@ -512,6 +512,10 @@ foreach my $stripnum ( sort keys %{$stri $Text::Wrap::columns = 30; if ( $strips->{strip}->{$stripnum}->{comment} =~ /Danger/ ){ $p->setcolour("red"); + # Draw over image ... + $p->setlinewidth(4); + $p->arc( 70, 60, 20, 0, 360); + $p->line(50,40, 90,80); } my @para = split (/\n/,wrap('', '', $strips->{strip}->{$stripnum}->{comment})); while (my $ln = shift @para){ @@ -601,6 +605,9 @@ foreach my $stripname ( sort keys %strip # write the output to a file $p->output("gobook.ps"); +# use ghostscript to convert to pdf ... +`gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pdfwrite -sOutputFile=gobook.pdf gobook.ps`; + exit 0; sub startpage {