IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2014/09/28)2014/09/29 
t4nk510 how to use DNOCJK while making .so files in Android04:30.31 
jcyangzh Hi, I am trying to render pdf in an android project using mupdf, but lose the colorspace of jpeg2000 image, could you help me, the long description refer: http://stackoverflow.com/questions/26093305/mupdf-render-jpeg2000-lose-color06:00.11 
kens jcyangzh : nobody is going to be able to ehlp you (either here or on Stack Overflow) withgout seeing teh PDF file causing the problem, knowing which version of MuPDF you are using (it sounds like you are trying to use some hybrid, which is not likely to work) and a means to reproduce the problem in current code.07:02.31 
  If you are trying to use a very old (0.5) version of MuPDF then what you need to do is update to the current version (1.5) not try and pull parts in piecemeal from a newer version.07:03.36 
  chrisl minor nit-pick on the licence agreement in the installer. After the jpegxr disclaimer it says "GPL Ghostscript is free software; you can redistribute it and/or modify it under the terms the GNU..." THas hould read "...under the terms of the GNU...", the 'of' is missing07:48.19 
  I'm sure its always been like that, I only noticed this time.07:48.34 
  Slightly more worrying.... Neither the 32 nor 64 bit versions installed the bin directory!07:49.58 
chrisl Er, really??07:50.14 
kens Not for me, I have libpng, openjepg, trio and zlib only07:50.31 
  I'll uninstall, reboot and try again, I didn't reboot after uninstalling my existing 9.1507:51.25 
  Hmm, only one 9.15 uninstaller in the control panel07:52.05 
  Oh and then it gives me an error trying to uninstall it.07:52.27 
  I'm guesing the original uninstall failed.07:52.34 
  OK reboot.07:53.11 
jcyangzh kens: I am using mupdf 0.5 which is used by vudroid. I could upload the whole project and the specific pdf.07:53.53 
Robin_Watts jcyangzh: You can upload the project and the pdf, but we would be unlikely to look.07:54.38 
  We have enough work as it is without having to try to support some frankenstein version of the code.07:55.02 
jcyangzh Robin_Watts: Ok.07:55.23 
Robin_Watts Use the latest version of mupdf in its entirely, and then we'd be much more likely to look at any problems that show up.07:55.43 
kens chrisl reinstalling failed to install anything at all (installing 'just for me') is there anything in the registry that might hvae been left over that I should kill before trying again ?07:56.55 
  SO installing 'for everyone' worked, but when I try to uninstall it tells me an error occured. SO I'm guessing I have something left behin in the registry which is causing problems with the uninstaller08:00.50 
  Oh, and my GS_LIB is incorrect, which causes the cidfmap generation to fail, but I can sort that out.08:01.11 
chrisl I can probably fix the GS_LIB issue 08:04.28 
kens I'm just trying to find out where the environment variable is set and squash it. AS usual I cna't find it in the control panel08:04.55 
  aha there it is08:05.24 
  The uninstaller doesn't want to work though08:06.10 
chrisl Is this the revised installer?08:07.00 
kens Its your test one08:07.07 
  I uninstalled hte previous 9.15 I had (the released one) then re-installed both 32 and 64 bit test versions08:07.29 
  But I seem to have messed up the uninstaller08:07.41 
chrisl So, in what way is the uninstaller refusing to work?08:07.44 
kens It throws me a dialog saying there was an error and asking if I want to remove the application from the list.08:08.08 
  That's doing it from the control panel08:08.21 
chrisl Hrm, run it from the start menu instead08:08.39 
kens Really ? ok.08:08.55 
  Right, that does seem to work08:09.25 
  It leaves the 'uninstall Ghostscript 9.15 for WIN32' shortcut behind though08:10.03 
chrisl Oh, FFS!!08:10.43 
kens Same for the 64-bit uninstaller08:11.01 
chrisl Did you installer for every one, or current user only?08:11.17 
kens all users that time, because the 'just for me' installation didn't work08:11.39 
  I'll try the 'this user' option again now that the uninstaller has had a fair chance08:11.53 
chrisl Well, it doesn't leave the shortcut in the start menu for me.....08:12.39 
  On Vista08:12.53 
kens Like I said, I think my registry has something left in it. THe 'just for me' installer deosn't work for me.08:13.06 
  Ah wait, I'm looking in the wrong place08:13.32 
  OK there it is. Its caused by the fact that Windows doesn';t like me having Users on drive D08:14.04 
chrisl I'm not exactly sure if there's a way to resolve that...... we write to and delete from the Start Menu that Windows tells us to08:15.07 
kens Its not your fault, that's Microsoft stupidity08:15.28 
  Insistence that User should always be on drive C is inane08:15.43 
  Let me try the uninstaller now08:15.55 
  No, still leaving behind the shortcuts to the uninstaller. I'll delete them manually (if I can remember how) and retry08:17.01 
chrisl OKay, so I see why the uninstaller doesn't work right from add/remove programs..... should be easy to resolve08:18.44 
kens That would be good, I expect a few people use that still08:19.01 
  OK this time the uninstaller shortcut went away. I'll keep poking it08:19.45 
  chrisl I can't replicate the problem, I'm inclined to assume it was caused by me trying to use the control panel and getting things messed up. As long as I use the start menu shortcuts, it all seems to work fine08:24.02 
chrisl Okay, thanks. The license thing it just the text of the LICENSE file (it's not directly part of the installer), so I've fixed that08:25.37 
kens I saw the commit, I didn't realise it was a general file08:25.52 
  Very minor point though08:26.04 
chrisl The GS_LIB issue will take some digging: my feeling is that I want to set it *only* for the duration of the installer executable, rather than overwrite the user's existing setting.08:27.39 
kens That would seem reasonable, I've just killed it in my environment as it annoys me, whenever I try to run an installed older GS I have to remove it.08:28.18 
chrisl We should maybe make an easy way to set it in the registry instead08:29.10 
kens Instead of an environment variable ?08:29.40 
chrisl No, as well as....08:30.00 
kens Ah ok08:30.04 
chrisl We currently have a GS_LIB in the registry, and we check the environment variable first, then the registry value. The advantage of the registry setting is that it's tied to the GS version08:31.01 
kens That's nicer, certainly08:31.16 
chrisl But you have to edit the registry manually to change it from what the installer writes there08:31.47 
kens Hmm, that's less nice08:32.04 
  But I suspect not a huge issue08:32.27 
chrisl Yeh, so a little standalone app that let you set GS_LIB, FONTPATH etc. might be nice08:33.22 
kens A power user option :-)08:33.35 
tor8 has Miles said which hotel we'll be staying at?09:27.26 
kens Not that I've ssen, I was going to send a mail to ask09:27.41 
  Need to know by tomomrrow evening09:27.53 
chrisl It might be better to SMS henrys to prompt Miles, if they're at the show.....09:29.23 
kens wonders if Miles remembered to book a hotel....09:31.40 
chrisl We should definitely establish that before going to the airport!!09:32.52 
tor8 ... it wouldn't be the first time he's cocked up bookings :(09:34.00 
kens Will one of you text Henry ? Might be best to wait a couple of hours so as not to get him out of bed by mistake09:34.47 
chrisl Well, it would teach him not to leave his phone active overnight!09:35.23 
kens Yeah, but I'd quite like an answer :-)09:35.38 
jogux I guess you guys in the same hotel as me? I'm in Sheraton Chicago O'Hare Airport09:43.58 
kens jogux : We can hope its the same hotel, thanks for the info :)09:44.19 
  Its certainly a likely candidate09:44.27 
jogux :)09:46.00 
tor8 jogux: thanks. if I hear nothing else that's where I'll go. I believe I'm scheduled to arrive a few hours later than everybody else, at 17.4009:49.34 
kens tor8 a cunning plan, hopefully by then you can ask one of us :-)09:50.13 
tor8 kens: indeed! It may be too late to join you all for dinner though.09:53.31 
kens Hmm, probably eating in the hotel, if I remember the area correctly09:53.54 
tor8 and remember that the hotel shuttles only leave from the domestic terminals09:54.32 
kens Ah, a good spot there, well remembered tor809:54.49 
jogux tor8: oh, joy.09:58.15 
tor8 jogux: yeah, don't repeat the same mistake we all did the first time in chicago and wait an hour at the international hotel shuttle stop for a shuttle that only comes there if called for.09:58.59 
  it's faster to just go to the domestic terminal bus stop than call and wait the extra half hour they need to tell the driver to stop by there09:59.27 
jogux my current assumption wsa that it was walkable, but I'd forgotten that "airport hotel" means something different in the UK & US...10:00.03 
kens You'll want the shuttle.....10:00.20 
tor8 jogux: yeah. the hotels are a good 10-15 minute drive out, along unwalkable highways.10:00.44 
jogux google reckons it's walkable in an hour ;)10:00.59 
tor8 do they mention survival odds? ;)10:01.15 
jogux they do not.10:01.22 
kens I suppose technhically its possible....10:01.25 
jogux ah, " This route has restricted usage or private roads."10:01.36 
  which iirc is their code for, "you'll get 75% of the way then find a frigging huge fence, it'll actually take you about 3 hours"10:02.14 
kens I htought that was code for 'why do you want to walk you sad foreign loser' ?10:02.50 
jogux :)10:03.24 
tor8 "walkable if you've got body armor, bolt cutters, caltrops and are prepared to use them"?10:03.26 
jogux http://edition.cnn.com/2014/09/28/travel/chicago-ohare-midway-flights-stopped/10:11.19 
kens henry pointed it out the other day :-(10:11.43 
jogux ah, missed that.10:11.50 
  sounds pretty bad :(10:13.50 
kens Well its better than it was a few days ago10:14.07 
jogux nods10:14.42 
kens be prepared for significant delays on landing and leaving though10:14.48 
tor8 I'm very happy that I have a direct flight!10:15.23 
Robin_Watts Which hotel are we at?10:31.29 
kens We don't know10:31.45 
Robin_Watts I think jogux might.10:31.52 
kens Yes, he suggested the Sheraton10:32.03 
  But that assumes we are all at the same hotel10:32.36 
Robin_Watts Right. That's where we were last time.10:32.42 
  I'm sure we'll all be at the same one.10:32.47 
chrisl Henry will prompt Miles about the hotel in a little while13:04.52 
kens thanks chrisl13:05.09 
Robin_Watts I am 99.9% sure that we'll be at the same hotel as Joseph, as otherwise he'd have warned Joseph that he had to change hotel for the meeting.13:07.18 
kens Me too, but its worth a check13:07.31 
chrisl Robin_Watts: as tor8 observed, it wouldn't be first time there'd been booking mix-ups13:08.57 
Robin_Watts be fair. The booking mixups only ever affect tor.13:09.20 
chrisl It was Marcos in Texas.....13:09.45 
Robin_Watts oh, true.13:09.59 
chrisl You are almost certainly correct, though. But, like kens, I'd prefer to be sure13:10.51 
Robin_Watts sure. asking doesn't hurt.13:11.08 
Robin_Watts remembers to phone credit card people more than 24 hours in advance for a change.14:16.43 
kens OK so it is indeed the SHeraton14:23.00 
chrisl <sigh> Windows is bonkers, and I hate it...... :-(15:47.40 
kens More installer trouble ?15:47.53 
jogux chrisl> yep. :(15:48.06 
chrisl kens: One of the issues you spotted this morning.....15:48.21 
kens I had a feeling ti would be that... :P-(15:48.34 
chrisl The UninstallerString reg entry, it seems, must be an actual executable file, and not a shorcut/link file15:49.09 
kens THat does seem odd.15:49.43 
chrisl In addition, the uninstaller section in the registry does not, as far as I can see, allow for a parameter to be passed to the uninstaller15:50.08 
kens knows nothing about the canonical uninstaller stuff tehse days15:50.37 
chrisl But wtf is the point of shortcuts if Windows itself doesn't handle them (in some presumably unspecified cases)?15:51.26 
kens Well I've never liked them :-)15:51.44 
chrisl Perhaps I can do it with a batch file instead.....15:52.10 
kens Well, they are executable15:52.27 
chrisl Well, really, so is the shortcut - it depends on whether the add/remove programs part of Windows understands them......15:53.07 
kens a .bat has been executable for a lot longer than a .lnk :-)15:53.35 
  You could always write an executable in C to do the work15:54.11 
  Even if it just spawns a batch file15:54.21 
chrisl True, and I will as a last resort. But I'm hoping to keep this contained inside the installer code15:54.51 
kens Robin_Watts : if you look at the altona file in Acrobat with 'simulate overprinting' you will see what it (and the top right bars) should look like15:55.18 
Robin_Watts kens: Right, but we don't do that shit :)15:55.32 
kens SOrry for 'it' read 'the overlapping circles'15:55.35 
  Robin_Watts : you can't, not if you convert everything to RGB15:55.55 
  But the squares in the orange in the centre image look wrong15:56.07 
Robin_Watts indeed. I compared png16m of gs to png of mupdf, which seemed 'fair'.15:56.19 
  but I have no idea about the image.15:56.33 
kens Hmm, your ourput hasn't got the strange squares that Henry's has15:56.49 
Robin_Watts I'd have to take the file to bits to see what it's doing, and I don't have time. One for Tor8, possibly.15:56.50 
kens Oh sorry, yes it does, wrong png15:57.07 
Robin_Watts My output has the 'X'.15:57.11 
  I've seen that in other test files, and it's to do with overprint I think.15:57.26 
kens I suspect that is overprinted too15:57.27 
  :-)15:57.31 
  Hmm, doesn't turn up in Acrobat if I turn off voerprinting15:57.59 
  Could be a colour management thing15:58.09 
  GS gave some warnings about ICC profiles15:58.17 
  No, three's no overpint there15:59.20 
  Hmm, cna't edit the file in Acrobat.16:00.50 
chrisl kens: was it the altona tests that had a contrasting color as a fallback for ICC colors, so objects appeared (or appeared more clearly) if you didn't handle ICC profiles?16:01.01 
kens chrisl THat is what I suspect, or something like that16:01.24 
chrisl I can't remember if was Altona or Ghent that had a bunch of tests like that.16:02.16 
kens I thinnk both do16:02.21 
  Either way, I don't believe its anything to worry about16:02.50 
rayjj do any of you know how hard it would be to back convert a VS 2010 solution file back to a 2008 version ?16:03.24 
kens I cna see x in the GS output, but it very faint16:03.28 
  rayjj I think that's pretty hard16:03.48 
  Though I haven't tried it16:04.05 
Robin_Watts rayjj: urg. That's not trivial.16:04.22 
  They changed the format of the file considerably.16:04.30 
  Separate .filter file for a start.16:04.38 
chrisl And presumably there isn't an "export" function....16:04.48 
Robin_Watts sorry, separate filter section I mean.16:04.57 
  rayjj: That's why I lobby for always shipping the earliest versions possible.16:05.29 
rayjj oh, darn. Then I have to either (a) find VS 2010 express to download and install, or (b) change cust 532's batch file over to work with VS 2013 :-(16:05.32 
  hmm... it seems that MS still has 2010 express available :-)16:06.56 
Robin_Watts http://www.downloadcrew.com/article/4338-microsoft_visual_studio_2010_express_iso16:07.14 
rayjj Robin_Watts: thanks. I'm using http://www.visualstudio.com/en-us/downloads#d-2010-express16:08.28 
Robin_Watts ah, great.16:08.43 
rayjj wow! That was fairly painless and quick. And it even runs :-)16:12.46 
  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt -- but it doesn't tell me which file :-(16:27.11 
  Robin_Watts: re the Altona image, what do you mean by "The X on the orange is wrong" ???18:00.53 
  Oh, on henry's copy. nm18:01.34 
fredross-perry If anyone’s on, here’s a thing. I use MS Word on OS X to create a document with some links. I can save as PDF, or print to PDF. Either way, fz_load_links does not find the links. Is this a known thing? If instead I use a free online docx-to-pdf converter, it works fine. Thanks.19:37.14 
sebras mutatormath looks interesting if you are considering MM-fonts, no..?22:54.23 
  tor8: robin: ^^22:54.34 
mvrhel It was the Ghent tests that have the ICC tests23:51.37 
 Forward 1 day (to 2014/09/30)>>> 
ghostscript.com
Search: