IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2015/04/21)20150422 
x1 I currently use xdotool for sending keystrokes to mupdf. Is there a clean alternative?00:33.22 
henrys mvrhel_laptop: huh downloaded gsview_setup - chrome reported it isn't commonly downloaded and could be dangerous. I wonder if that is google or windows behind that.01:37.57 
  ?01:38.01 
mvrhel_laptop henrys: that is windows I believe03:27.46 
  we would need to look into the digital signing stuff03:29.41 
  I think we look at getting a certificate at some point but it was pricey03:36.12 
x1 I currently use xdotool for sending keystrokes to mupdf. Is there a clean alternative?08:23.59 
kens Not a questoin you're going to get an answer to here I don't think. Hae you tried Google ?08:24.32 
tor8 x1: clean alternative to do what?08:25.03 
kens xdotool simulates keyboard input, I assume he wants to drive MuPDF in some automated fashion. Its not really a queston we can answer08:25.39 
  Essentially you could view it as a scripting method for X11 applications I guess.08:26.18 
chrisl I would think that is the best solution - mupdf is never going to support anything like dbus directly.....08:27.00 
tor8 kens: right. well, depends on what you are actually trying to accomplish... mudraw might be better suited, but if you want to control the app then sending keys is like chrisl says probably the best it's going to get.08:27.51 
kens tor8 agreed, but is there something more 'clean' ? I have no idea, and I doubt its a quesotn we can answer, especially since he hasn't explained what he's using it for.08:28.47 
tor8 if you're just trying to do a slide show, there's presentation mode. but without knowing what he's trying to use it for we can't reasonably answer.08:30.17 
kens Which is why I suggest google....08:30.44 
x1 Current use: http://sprunge.us/XaEB?sh08:33.04 
kens Doesn't mean anything to me, what are you trying to achieve with this ?08:33.31 
tor8 kens: looks like setting fit-to-page and invert the colors08:34.14 
  x1: your best bet would be to add command line options08:34.25 
kens Yes, but why ? :-)08:34.27 
tor8 kens: a guess? tiny screen (or tiled window manager that doesn't respect default window sizes) and a (perverse) preference for white text on black background :)08:35.40 
kens I suppose the obvious next question is what he means by 'clean'08:36.33 
  I suppose if he likes that result he could simply hack the viewer to always start up like that.08:37.04 
tor8 kens: waiting for the app to start, finding out its window, to send some key strokes .. it's not 100% reliable and does feel like a bit of a hack.08:37.07 
  hacking the viewer to start that way would be trivial. adding command line flags almost as trivial.08:37.22 
x1 tor8: so state the obvious :)08:38.35 
tor8 autozooming is going to be more difficult, since we don't actually have a mode for page sizing08:38.38 
  x1: platform/x11/x11_main.c08:38.50 
  add "I" to the getopt() line, and then case 'I': gapp.invert = 1; break;08:39.02 
  then you can start mupdf with a -I flag and it'll invert the page by default08:39.51 
  http://pastebin.com/BVy8RMsC08:40.33 
x1 thank you.08:41.04 
tor8 x1: we can't autosize at startup, but if you know the approximate size you can use the -r flag to set the default zoom level08:41.56 
  it's usually picked up from the X server (which is probably going to be something like 96)08:43.25 
Robin_Watts chrisl: ping10:48.17 
  chrisl: I tweaked the ghostscript.com website last night to alter the GSview.html page.10:48.46 
  GSview.html now redirects to GSView.html, and that now has revised text to point to gsview.com10:49.06 
chrisl Robin_Watts: thanks, I saw your mention of it in the logs11:21.42 
Robin_Watts chrisl: I know you said you planned to work on gsview.com today.11:22.07 
  I noticed that that was identifying it as "GsView" rather than "GSView"11:22.19 
chrisl Well, I said "in the next week".... I have to prepare myself psychologicalyl for html hackning :-(11:22.46 
Robin_Watts http://www.mobymemory.co.uk/ssd-s/5865-ocz-240gb-arc-100-series-sata-30-6gb-s-25-ssd-0842024036487.html11:34.46 
  480GB SSD for 128 quid. Seems like a bargain.11:35.01 
  People that dislike skype because of the adverts: http://www.cnet.com/how-to/how-to-disable-ads-in-skype/11:37.07 
  (I can't help if you dislike skype for other reasons :) )11:37.21 
chrisl I just dislike skype - I find the UI unpleasant.....11:37.49 
Robin_Watts Yeah, MS do seem to have made it worse and worse and worse...11:38.11 
  There is a "Compact Chat View" in the Tools -> Options -> IM & SMS ->IM appareance tab that helps a bit.11:39.53 
chrisl Possibly not in the Linux one, it seems to lag behind. I'll check next time I fire it up11:40.33 
Robin_Watts chrisl: yeah, probably not.11:40.47 
tor8 Robin_Watts: did that. lost the ads, but did not get back the screen estate reserved for the ad.13:15.16 
paulgardiner The second part got back the screen realestate for me13:19.51 
kens <sigh> Just updated Skype (because it insisted), the UI is even worse than it was before ...... :-(13:25.47 
  As paulgardiner says, the editing of config.xml does add back the screen real estate for me too13:34.41 
astrodog There used to be some XMPP <-> Skype bridge thing you could use.13:34.54 
kens * Define the device as 8-bit gray scale to avoid computing halftones.13:35.12 
  */13:35.12 
  subclass_std_device_dci_body(gx_device_mplt, 0, "Mono_PCL_Palette", default_subclass_finalize, &st_pcl_mono_palette_device,13:35.12 
  MAX_COORD, MAX_COORD,13:35.12 
  MAX_RESOLUTION, MAX_RESOLUTION,13:35.13 
  1, 8, 255, 0, 256, 1),I still don't like the UI though13:35.13 
  O.O13:35.22 
  Sorry about that.....13:35.27 
  I still don't like the Skype UI though13:35.39 
paulgardiner I updated too, clicking through two screen quickly without looking at check boxes :-( Bet I have to reset some stuff on my browser now.13:36.04 
kens The cutesy-poo speech bubbles are really annnoying13:36.16 
  paulgardiner : you'l;l have bing and/or MSN as your home page now13:36.38 
  I forget what the other screen did13:36.47 
paulgardiner Hmmm, That was what I was expecting, but I don't seem to13:37.00 
kens Ah, it make sBing your default search engien and MSN your home page13:37.21 
  I forget the 3rd option sorry13:37.29 
astrodog The last time I ran through Skype updates... it was some "User Experence Reporting" thing.13:37.35 
kens It probably doesn't take effect until you restart your browser13:37.42 
  Robin_Watts : what version of Skype are you using ? THere's no compact Chat View in my version under IM appearance13:47.22 
Robin_Watts 7.3.0.10113:47.45 
kens Oh mine is older (and I just updated, boggle!)13:48.07 
Robin_Watts Also, I have the font set to 8pt Segoe UI.13:48.16 
  You can turn off the timestamps and the pictures of people too to save more space if you want (though I haven't done that)13:49.01 
kens Yeah I tuned off the pictures already13:49.12 
  And indeed when I c heck updates 'there is a new update available'. So why the f**k did you install an older one then ?13:49.46 
  paulgardiner : THe first check box is to install 'Skype Click to Call' whatever that is13:50.26 
Robin_Watts That turns phone numbers in webpages into clickable links that trigger skype.13:51.00 
  You do NOT want that, as it slows everything down.13:51.07 
kens I unchecked *all* the boxen :-)13:51.23 
paulgardiner Right. Let's see if I can uninstall that13:51.35 
  Gone13:52.19 
kens Well, compact chat view made no difference, and despite unchecking the piuctures box, they are still present.....13:52.31 
Robin_Watts I may have lied about being able to remove the pictures.13:53.01 
  and the compact chat view does make a difference, just not much of one.13:53.15 
kens No the check box is there, and it worked with the older verison, but not with ths one13:53.17 
Robin_Watts Which check box? I couldn't see it13:53.31 
kens Its possible setting config.xml to read-only has broken it13:53.34 
Robin_Watts I didn't set my config.xml to readonly.13:53.49 
kens I did :-)13:53.59 
Robin_Watts so I'm expecting ads to maybe reappear at some point.13:54.03 
kens In general settings, 'show profile pictures'13:54.10 
Robin_Watts oh, great.13:54.23 
  the pictures disappear, but the space is still used.13:54.34 
kens I'd assume that its possible ads will reapper yes, or at least the placeholder will13:54.34 
  Yeah, but I don't like the pictures13:54.47 
  OK Compaxct chat view is a little better. Blink anud you miss it level of better, but I'll take anythign13:55.46 
paulgardiner Since messing with the Skype config file, BSvcProcessor.exe keeps crashing... or maybe it's just that I updated14:03.41 
kens Not seeing that problem myself14:04.29 
henrys no big deal about the skype stuff... I don't want to use it unless everyone is really okay with it. I can't stand it myself.14:06.08 
mvrhel_laptop chrisl: the gsview website changes look great. thanks!15:03.03 
chrisl mvrhel_laptop: good! I hate to mention it, but we'll need some documentation, at some point......15:03.30 
mvrhel_laptop yes. I need to do that and get some things fixed that Robin_Watts already found15:04.24 
  I am hoping I can wrap up these customer issues and then I will work on documentation15:04.49 
  this week15:04.55 
  customer issues this week I mean15:05.06 
Robin_Watts chrisl: Small nit with the gsview.com site... the top "GSView" appears to be in a different font/style than MuPDF or Ghostscript are (on mupdf.com and ghostscript.com)15:12.14 
  Also, if you click back and forth between ghostscript.com and gsview.com the spacing of the left hand column is nicer on ghostscript.com (IMHO)15:13.50 
chrisl Robin_Watts: GSView is oblique - it looked very dull with it just normal. I can make it that way, though15:21.52 
Robin_Watts Maybe do a MuPDF and have GS in Blue and View in Black?15:22.40 
  possibly not.15:22.43 
chrisl I thought that looked a bit rubbish15:23.15 
  Robin_Watts: I've removed teh oblique, see what you think.....15:24.17 
Robin_Watts I prefer that.15:24.37 
  I'd prefer it even more with the same spacings that ghostscript/mupdf have.15:24.52 
chrisl I'm not really sure why that's different.....15:25.26 
kens THe GS and MuPDF sites don't really match either15:26.04 
  FOr instance, teh links under the log are cetered in MuPDF and GSView but left aligned under GS15:26.33 
  Or at least 'more central'15:26.53 
Robin_Watts kens: Yeah.15:27.08 
  MuPDF looks nicer than GS.15:27.29 
kens Not picking holes, just an observation that the two existng sites don't match15:27.29 
chrisl The spacing is a bit better now15:28.03 
Robin_Watts Spacing for MuPDF and gsview now matches and looks nice.15:28.31 
  Spacing for gs is different (and inferior, IMHO)15:28.47 
  I prefer the spacing around the logo on the gs page to the gsview page though.15:29.24 
kens THe other thing is the GS sghost log is much smaller then the MuPDF oen, it would be nicer (fromt eh point of view of flipping sites) if the sizes were more similar15:29.32 
Robin_Watts I may have Ghostie as a vector here...15:30.05 
kens Again, just an observation....15:30.16 
  I don't normally flip between the sties....15:30.38 
chrisl I really don't think we should be using Ghostie for GSView15:30.42 
  Hmm, I'm not convinced the bigger Ghostie looks better......15:33.34 
Robin_Watts I have a GSView ico here.15:33.46 
  Which says "GSview" :)15:34.05 
kens Well, the bigger logo is fuzzy15:34.34 
chrisl Yeh, it's just an experiment15:34.50 
kens It also looks wider somehwo15:35.01 
chrisl Hmm, let me check....15:35.31 
kens Well GSView and MuPDF look quite similar that way15:35.39 
Robin_Watts http://ghostscript.com/~robin/GSView.png15:36.25 
  That's the ico I have turned into a 256x256 png.15:36.35 
chrisl Hmm, the capitalisation is wrong.....15:37.01 
kens My complaint would be that the other sites don't have the name under the logo15:37.18 
Robin_Watts chrisl: yeah. mvrhel_laptop probably has that as a vector, so he can change that easily.15:37.22 
chrisl So, the box around the logos should now be consistent, at least.15:41.16 
  But somehow isn't :-(15:41.37 
kens No gsview and gs jump up and down for me15:42.02 
chrisl Yes, and yet it is the same png for both of them15:42.24 
kens strange15:42.33 
mvrhel_laptop miles was the one who wanted ghostie for gsview15:44.13 
  I had drawn a vector equivalent to what Russell had but miles did not like it15:44.38 
chrisl Well, it makes no sense since it's not really displaying with Ghostscript, and now if you have Ghostscript and GSView installed, you get the same icon for both, which is likely to confuse some people15:45.12 
mvrhel_laptop I agree15:45.20 
  Likely a topic for the staff meeting15:45.31 
chrisl I think it needs something to differentiate it, even if it still has ghostie involved15:45.59 
mvrhel_laptop When I say Miles did not like it, he said, please use ghostie15:46.13 
kens ghostie with a magnifying glass, like MuPDF15:46.19 
chrisl Yeh, that could work.....15:46.30 
mvrhel_laptop some blend of the two could be clever15:46.32 
  Let me see what I can do in my spare time...15:47.14 
  having fun with altona files now15:47.27 
kens You have spare time ? O.O15:47.30 
mvrhel_laptop exactly15:47.40 
henrys I'll put it on the agenda certainly we need a new icon. It's confusing as it is now.16:05.55 
mvrhel_laptop thanks henrys16:06.16 
rayjj mvrhel_laptop: BTW, I sent a work-around response based on gen_ordered screens to Jasper16:18.50 
mvrhel_laptop rayjj: thanks. working on page 7 right now. looks like an issue with patterns and colors16:19.21 
rayjj mvrhel_laptop: I don't know, but suspect that the DITHERPPI problem is *not* in the PS, but might be in the conversion from order to threshold16:19.46 
mvrhel_laptop ah ok16:19.58 
  that could very well be16:20.18 
rayjj I'll get back to that after wrapping up an issue for Len with a JPX file and Lab colorspace16:20.29 
mvrhel_laptop great16:20.35 
Robin_Watts http://ghostscript.com/~robin/ghostie_hug.png16:27.26 
  How about that?16:27.30 
  (As a graphic designer, I make an excellent programmer)16:27.39 
kens I thnk our sales and marekting department should consider the problem :-)16:29.12 
Robin_Watts I'm seeing 1/3 of them on Monday :)16:29.37 
  Scott is in London next week.16:29.43 
kens I didn't know that....16:29.51 
  Time for me to be off nayway, night all16:30.33 
henrys mvrhel_laptop: I'm confused here, Miles told me asked you for a complete write up about gsview and he'd include that in the last newsletter, I don't see it. Did you write something?16:52.19 
chrisl Robin_Watts: the spacing and logo box on ghostscript.com should now be consistent with the other two sites16:53.08 
mvrhel_laptop henrys: not as confused as me. I did not write anything. It is possible he asked me verbally and I managed to forget16:53.41 
Robin_Watts chrisl: Yes.16:53.41 
  But you've lost the separator bar under "Ghostscript"16:53.54 
henrys okay so I should write something... no problem.16:54.18 
mvrhel_laptop ok thanks16:54.23 
chrisl I *really* hate this sh*t :-(16:54.24 
mvrhel_laptop rayjj: I have narrowed down the issue on page 7 as something to do with the RGB ICC profile for the shading in the pattern and how it is interacting with the CMYK group for the transpareny16:55.15 
Robin_Watts chrisl: looks very close though :)16:55.18 
chrisl Robin_Watts: the separator is back......16:57.35 
Robin_Watts chrisl: Lovely.16:58.53 
  If you want to be consistent between the sites... we shouldn't say "Welcome to Ghostscript, an interpreter..."16:59.16 
  we should say: /an interpreter for the.../16:59.29 
  Also, the other 2 sites have separator bars at the bottom and a copyright statement.16:59.55 
  ghostscript.com does not./17:00.02 
chrisl ghostscript.com never has had17:00.12 
mvrhel_laptop gosh the adobe acrobat output really does not make any sense based upon these profiles17:42.10 
  I wonder if I should think about getting an updated version of acrobat to see what it is doing with this thing18:18.49 
  rayjj: I have this thing cut down to a very simple thing and I believe Adobe is screwing it up18:59.29 
  lunch now. I will get my ducks in a row and double check18:59.44 
  this afternoon18:59.51 
  a change of opacity from 0.99 to 1.00 causes a HUGE difference in Acrobats output19:00.21 
Robin_Watts is that going to be the 'transfer functions don't work with opacity' or something ?19:10.26 
mvrhel_laptop Robin_Watts: no. no transfer functions here19:29.59 
Robin_Watts ok.19:30.09 
mvrhel_laptop text filled with a pattern. pattern has a shading in ICC RGB wide gamut space19:30.30 
  drawn into transparency group of CMYK color space19:30.50 
  with the alpha of 0.9919:31.01 
  simple conversion from RGB to CMYK with ICC profile19:31.14 
  with 0.99 alpha19:31.19 
  blending19:31.25 
  no odd blending19:31.35 
  no knockout or overprint foolishness19:31.49 
  there is an output intent profile19:31.55 
  which we use 19:31.59 
  it is in the output preview that adobe has the radically different output19:32.21 
  need to head out for a bit19:32.26 
rayjj mvrhel_laptop: are you still out ?20:48.16 
fredross-perry questions: (1) oxps vs xps? and (2) ny sample oxps files to be had? Thanks.20:56.57 
  *any* samples20:57.05 
rayjj mvrhel_laptop: I found the problem with cust 532's file. It has an image in it that is JPX encoded with Lab "colr" key. Apparently we never handled that previously. I found two things wrong in pdf_draw.ps. (1) in jp2_csp_dict it was defining /Lab as returning a name /Lab -- it needs a dict, and (2) it *requires* a WhitePoint array in the dict20:59.18 
  the first was tripped over by the PDF interp in the PS code, the second in validatelabspace C code21:00.14 
  I'll run a regression, but I think this is OK since we probably never had a file with this. The problem is that it is 28Mb :-( I'm not sure we want that in our regression suite21:01.57 
  mvrhel_laptop: see the logs from a few minutes ago, but is /WhitePoint [ 0.9505 1 1.0890 ] reasonable as a default for Lab colorspace (D65) ?21:03.11 
  I need this for JPX (JPEG2000) images that are in Lab colorspace21:04.04 
rayjj is going to check if JPX allows for a key to set the WhitePoint to override the default21:04.51 
  well, maybe not. I don't have the JPX spec (ISO/IEC 15444-2) and don't want to pay for it21:15.09 
mvrhel_laptop rayjj: that looks correct for D6521:16.43 
rayjj mvrhel_laptop: yes, I know. Is it reasonable to use in a /Lab colorspace param dict ?21:19.07 
  darn. I have to run pick up the twins. I'll check to logs...21:19.48 
mvrhel_laptop ok back sorry rayjj21:30.58 
  It is a reasonable white point to use with an LAB colorspace21:31.14 
  aha. Acrobat responds big time to a change in the group not being isolated22:02.35 
  I suspect there is a CMYK to CMYK conversion going on there22:02.51 
  something to do a default CMYK to the output intent CMYK22:03.24 
  s/to do/to do with/22:03.36 
 Forward 1 day (to 2015/04/23)>>> 
ghostscript.com
Search: