IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2014/08/26)2014/08/27 
vtorri hey07:12.40 
ghostbot Welcome to #ghostscript, the channel for Ghostscript and MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line.07:12.40 
vtorri no shared lib is planned yet for mupdf, right ?07:13.00 
Robin_Watts nope.07:45.02 
vtorri Robin_Watts: btw, would it be possible to update the file CHANGES ?07:54.03 
  Robin_Watts: it is stuck to version 1.307:54.17 
chrisl vtorri: it is up to date, just the version number is wrong07:56.10 
Robin_Watts I think 1.4 was a bug fix release out a day after 1.307:56.24 
  (or so)07:56.33 
vtorri and 1.5 ?07:56.35 
Robin_Watts Sorry.07:57.08 
  1.5 was a bug fix from 1.407:57.17 
  The changes file lists the changes *since* 1.307:57.26 
vtorri http://git.ghostscript.com/?p=mupdf.git;a=blob;f=CHANGES;h=cdebf4f7184071da045bb71f6ddf07f116c7f9f4;hb=HEAD07:57.33 
  still 1.3 here07:57.33 
  while 1.5 is out07:57.39 
  haa07:57.48 
  ok07:57.49 
  thank you07:58.05 
rayjj kens: are we going to help cust 501 ?13:52.53 
marcosw sebras: I'd like to update/reboot casper; can you logout or give me the go ahead?13:52.57 
rayjj votes no13:52.58 
kens rayjj what is the problem with cutomer 501 is there an emaikl I can look at, a bug report ?13:53.24 
  rayjj I'd be grateful if you could check my fix for bug 695439 too13:53.42 
  See if teh memory problem goes away for you too13:53.51 
  Ah customer 501 is the one with the printer problem. I sent an email to support saying I didn't see any point in a phone call13:54.21 
  If they've got information from MS they can share it in an email. But frankly its a Windows installationproblem.13:54.47 
rayjj kens: is that on your git repo (I obviously haven't checked)13:54.53 
kens rayjj no I just commited it :-)13:55.01 
rayjj kens: yes, the call with Nish13:55.06 
  kens: even easier -- I'll pull it in just a minute13:55.22 
kens Its bascially the same problem as OutputICCProfile13:55.36 
rayjj kens: I agree that it isn't our problem, but I'm sort of curious what they have to say. (re 501)13:55.52 
kens I suspect what they have to say is 'your problem, you fix, we too stupid'13:56.18 
rayjj kens: probably so. That or they want us to fly to the customer's site :-)13:57.16 
Robin_Watts I suspect we ought to offer to talk to 501, if only to say "You're a car dealer. You've bought a car from us, and you've sold it to a customer. When the customer complains that they have no roads, this is not our fault."13:57.19 
rayjj Robin_Watts: he he13:57.42 
kens MS probably told them 'there's a file missing', which I already told them, and which they claim they already knew. So they probably want to tell us that MS said there's a file missing, and its our fault13:57.44 
rayjj henrys: Unless you object, I'll call Nish at the appointed time (11:30 EDT) -- although I wonder if he really meant EST or EDT ???13:58.45 
kens I plan to l;eave it to henrys, if he wants me to talk to them I can do so.13:58.48 
rayjj kens: I figured that it's after your work hours (mostly)13:59.16 
kens rayjj I think he meant that was the times between which he would be available, rather than an appointment13:59.19 
  rayjj, 11:30 am Eastern I cna do easily enough13:59.33 
  Its only +4 hours13:59.46 
  But if you're volunteering, don't let me stand in your way :-)14:00.14 
rayjj kens: If I talk to them, I can play it even dumber ;-) (and claim I am just gathering information to refer to our expert -- you)14:01.14 
kens ROFL14:01.22 
henrys rayjj: as you wish I'd prefer not entertain them. We've told them what we can and if they would like to send us more information about the problem we can probably say more. There CTO and a phone call is not going to give us more information. What kens said is a good response.14:02.00 
rayjj or if we really want to play dumb, we can have henrys talking to them about their windoze problem ;-)14:02.15 
henrys rayjj: yes that would send them out the door screaming14:02.59 
rayjj henrys: then we should tell that to the customer14:03.01 
henrys rayjj: yes but this is the time we say thank god marcosw is back and move on.14:03.27 
kens was leaving the response to Marcos or henry14:03.30 
henrys I will assign it to marcosw and volunteer to respond so there is not confusion (in email to support)14:04.26 
kens Fine by me....14:04.46 
rayjj I'm too busy laughing at the 'critical' bug "I'm conversioned tiff Image from bbbb.pdf , have wrong! And I need help ThankYou" :-)14:05.23 
kens Yeah... But I'm not going to laugh, I suspect I'd do worse in his native language.14:05.48 
  There clearly was a problem there, as 9.14 throws warnigns, but the current code doesn't.14:06.16 
rayjj kens: I wonder if the SAFER code isn't allowing the CIDFont14:11.59 
kens rayjj it worked for me using current code even with -dSAFER, the font is embedded in the PDF file14:12.21 
rayjj looking at PermitFileReading I see (%romesource/*/*) so it should be OK14:12.51 
kens Chris has done changes since 9.14, I'm assuming one of them has fixed it14:13.02 
chrisl rayjj: there is an issue when the CIDFont fall back is not in the romfs - I haven't been able to sort that14:13.29 
rayjj looking at PermitFileReading I see (%rom%Resource/*/*) so it should be OK14:13.32 
  kens: look at output from: currentuserparams /PermitFileReading get ==14:14.45 
kens Umm, OK, what am I looking for ?14:14.58 
rayjj this doesn't include any other Resource/*/* -- just the %rom% one14:15.17 
kens All I get is [(*)]14:15.35 
rayjj with -dSAFER ?14:15.46 
kens Ah, you didn't say that >:-)14:15.55 
rayjj kens: sorry -- I was thinking it loudly,, however ;-)14:16.17 
kens Mine includes /ghostpdl/gs/Resource/Init/*14:16.53 
  twice in fact....14:17.04 
  Also c:/gs/gs9.15/Resource/Init/*14:17.38 
  And d:/ghostpdl/gs/Resource/Init/*/*14:17.53 
  And c:/gs/gs9.15/Resource/Init/*/*14:18.18 
rayjj I see: [(%rom%Resource/Init/*) (%rom%lib/*) (c:/gs/gs9.15/Resource/Init/*) (c:/gs/gs9.15/lib/*) (c:/gs/gs9.15/Resource/Font/*) (c:/gs/fonts/*) (%rom%Resource/Init/*/*) (%rom%lib/*/*) (c:/gs/gs9.15/Resource/Init/*/*) (c:/gs/gs9.15/lib/*/*) (c:/gs/gs9.15/Resource/Font/*/*) (c:/gs/fonts/*/*) (%rom%Resource/*) (%rom%Resource/*/*)]14:18.53 
kens And finally, d:/ghostpdl/gs/Resource/* and d:/ghostpdl/gs/Resource/*/*14:18.58 
rayjj kens: note that is NOT an installed version of gs -- just the local one14:19.33 
kens I have ghostpdl/gs/Resource/Init in my GS_LIB environment variable14:19.35 
  and mine is also not an installed version, its the current working code14:19.55 
rayjj kens: right -- I don't have a GS_LIB environment variable14:20.22 
kens Ah, weirdly I have ghostpdl/gs/Resource/Init in my GS_LIB environment vriable twice, which is why it comes out twice14:20.37 
rayjj I suspect that we need Resource/*/* _NOT_ Resource/Init/*/* -- the GenericResourceDir should be searchable14:21.42 
kens I do have /Resource/*/*14:21.59 
  I just zapped the environment variable, lets see now14:22.21 
  Yes, withtout that I don't get the on-disk resources listed14:23.00 
  I can't say it bothers me hugely, if you want to use -dSAFER then you need to sort your paths out14:23.54 
kens guesses ray isn't with Time Warner Cable.......14:26.43 
  http://www.theregister.co.uk/2014/08/27/time_warner_cable_outage_us/14:26.54 
marcosw henrys: saw the discussion re. customer 501 on irc already and will reply14:28.40 
kens Henrys already did14:28.56 
  to you that is14:29.04 
rayjj kens: I am with TWC -- both here in the house and at the office (peeves, peeved)14:29.51 
kens THen I guess you are lucky :-)14:30.00 
rayjj kens: better lucky than good :-)14:31.24 
  kens: your patch causes this to stay in 1 bit mode: gswin32c -sDEVICE=bit -o x.gray -c "<< /GrayValues 256 >> setpagedevice" -f examples/tiger.eps14:37.36 
sebras marcosw: hi! let me just figure out how to save my irc session.14:37.59 
kens Yeah, it would do that. In that case I'm not sure I see a solution14:38.01 
sebras marcosw: unless you are in a hurry of course!14:38.08 
kens rayjj I'll think about it some more, I think changing GrayValues in setpagedevice is probably kind of rare14:38.33 
rayjj kens: at least this still works: gswin32c -sDEVICE=bit -dGrayValues=256 -o x.gray examples/tiger.eps 14:38.49 
Robin_Watts marcosw: I didn't see any email come in from the "potential customer" behind bug 695450 14:39.17 
  should I have done? Was it not copied to support ?14:39.27 
kens grr network hiccuped14:39.59 
Robin_Watts oh, NOW I see your reply. Sorry.14:40.04 
kens rayjj I suspect that's because the command line parameter parsing doesn't go through the setpagedevice mess.14:40.26 
sebras marcosw: ok, I think I'm done. I'll log out now and try to log in later tonight.14:42.20 
kens rayjj what are you using to view the output of that command line ?14:44.18 
rayjj kens: your patch _does_ cure both problems for me (no more ilocate issue or segfault, and no rangecheck)14:44.22 
kens OK well that's something at any rate.14:44.33 
  I think I see why the RedValues etc doesn't work. .installpagedevice doesn't call currentpagedevice, it calls .currentpagedevice, which doesn't refresh parameters from teh dynamic keys14:45.09 
  Chaning it to currentpagedevice may be enough14:45.21 
  THis really is a terrible morass of hacks kludges and mistakes14:46.03 
rayjj kens: just looking at the hex, but gswin32c -dGray -dBITS=8 -- lib/viewraw.ps x.gray 612 will show it14:47.51 
kens OK let me try that....14:48.05 
rayjj kens: and -dBITS=1 for the 1 bit case14:48.46 
kens I don't have a viewraw.ps in lib.....14:50.10 
rayjj oh, maybe I never pushed that :-(14:50.49 
marcosw I'm going to update and reboot casper; assuming nothing goes wrong it will be down for <~5 minutes.14:51.26 
rayjj yep -- it's untracked. sorry14:51.38 
henrys tor8: so everything up to epub3 is doable by end of December?14:52.43 
  tor8: I'm looking at your document14:52.56 
kens rayjj can you mail it to me ?14:54.15 
rayjj kens: OK, and if you don't object, I'll commit it :-)14:54.40 
kens Sure, maight as well14:54.50 
tor8 henrys: my 'first target' is doable by end of december14:54.58 
rayjj kens: sent -- let me know if it comes (I had a strange script popup dialog when sending)14:57.02 
tor8 henrys: of course, december estimate is if I drop everything I'm doing at the moment. can't promise a date if I spend 2/5 days a week on it.14:57.04 
kens rayjj well if you commit it to Git I can pick it up from there anyway14:57.18 
henrys tor8: and everything about between the first target paragraph and EPUB 3 is part of the first target?14:57.31 
rayjj tor8: what, your doubling your usual work days ??? ;-)14:57.35 
tor8 rayjj: ;)14:58.00 
  henrys: "match the EPUB 2 formatting capabilities as used in14:58.09 
  common e-ink readers such as the Kindle, Kobo, and Sony readers. This is the basic14:58.09 
  CSS box model with margins, borders, padding, font styles, and floating images."14:58.09 
jogux henrys : it's stuff veracode is throwing up (missing checks for malloc/strdup failure), and I can't even figure out how to export that section from the report :-(14:58.47 
tor8 tables, not part of the december estimate.14:58.53 
kens rayjj arrived just fine thanks14:59.01 
tor8 right-to-left, not part of the december estimate.14:59.24 
kens LOL "as a print driver provider". Try again, we don't provide a printer driver. A .inf fiule is not a printer driver.14:59.35 
tor8 and epub3 stuff listed below that, definitely not part of the december estimate :)14:59.36 
rayjj kens: as mentioned, I need to fix the 1 bit case (needs inversion)15:00.37 
kens yeah I saw that, NP15:00.46 
  Just so I canlook at the output and see if my hackery works15:01.07 
marcosw sigh, caspers rsa keys changed during the update. I'll need a bit to fix it.15:02.33 
henrys tor8: go ahead and start if you haven't already.15:05.55 
  tor8: as chrisl wondered ruby, really?15:06.36 
tor8 henrys: okay. have you talked to miles?15:06.45 
  henrys: ruby annotations, not the language15:06.51 
henrys tor8: yup15:06.52 
tor8 henrys: so part time on epub?15:07.15 
henrys tor8: yup15:07.21 
tor8 henrys: check.15:07.36 
henrys tor8: it is independent of the customer, we'll take their money if they offer it but we want to do it.15:07.53 
tor8 henrys: thanks. that makes me less stressed out about it :)15:08.08 
kens Well, that quick hack didn't work :-(15:18.05 
henrys Robin_Watts: do you want me to respond to the customer about epub or would you like me to. We are undertaking the project but we are not going to meet their schedule or implement all the features they want. 15:21.52 
  s/like me to/like to/15:22.07 
Robin_Watts henrys: I can reply if you want, but it sounds like you've got a better grasp of exactly what we are doing.15:25.00 
henrys Robin_Watts: no problem15:25.13 
Robin_Watts has solar hot water system. Yay.15:26.42 
Robin_Watts just needs an electrician to wire up a plug to plug it into now...15:26.59 
kens Just int time for the sun to go away for 6 months15:29.10 
Syntax Hi all, quick MuPDF question if that's OK?15:30.22 
henrys yeah why are we going there in December somebody remind me ;-)15:30.26 
Robin_Watts Syntax: Sure, shoot.15:30.33 
kens henrys I guess you Yanks don't get enough rain15:30.51 
Robin_Watts "cos it will be pretty just before Xmas", was Miles' reason.15:30.59 
Syntax Thanks! basically I've got it working really well in eclipse, but I want to use Gradle build flavors and having trouble when importing my projects into Android Studio15:31.05 
kens and probably too much sunshine15:31.11 
henrys sabrina and I are planning on going to paris. Is it about the same there in December?15:31.42 
Robin_Watts Syntax: We don't use eclipse, or gradle, or android studio. But other than that, we're ideally placed to help :)15:32.03 
  henrys: with more BO and dog poo, yes.15:32.10 
kens Its a bit warmer, doesn't get dark quite so early and isn't quite so wet, but broadly the same yes15:32.15 
Syntax interesting!15:32.36 
henrys tor8: I'm changing impossible features to "leave for OEM's to implement" if that's okay.15:34.59 
pedro_mac marcosw: has casper’s server key changed after the update?15:38.15 
  one of my build machines is complaining about a having a different cached key when it tries to git fetch from casper15:40.32 
  having said that, my laptop doesn’t complain, so possibly just a problem with the other build machine15:41.10 
Syntax Robin_Watts Do the .so files contain the native code as well as the encoded/compiled mupdf dependencies etc?15:42.25 
marcosw pedro_mac: yes, but I've put the previous server keys back15:45.37 
kens Agggh!! .currentpagdevice is a C operator This is *soooo* messed up.....15:45.57 
Robin_Watts Syntax: Sorry?15:50.53 
  There is only one .so file for the android app, IIRC.15:51.22 
Syntax that makes sense15:51.44 
Robin_Watts And that contains 1) The MuPDF native code, 2) The thirdparty libs we rely on (jpeglib, zlib, mujs etc), 3) the JNI interface code.15:52.07 
Syntax I modified the ABI level to build for all, but I assume the reason there is/was only one is that there's only one hardware type to consider15:52.10 
Robin_Watts Syntax: You can build a 'fat' apk with .so's for all types in, but we don't do that, cos it would make the apk huge.15:52.54 
  Instead we build 4 different apks, one for each arch, with different version numbers, and upload them all to google play.15:53.17 
Syntax is there any value in the fat apk?15:53.19 
Robin_Watts google play then serves the right one out to each device.15:53.31 
Syntax smart15:53.42 
Robin_Watts Syntax: For projects with tiny native code, then yes, the convenience of a single apk that runs on everything is a win.15:54.05 
pedro_mac marcosw: thanks - I think it was actually Sourcetree which was out of sync - putty and ssh seemed fine and sourcetree is ok after a restart15:54.09 
Robin_Watts For us however, no way.15:54.11 
tor8 henrys: yeah, that's fine15:56.11 
Syntax Robin_Watts Cool, so I believe that means if I provide the right .so file and manage to create a suitable .jar file with the class files, resources, strings etc then I should be able to get it to work without having a module in Android Studio (just a .jar and .so) 15:59.40 
Robin_Watts pass. I don't know what you mean by a 'module' in Android Studio, not being a user of that.16:00.40 
Syntax Ahh, modules are like sub projects, a way of incorporating android libraries within the android studio project16:03.58 
  I'll let you know how I go :P thank you for your help16:04.14 
Robin_Watts Syntax: no worries.16:09.28 
  It sounds to me like it shouldn't be hard to import MuPDF into Android Studio though. It's not like it's particularly complex.16:09.29 
marcosw henrys: is there a reason your cluster nodes are down?16:10.47 
henrys marcosw: not a good one ... I'll enable them16:13.20 
kens Goodnight folks16:14.13 
Syntax Robin16:27.46 
  Robin_Watts in the am i'll create an AAR (http://tools.android.com/tech-docs/new-build-system/aar-format) which will fix the only thing I'm missing (resources not being consumed properly). Thanks again16:28.11 
  night all16:28.20 
rayjj marcosw: IMHO, we should tell cust 501 (again) that we don't do a printer driver and that an INF is *NOT* a printer driver, and the inf is all that we provide !!!16:33.54 
  basically these guys need to find a real expert in this area of Windows 16:35.20 
  marcosw: from the "fixit" link you sent them, it seems that their error code 0x00000002 _was_ mentioned, with a little more information: Windows cannot connect to the printer. Operation could not be completed (error 0x00000002)16:39.36 
  marcosw: since they use their own funky port method (via TCP/IP protocol stack), it is probably that the problem is with that, since the failure code 2 is related to connecting to the printer16:40.55 
  marcosw: iit was their very first message that had a screenshot with that code in a popup dialog (from 8/21)16:42.40 
marcosw rayjj: they said that what they are doing as worked on other windows 7 machines, so I'm presuming that it's something related to the specific windows 7 install. otoh I agree it's not our problem (and based on the google the 0x0000002 error is common to many printer installs, so presumably something funky in windows).16:52.51 
rayjj marcosw: agreed. Too bad I don't know any printer driver experts.16:54.01 
  marcosw: are you going to tell Nish that we can't help them? 21:11.52 
mvrhel_laptop Robin_Watts: ping21:29.45 
marcosw rayjj: yeah, was busy working on setting up MOCA to replace the ethernet of 110V. BTW, MOCA is much better, faster, less latency, and doesn't get stuck.22:18.43 
Robin_Watts pong22:24.53 
  reboot22:40.20 
 Forward 1 day (to 2014/08/28)>>> 
ghostscript.com
Search: