IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2013/09/07)2013/09/08 
kens Hmm, just found a shorter flight to Mauai, 18 hours 5 minutes with Air Canad via Calgary11:43.55 
  1 stop in Calgary for 1 hour 40, gets into Mauai at 20:1011:44.28 
  The downside is the return is 27.5 hours, though even that is better than BA11:47.10 
  Aha, but on the Air Canada site I can get that down to 22.5 hours. Looks like the Canadians win eh ?12:00.40 
  also the Air Canada site claims laptop power in economy seats too.12:01.57 
kens heads for the shower12:04.23 
robin_watts_mac morning mvrhel_laptop - good flight back?13:20.13 
mvrhel_laptop not back yet. in michigan now13:26.54 
robin_watts_mac oh, of course.14:16.10 
benbro is there a command to embed fonts in a pdf without changing anything else?16:03.08 
  I'm using this: "gs -o new.pdf -sDEVICE=pdfwrite -dEmbedAllFonts=true old.pdf"16:03.56 
  but I'm not sure if it changes images or does other stuff16:04.10 
robin_watts_mac benbro: That will completely change the PDF.16:05.34 
  It will strip it down to graphic objects and rebuild it.16:05.50 
benbro robin_watts_mac: will it preserve the original image resolution?16:06.46 
  will it change the appearance?16:06.53 
  for example I see the option -dPDFSETTINGS=/prepress but I won't to use the same images16:07.23 
robin_watts_mac benbro: The graphic operations may result in different data in the file.16:07.42 
  broadly the appearance will be the same, but things like resolution/colorspace etc may change acording to your options.16:08.02 
benbro how can I tell gs to not change resolution and colorspace?16:08.25 
robin_watts_mac You can't, broadly.16:08.38 
benbro so if I'm using -dPDFSETTINGS=/prepress it will result with a bigger file?16:08.53 
  and if I won't use it, images might get lower resolution?16:09.03 
kens If you use the default options pdfwrite will endeavour not to alter the original data.16:09.50 
  Image data may be differently (loslessly) compressed, but it will not be downsampled, colour spaces will remain teh same etc.16:10.25 
benbro kens: this will embed fonts and fix corrupted pdf without changing resolution? ""gs -o new.pdf -sDEVICE=pdfwrite -dEmbedAllFonts=true old.pdf""16:10.56 
kens But as Robin says, we do not treat the original PDF as a series of black boxes, the source file is completely interpreted to graphics objects, and the primitives built up into a new PDF file.16:11.18 
benbro that's ok as long as the output is the same16:11.51 
kens benbro, fonts may or may not be mebedded, it depends on whether a suitablel replacemnet font is available, the format of the font and so on16:11.57 
benbro do I need to add the following options? "-dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT"16:12.26 
kens No16:12.36 
benbro ok16:12.39 
kens The command line options are documented in ghostpdl/gs/doc/*.htm16:12.55 
benbro I'm using it to fix corrupted pdfs and embed fonts on the server from the command line16:12.56 
kens benbro you aren't 'fixing' a broken PDF, you are creating a brand new PDF file16:13.22 
  Which hopefully is not broken16:13.33 
robin_watts_mac What you are doing is 'embedding ghostscripts guess at what font was meant'.16:13.42 
benbro in my case I just need to embed the fonts16:13.47 
  that's good16:13.58 
kens But if the original file is broken, all bets are off on the quality of teh output. Content may be missing for example16:14.01 
sebras is the meeting over now?19:27.56 
 Forward 1 day (to 2013/09/09)>>> 
ghostscript.com
Search: