IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2015/09/10)20150911 
NTQ Hi. I am running ghostscript 9.10 on my Ubuntu 14.04 and I want to convert a PDF to PDF/A. Then I found this git with a makefile which can convert PDF to PDF/A, but it does not work as expected: https://github.com/steshaw/metathesis10:41.15 
kens Use current Ghostscript release (9.16)10:42.46 
  Follow instructions in documentation for creatng PDF/A10:42.57 
  %-12345X@PJL SETTHs works10:43.00 
  %-12345X@PJL SETWe cannot help you with someone else's code10:43.10 
  %-12345X@PJL SETNote you are *NOT* 'converting' the PDF< you are creating a new one.10:43.43 
NTQ kens: Hi ken. I will try to install a newer version of gs. Can you please verify my setup? http://pastebin.com/4wmDUDhv10:45.15 
  This is the PDFA_def.ps file: http://pastebin.com/zLgfT8Ar10:47.18 
kens You need to edit pdfa-def.ps10:47.24 
NTQ I did not find any documentation about editing the PDFA file. It looks very complicated.10:48.24 
kens Its self documented, wehere it says 'customise' you need to edit it10:50.53 
  Its a PostScript program10:51.05 
  Your pastebin shows:10:51.11 
  Error: /undefinedfilename in --file--10:51.27 
  Operand stack:10:51.27 
  --nostringval-- --nostringval--10:51.27 
  (ISO Coated sb.icc) (r)10:51.27 
  undefinedfilename means exactly what it says10:51.41 
  ANd the filename whch is undefined is (ISO Coated sb.icc)10:52.02 
  That is defined in PDFA_def.ps, and you need to edit it10:52.12 
NTQ I did this already.10:52.32 
kens THen why did you pastebin an error message ?10:52.46 
NTQ Could it be the case that ghostscript looks for the system wide PDFA_Def.ps file instead of that one in the current directory?10:52.57 
kens It looks in the lib directory10:53.18 
  Unless you specify something else, eg ./PDFA_def.ps10:53.39 
NTQ Got it.10:53.46 
  So easy. -.-10:53.56 
kens Actually, I htnk that's not true10:54.00 
  But anyway, that's what your problem is10:54.21 
NTQ I did not modify the file in the lib directory. I copied it to my user for modifying10:54.47 
kens In any event you should use current code, you should *NOT* use -dUseCIEColor with it (and it will give you a warning if you do)10:54.48 
  I can't see how it would find the one in lib. Try using a fully qualified path to tit10:57.03 
NTQ kens: With an absolute path it works from terminal.11:16.42 
Robin_Watts Ugh. My second monitor just died. Going to be very cramped until another one can be delivered.13:40.18 
kens :-(13:40.32 
Robin_Watts By the power of amazon prime that should be tomorrow though.13:43.57 
tor8 Robin_Watts: which monitor are you getting?13:46.23 
Robin_Watts tor8: cheap 1920x1200 5ms TFT replacement.13:46.42 
tor8 I didn't think TN-film came in 1920x120013:47.05 
Robin_Watts I really don't see the pointhttp://www.amazon.co.uk/gp/product/B00GJELMB2?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s0013:47.33 
  ooh, I lie. it's IPS.13:47.41 
tor8 Robin_Watts: yeah, IPS has dropped a lot in price. I'm quite happy with my Samsung PLS monitors. A bit of color-tinting towards the edge but the non-glossy and non-grainy finish is awesome.13:48.48 
Robin_Watts tor8: I'm very happy with my DELL main monitor.13:49.02 
  but I only pondered a 4K display for about 2 seconds.13:49.21 
tor8 IPS panels have a tendency to have really aggressive non-gloss finishes with a lot of grain, but the DELL ones have the same sort of finish as my samsungs13:49.24 
Robin_Watts I'd need a new graphics card, and a new PC etc.13:49.43 
  Which I may well end up getting later this year, but...13:49.54 
tor8 and fix all your software to cope with the ultra high res :(13:50.03 
Robin_Watts tor8: yeah.13:50.11 
pedro_mac has a few Samsung syncmaster 2343 (2048x1152) - pretty decent res and reliable13:51.07 
Robin_Watts actually, I'm going to cancel it and get the newer version of my DELL.13:51.47 
tor8 I replaced my 27" IPS DELL with 3 Samsung 24" PLS monitors a while ago. Desk is a bit overcrowded, but I really do prefer three smaller monitors I can place at angles to one big monitor.13:52.31 
  I do have to use both the motherboard intel graphics combined with an nvidia card to drive all three at the same time, with an awkward mix of HDMI and DVI cables...13:53.59 
henrys Good morning folks, I'll be flying out tomorrow, I'll be dependent on the show for connectivity but definitely get to email, irc and skype once a day.14:00.51 
kens Good Luck Henry14:01.06 
Robin_Watts henrys: have fun.14:09.24 
henrys tor8: I meant to ask you at the last meeting if you will be using Jeong's stuff as a guide or integrating large parts of it directly or not using it at all. I might have to negotiate with him to get AGPL release if you are using the code directly. 14:21.56 
tor8 henrys: as a guide, the code is not usable directly (it's C++ and integrates with his C++ port of an ancient version of mupdf)14:22.50 
henrys tor8: thanks14:24.02 
  tor8: I can't get over him doing that. It makes 0 sense14:25.19 
tor8 You and me both.14:25.33 
NTQ Hi. What do I need when I want to change the meta data while converting a PDF to PDF/A?14:35.49 
kens insufficient detail14:36.17 
  what meta data ?14:39.34 
NTQ Author, title, etc. All that you can see if you open that PDF with Adove Acrobat -> File -> Properties -> Meta information14:44.57 
kens pdfmark14:45.43 
NTQ kens: Hm... For some reason title, author and creator were not set by ghostscript. It takes the info from input pdf file and writes its author and title in the output.15:31.35 
kens THat's right yes15:31.47 
NTQ kens: Can I modify that behaviour?15:32.47 
kens THe last pdfmark takes precedence, and the PDF has info, so it gets turned into a pdfmark, and that's the last one. UNLESS you send the pdfmark after you process the PDF15:32.50 
NTQ Thank you. It's working.15:33.55 
  If I run the online validator fromhttp://www.pdf-tools.com against the created PDF/A-1b I get some errors. http://pastebin.com/mgqTYCFV16:00.06 
  Do I have to add the missing and wrong information to my pdfmarks-file?16:00.06 
kens I have no idea. Ths code is known to work if you follow the instructions given in the documentation.16:00.30 
  also looks like you used the wrong ICC profile16:01.14 
NTQ I use some ICC profile found on the web named "sRGB Color Space Profile.icm"16:02.04 
  I have no idea what else I should use ^^16:02.56 
kens does it work if you don't mess with the meta data ? KISS16:03.24 
NTQ kens: Then there are less errors. CreateDate and ModifyDate are okay then.16:07.55 
  I see that you'Ve fixed the issue with dc:description already. I really should install the latest git version. ;)16:16.35 
  Okay. Now I have Ghostscript GIT PRERELEASE 9.18 and still got some errors with the validator. The XMP property 'dc:description' and 'pdf:keywords' are not synchronized with the document informtion entry. And the 'lang alt' is missing for dc:description.16:46.27 
Robin_Watts henrys: For next year: http://wasatch100.com/17:44.21 
  100 miles. Up 25763 ft, Down 25252 ft.17:44.44 
  It's running at the moment. My friend is in 3rd position currently...17:45.56 
  The 2 guys in front are over a decade younger than him too.17:46.34 
 Forward 1 day (to 2015/09/12)>>> 
ghostscript.com
Search: