| <<<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 | hey | 11:54.02 |
ghostbot | what's up, v_tori | 11:54.02 |
V_Tori | hoo, an ectoplasm bot :) | 11:54.20 |
| well, in mupdf 0.9, a page had a 'rotate' member | 11:54.48 |
| it's not the case | 11:54.52 |
| it's not the case in 1.0 | 11:54.56 |
| does it mean that i have to manage myself the rotation of a page ? | 11:56.50 |
| tor8: hey | 13: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.c | 14:58.43 |
V_Tori | ha | 14:58.53 |
| ok | 14:59.50 |
| i'm already doing that | 14: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.9 | 16:07.59 |
| i used the value of the rotate member and what the user provide to get the final rotation value | 16: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 | indeed | 17:16.51 |
| that's what i do, now | 17:16.58 |
sebras | and it works well for you I hope? | 17:17.14 |
V_Tori | well, currently, i'm on Windows | 17:17.34 |
| and the gui of my libs does not work anymore on Windows | 17:17.46 |
| their Windows port is in a very bad shape | 17:17.59 |
| I'll test later on linux | 17:18.04 |
| it compiles, though | 17:18.26 |
sebras | ouch, sounds like you'll have to invest some more time in the ui libs. | 17:18.28 |
V_Tori | indeed | 17:18.35 |
| the problem is that i didn't touch it in somee months and the linux guys modified the basic libs too much | 17: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 difficult | 17:19.11 |
| sure | 17:19.19 |
| thanks for the answers | 17: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 henrys | 18:54.42 |
| alexcher: your last commit broke windows gs | 19:08.25 |
| it compiles but has a crazy memory segv | 19:08.43 |
| can you please revert? | 19:11.08 |
| this is on windows 64 but a 32 bit build | 19:12.20 |
| ray_work: maybe you can double check this for me | 19: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 commit | 21:35.57 |
| alexcher: are you seeing the same thing in windows? | 21:36.32 |
| need to help out with dinner. bbiaw | 21: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 | perhaps | 23:53.10 |
| I have no idea | 23:53.14 |
| alexcher: All I know is that you should probably revert your fix if you can't figure this out quickly | 23:53.44 |
| Forward 1 day (to 2012/08/13)>>> | |