| <<<Back 1 day (to 2018/02/02) | 20180203 |
sebras | Robin_Watts: in fz_draw_end_group() we have an assert: | 01:34.57 |
| assert(state[0].group_alpha == NULL || state[0].group_alpha != state[1].group_alpha); | 01:35.03 |
| I have come across a case where in pdf_show_image() we have successfully called fz_clip_image_mask() but when we later call fz_fill_image() this throws, causing pdf_show_image() to forget to call fz_pop_clip() at the end. | 01:35.49 |
| if it had been a pattern I'm thinking that we might atually want to call fz_pop_clip() twice even upon exception. | 01:36.33 |
| and possibly fz_end_group(). | 01:36.47 |
n35xdxb0 | hey, when launching mupdf from terminal, is there an option for automatic fit to page? | 21:29.26 |
| some of my pdfs open zoomed in, whereas other open zoomed out | 21:29.44 |
sebras | n35xdxb0: what viewer are you using? mupdf-gl? mupdf-x11? | 21:56.54 |
| I'm assuming you are on linux? | 21:57.01 |
n35xdxb0 | sebras: yes | 21:57.15 |
| x11 | 21:57.41 |
| using linux mint distro | 21:57.46 |
| also, is there a way of rotating an individual pdf page, and then saving the rotation? | 21:59.17 |
sebras | n35xdxb0: when I start mupdf-x11 it starts in shinkwrapped mode where the entire document is visible. unless the document is so big that it doesn't fit on the screen of course. | 21:59.30 |
n35xdxb0 | turns out mupdf was defaulting with -r 70 | 22:00.11 |
| this was a bit too much for me so i decreased it. it's better now, and then i saw the W and H keybinding, for fitting vertically or horizontally, so i'm happy | 22:00.43 |
sebras | n35xdxb0: if you don't set -r then it will usually default to 96 dpi (I seem to recall that it asks the x-server, but I'm not entirely sure). | 22:00.58 |
| n35xdxb0: you can press L/R to rotate a page in the viewer. | 22:01.31 |
| n35xdxb0: if you want to save this into a file you probably need to do a mutool run script in javascript to do this for. | 22:02.07 |
| for your. | 22:02.10 |
| for you. | 22:02.12 |
n35xdxb0 | i know tht linux already has the tools available for splitting pdfs, merging pdfs, rotating individual pages, etc. from the command line. as i've done it in the past. i'm just wondering there's no definitive pdf viewer out there tht puts all these things together seamlessly | 22:02.29 |
| ye i'm going to start scripting | 22:02.34 |
| i have a ton load of company documents to go through, scanned docments. and some individual pages aren't rotated properly | 22:02.55 |
| and i have no desire to switch to windows and fork out for adobe pro | 22:03.11 |
sebras | n35xdxb0: https://mupdf.com/docs/manual-mutool-run.html | 22:03.34 |
n35xdxb0 | thanks a lot sebras. i appreciate the help | 22:03.48 |
| Forward 1 day (to 2018/02/04)>>> | |