IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2012/09/07)2012/09/08 
FreezingCold I'm having a problem going from png to pdf03:15.39 
  http://sprunge.us/VEJg03:15.40 
  I ran: gs -dNOPAUSE -sDEVICE=pdfwrite -dBATCH -sPAPERSIZE=letter -sOutputFile=book.pdf *.png03:15.47 
mvrhel see you all tomorrow04:14.51 
sebras it's...oh...so quiet...11:40.46 
  it's oh, so still.11:40.50 
  I'm all alone11:40.59 
  and so peaceful until...11:41.01 
specialforest hi11:58.35 
  why mupdf renders page mirrored about x axis?11:59.47 
  I can't figure out why this happens12:00.09 
sebras specialforest: that sounds strange. do you have the pdf accessible somewhere? I'd like to take a look.12:21.11 
  specialforest: also, what version of mupdf are you using?12:21.21 
specialforest It's likely that I'm using mupdf API incorrectly, because now I have all pdfs mirrored :)12:27.33 
  mupdf version is 1.1. Sample pdf can be found here http://www.education.gov.yk.ca/pdf/pdf-test.pdf12:27.45 
  I render page to fz_pixmap using pdf_run_page and then create bitmap directly from fz_pixmap::samples12:31.40 
  I have ensure that samples[0] corresponds (0,0) on display, but pdf whole pdf page is mirrored12:41.46 
sebras specialforest: it sounds like you ought to look at apps/mudraw.c as an example of what you want to do.12:45.52 
  specialforest: I have been looking for a couple of minutes at what happens when mudraw is used to generate a .png-file, but I can't discern any matrix operation that would mirror the page, so I can't really spot what could cause this problem.12:46.51 
  specialforest: when I try to render pdf-test.pdf in the sample viewer and using mudraw it comes out right-side-up both times.12:47.29 
specialforest I have resolved it! The problem was in using fz_scale with negative parameter value :)12:48.32 
sebras specialforest: great. then there's no bug in mupdf. :)12:49.28 
  specialforest: btw, may I ask what you are working on? it's always useful for us to know how mupdf is used and by whom.12:50.19 
specialforest I'm porting APV (http://code.google.com/p/apv/) to the lastes mupdf version12:53.37 
sebras specialforest: aha! I didn't recognize your nick.12:55.01 
specialforest Do you supposed to know me? :)12:58.11 
sebras specialforest_aw: maybe I'm mistaken, but there was a maciej from the APV project that used to pop in here for questions every now and then.13:07.43 
FreezingCold I'm having a problem converting my png files to pdf with ghostscript18:48.18 
  gs -dNOPAUSE -sDEVICE=pdfwrite -dBATCH -sPAPERSIZE=letter -sOutputFile=book.pdf *.png18:48.22 
  http://sprunge.us/VEJg18:48.26 
  I think it's because my png file has a offset?19:02.12 
  Error: /syntaxerror in (binary token, type=137)19:22.28 
tor8 hi robin_watts_mac 22:26.43 
robin_watts_mac hi tor8.22:27.22 
  just going for a run. meet in lobby at 6 for food?22:27.32 
  how was your flight?22:27.38 
tor8 okay.22:27.44 
  apart from rather noisy frenchmen, pleasant enough :)22:27.59 
  delayed though, probably arrived about the time you were supposed to22:28.23 
robin_watts_mac we arrived on time. MANY people in from of us at immigration though22:28.48 
  bbl22:29.36 
tor8 probably our plane then :)22:29.56 
  unless they've got more than one immigration hall, I think there are two?22:30.13 
kens Afternoon all, you in the hotel tor8 ?22:31.32 
tor8 afternoon kens.22:31.42 
kens assumes that's a yes22:31.53 
tor8 yes, arrived about an hour ago :)22:31.58 
kens Robin suggests meeting in the lobby at 6pm for dinner, is that OK ?22:32.13 
tor8 kens: yes, just chatted with robin 5 mins ago before he left for a run22:33.44 
kens Aha, well done. Well I need a shower, and to send an email home, will be back in a bit22:34.45 
ray_laptop Hi, kens, robin_watts, tor8, ... I am here and meeting in the lobby for dinner around 6pm sounds fine.23:30.35 
  I'll check here to see if there is any change in plans23:31.02 
kens Hi ray_laptop good to hear from you will see you in the lobby later23:36.38 
 Forward 1 day (to 2012/09/09)>>> 
ghostscript.com
Search: