IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2012/08/11)2012/08/12 
archdori [mupdf] hi there, is there a way to mark a page and save it so that mupdf reopen the file to the marked page ?00:49.46 
V_Tori hey11:54.02 
ghostbot what's up, v_tori11:54.02 
V_Tori hoo, an ectoplasm bot :)11:54.20 
  well, in mupdf 0.9, a page had a 'rotate' member11:54.48 
  it's not the case11:54.52 
  it's not the case in 1.011:54.56 
  does it mean that i have to manage myself the rotation of a page ?11:56.50 
  tor8: hey13:55.55 
  tor8: 2 questions:14:01.09 
  1) why is draw_simple_scale.c provided in the source tree, but is removed from compilation ?14:01.37 
  2) in mupdf 0.9, the page structure had a rotate member, but it's not in 1.0 anymore. Does it mean that I have to manage rotation myself, now ?14:02.25 
sebras V_Tori: the /Rotate entry in each page's dictionary is taken into account when loading the page from the pdf document, yes.14:58.12 
V_Tori sebras: then is it possible to retrieve its value ?14:58.42 
sebras however if you want to apply your own transform, you would need to adjust the transofmr matrix as outlined in doc/example.c14:58.43 
V_Tori ha14:58.53 
  ok14:59.50 
  i'm already doing that14:59.56 
sebras V_Tori: if you really need to get at the rotate value you would need to include mupdf-internal.h to access the page objects' rotate member.15:00.24 
  V_Tori: why do you feel the need to check what the value is?15:00.33 
V_Tori that's what i did with mupdf 0.916:07.59 
  i used the value of the rotate member and what the user provide to get the final rotation value16:08.30 
sebras V_Tori: right, so now you ought to just use what the user provides and concatenate this to the transform matrix.17:16.38 
V_Tori indeed17:16.51 
  that's what i do, now17:16.58 
sebras and it works well for you I hope?17:17.14 
V_Tori well, currently, i'm on Windows17:17.34 
  and the gui of my libs does not work anymore on Windows17:17.46 
  their Windows port is in a very bad shape17:17.59 
  I'll test later on linux17:18.04 
  it compiles, though17:18.26 
sebras ouch, sounds like you'll have to invest some more time in the ui libs.17:18.28 
V_Tori indeed17:18.35 
  the problem is that i didn't touch it in somee months and the linux guys modified the basic libs too much17:19.00 
sebras but dock some back in case you have more questions (I can't answer 1) you mentioned above, you'll have to wait for tor8 or Robin_Watts to answer that one).17:19.06 
V_Tori finding the problems is difficult17:19.11 
  sure17:19.19 
  thanks for the answers17:19.23 
sebras np. I'm happy to help. :)17:20.12 
V_Tori :)17:20.19 
sebras Robin_Watts tor8: there's an imporant but silly typo fix on sebras/master.17:22.03 
  "important" even...17:22.19 
mvrhel_laptop ray_work: are you available?18:54.03 
  or henrys18:54.42 
  alexcher: your last commit broke windows gs19:08.25 
  it compiles but has a crazy memory segv19:08.43 
  can you please revert?19:11.08 
  this is on windows 64 but a 32 bit build19:12.20 
  ray_work: maybe you can double check this for me19:20.26 
alexcher mvrhel_laptop: I'm looking into the problem.19:41.41 
henrys mvrhel_laptop:I'm here now.20:31.50 
mvrhel_laptop henrys and alexcher: ok so, for me my gs build crashes up until I remove alex's last commit21:35.57 
  alexcher: are you seeing the same thing in windows?21:36.32 
  need to help out with dinner. bbiaw21:37.23 
  alexcher: were you able to replicate the issue?23:29.15 
alexcher mvrhel_laptop: Yes, but on Windows only.23:33.16 
  mvrhel_laptop: Windows doesn't run configure script.23:36.35 
  mvrhel_laptop: Perhaps, it's the cause of the bug.23:37.37 
mvrhel_laptop perhaps23:53.10 
  I have no idea23:53.14 
  alexcher: All I know is that you should probably revert your fix if you can't figure this out quickly23:53.44 
 Forward 1 day (to 2012/08/13)>>> 
ghostscript.com
Search: