Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2018/08/28)20180829 
deekej hey guys :) I saw you jumped to 9.25 version for upcoming release... Is there some more significant change coming? :)11:31.59 
chrisl We're getting 9.24 ready, so master moves to 9.2511:48.29 
deekej ah, ok :)12:03.08 
aiena I channot download ghostscript for windows. When I visit http://downloads.ghostscript.com/public the http server says pageok as a response but there are no links to files.14:01.13 
  Is something wrong?14:01.31 
chrisl Go to https://ghostscript.com/14:01.50 
aiena yes14:02.11 
  the other page's hyperlink is wrong14:02.21 
chrisl Other page?14:02.34 
aiena can this url also link back to the dowload page14:02.37 
  I mean can http://downloads.ghostscript.com/public redirect to https://ghostscript.com/download.html14:03.03 
  some web pages still have the old hyperlink14:03.11 
  both are up14:03.14 
chrisl I'm not sure - I'll have to ask some to look into it. We'll do it if we can14:04.08 
aiena thank you14:04.16 
  the first url looks correct but is wrong14:04.39 
  it used to work earlier14:04.49 
  so the change is more recent if it at least gave a 404 not found14:05.02 
  it was better14:05.04 
  I'll try to report to the other site too14:05.25 
  err other project too so they can update the link14:05.36 
chrisl Trouble is, we don't have that old site now, so if we can do it, it'll have to be through DNS14:05.48 
aiena Scribus got the wrong url still14:05.50 
  oh then don't bother14:06.04 
  hmm wait14:06.11 
  but both are same domain14:06.16 
  downloads. looks like a subdomain of ghostscript.com only right14:06.32 
kens site != domain14:06.35 
aiena so shouldn't it be same server14:06.46 
kens The old website has been replaced, even though its on the same domain14:07.00 
aiena hmm you mean downloads.ghostscript.com isn't owned/managed by you'll anymore14:07.44 
kens I'm not certain exactly which subdomains we have now14:07.50 
  We did some rationalisation a while back14:08.23 
aiena don't know command for dns lookup on windows (:14:08.43 
  yeh their different servers14:10.15 
  i'll report in the other place i'll try to fix it at root first14:10.33 
  yeah14:10.42 
  thanks kens chrisl14:13.23 
kens NP thanks for mentioning it, we'll see what we can do14:13.34 
aiena nods14:15.33 
  Just curious is it possible to extract postscript code from a pdf14:30.37 
chrisl Extract? PDF doesn't contain Postscript14:31.09 
kens Unless it has a PostScript XObject :-)14:31.26 
  Which is unusual, deprecated, and a seriously bad thing indeed14:31.40 
aiena oh14:31.55 
  what does pdf2ps do on linux?14:32.02 
kens Our shell script ?14:32.19 
aiena not sure what it is14:32.27 
  on linux they appear as commands/exe's unless you dig deep14:32.40 
  i don't have linux on this system14:32.47 
kens It runs Ghostscript and uses the ps2write devie. That works the same way as teh pdfwrite device. It interpretes the input, producing marking primitives from it. The device then reassembles the marking primitives into the required output. For ps2write that's PostScript for pdfwrite its PDF. The process is deatiled in vectordevices.htm in our documentation14:33.39 
  https://www.ghostscript.com/doc/9.23/VectorDevices.htm#Overview14:34.28 
aiena was typing out pure postscript for fun in the gs shell14:37.26 
  doubt i'll ever really do tht though14:37.36 
kens Only fools like us do that :-)14:37.51 
aiena nah14:37.59 
  you'll made an amazing produc14:38.05 
  product14:38.08 
kens Writing a lengthy program on the fly isn't really sensible14:38.10 
aiena which makes things like scribus possible14:38.20 
  your enable DTP with OSS14:38.29 
  *you'll14:38.33 
  apprecite your hard work so much14:38.52 
kens Nowadays PDF is more important than PostScript, or at least, equally important14:38.57 
aiena though its absolutely non geek friendly14:39.01 
  yeah but gs does pdf too14:39.13 
  i don't know if its only a postscript interpreter anymore14:39.24 
kens Indeed, and the PDF itnerpreter in Ghostscript is written in PostScript :-S14:39.32 
aiena wow14:39.42 
  mean ps is geek friendly14:40.24 
  its so tedious to draw box in ps14:40.38 
kens Too much so it seems, recently14:40.45 
aiena it's sort of like the svg spec14:40.46 
  inkscape saves us lol14:41.02 
  svg spec looks hell compared to ps14:41.15 
kens So does the ISO PDF spec :-(14:41.27 
aiena don't know anything about that14:41.45 
  engineers like to make amazingly convoluted stuff that just works14:41.58 
  like gs :P14:42.17 
  joking14:42.21 
kens Trust me, if you want to read teh PDF spec, start with the Adobe published spec for 1.7. Only read teh ISO spec for 2.0 to find out what changed14:42.24 
aiena I'll read it. Not an engineer.14:42.59 
  I am self taught geek lol14:43.03 
kens Umm, its not something you probably want to read for fun, pretty large14:43.23 
aiena I don;t know how you'll digest all that14:43.26 
  I did read it though once14:43.32 
  because I was forced to open a pdf in a text editor14:43.45 
  I was trying to hunt what from latex was creating a type 1 font in the pdf14:44.05 
kens That's usually a fairly fruitless exercise14:44.11 
aiena pdf still gives some useful info in plain text among a ton of gibberish14:44.22 
  I did find it14:44.30 
kens Soemtimes, but more and more rarely14:44.34 
aiena it was something in pstricks lol14:44.35 
  once they start zipping pdfs natively14:45.11 
  it's the end I think14:45.18 
kens PDF files are, generally compressed with Flate14:45.31 
aiena you'll need to decompress to get some plain text among gibberrish14:45.35 
  hmm how can i decompress them14:45.44 
kens and from version 1.5 the xref and objects are often in a binary seuqence which is then compressed14:45.53 
  You can use MuPDF to decompress a PDF file14:46.02 
  mutool clean -d <output.pdf> <input.pdf>14:46.13 
aiena us mupdf commercial14:47.06 
  or free for personal use14:47.09 
kens Same licence as GS14:47.18 
  AGPL14:47.25 
aiena ok amazng how you give these tools for free14:47.28 
  God bless you14:47.32 
kens Well we seel them too14:47.38 
  Otherwise we wouldn't get paid and that would be bad !14:47.50 
aiena yeah i know14:47.58 
  But I don't know if you'll get revenue.14:48.11 
  Artifex license is the commercial one14:48.24 
kens We do OK. We aren't Google or anything, but we manage14:48.27 
aiena If yu'll get paid for support its good14:48.42 
  because support is a recurring fee14:48.52 
  and can feed a person14:48.55 
kens We don't charge for support. Our commercial custoemrs pay for a licence and we support them for free, as normal for commercial transactions. Free users technically don't get support. But we reckon we get value form habving people kick the tyres so we foten answer questions and we will always fix bugs14:49.50 
aiena Well ironically free users make your product better14:50.25 
  more testing14:50.28 
kens Yes exactly14:50.32 
aiena so the commercial product becomes a ton better14:50.43 
kens Yep, we often have buigs fixed before customers even know they are there.14:50.59 
aiena if you see OSS projets develop way faster and are better quality than closed source software14:50.59 
  the ones that kickoff14:51.10 
kens Also, we get free advertising, in a sense14:51.11 
aiena so many bright k\minds14:51.17 
  true14:51.19 
  oublicity14:51.22 
  publicity14:51.26 
  tke Krita for example14:51.37 
  from one tiny thing its evolved to become so amazing.14:51.56 
  I am wondering what gs was like in the early days14:52.07 
  did the task feel impossible to you at that point14:52.14 
kens I can't answer that, I've only been working on Ghostscript for 11 years14:52.32 
aiena given how large the pdf spec was14:52.33 
  and how old is gs?14:52.42 
kens Around 30+14:52.52 
aiena Oh wow14:53.03 
kens I'm not sure of the exact date of the first release14:53.04 
aiena so it sort of may have started as the pdf spec evolved14:53.18 
kens It started with level 1 PostScript14:53.26 
aiena or waaay before pdf14:53.31 
  oh14:53.33 
kens Then added level 2, then level 3 then PDF 1.0 etc14:53.38 
aiena yeah14:53.46 
  probably if someone were to attempt a gs from scratch now14:53.56 
  it would be impossible but then it was gradual enhancement14:54.12 
kens There are people who do. There's Luser Droog over in comp.lang.postscript in UseNet. As far as I know he's still writing his PostScript interpreter14:54.32 
aiena I wonder what motivates these people14:55.03 
  when there is already a great ps interpreter14:55.11 
kens Usually a combination of things.14:55.26 
  Curiosity, interest in the subject, a desire to do better.14:55.49 
  Plus of course, no life :-)14:55.56 
aiena lol https://groups.google.com/forum/#!topic/comp.lang.postscript/U8p7v7SzIMc14:58.33 
  is facinating14:58.37 
  gs is too slow for him and someone suggests imagemagick which uses gs hahahaha14:58.53 
kens Yep :-)14:59.00 
aiena im will be way worse14:59.09 
  it has the image conversion overhead too14:59.16 
  and the server memory will be stressed14:59.32 
chrisl Generally people who complain gs is too slow don't really understand what it has to do14:59.33 
aiena yeah I guess14:59.50 
  does anyone really understand what gs needs to do14:59.59 
kens I think there's a javascript implementation of PostScript. But its incomplete, and if he thinks *Ghostscript* is slow.....15:00.16 
aiena I have a wild imagination and some experience so I can imagine15:00.19 
  kens: he's approaching it wrong15:00.34 
kens Probably yes15:00.41 
aiena he wants the ps to pdf conversion to be inline with a web paage render15:00.51 
  he needs to design the system so the processing is offloaded to some other server15:01.18 
  and the database just stores the status of the conversion15:01.30 
  or something similar15:01.34 
  then render the ps as pdf when ready15:01.44 
kens Possibly yes. I didn't reply to him because it wasn't clear to me exactly what he wanted and why15:01.46 
  And other people already ahd, so....15:02.00 
aiena lol15:02.44 
  each repy made it worse for the original poster15:03.04 
  lmao15:03.06 
  one suggested compiling a custom browser15:03.20 
  which makes the js interpreter use gs15:03.28 
  pretty sensible in the sense the pdf processing is offloaded to the client15:03.43 
  but hard to pull off15:03.46 
  bye for now15:04.57 
kens bb15:05.08 
aiena sorry for wasting your time i like to talk lol15:05.10 
byoungb I tried searching through the IRC logs to see if this had already been answered. But is there an ETA on a new relase fixing VU#33292815:08.29 
kens We are working on a release currently15:08.44 
  It normally takes us ~1 week of QA15:08.52 
  In the meantime, patches are already available in our Git repository15:09.07 
byoungb okay cool I will apply them to my own RPM for now thanks. So should I just checkout the latest version on git?15:10.02 
kens You could check the 9.24 release tag if you want to match our release15:10.25 
  Though I think currently that is probably the same as our HEAD15:10.45 
byoungb awesome thankyou very much15:11.09 
kens You're welcome15:11.19 
 Forward 1 day (to 2018/08/30)>>> 
ghostscript.com #mupdf
Search: