| <<<Back 1 day (to 2017/02/12) | 20170213 |
tor8 | izabera: hit shift-Z in mupdf-gl to zoom to fit the page | 11:47.55 |
| shift-W or shift-H to fit-width or fit-height | 11:48.22 |
navi_se | ehi I have an issue using llpp. Apparently annotations saved on pdf cannot be seen immediatly on other pdf viewer such as adobe reader. Annotations ARE there, but they appear marked as 'accepted' and therefore disappear. Is tehre a way to set the 'accepted' flag off annotations? | 13:25.02 |
| (I don't really have this problem, I see all annotations, but other people can't see mine) | 13:25.22 |
kens | I suspect you are going to have to be a lot more specific, for starters there are many kinds of annotation, and I can't offhand think of any which can be 'accepted' | 13:26.16 |
| Posting an example may help | 13:26.26 |
navi_se | ok, on to it | 13:27.15 |
| Here is a link to a sample file http://s000.tinyupload.com/?file_id=05498872613220124198 | 13:31.09 |
| There is one annotation I can see using llpp which is based on mupdf | 13:31.28 |
kens | I can see a bubble in Acrobat aslso | 13:31.40 |
navi_se | but if I open it in Adobe the annotations are hidden | 13:31.47 |
| can you read the content? | 13:31.51 |
kens | "Here is an annotation" | 13:31.52 |
| hover the mouse over it, or double click it | 13:32.11 |
navi_se | If you don't use Acrobat (whcih is the editor right) but the standard reader? | 13:32.59 |
kens | Reader should be no different to Acrobat, but I can try that too | 13:33.16 |
| several different versions in fact.... | 13:33.23 |
| Acrobat Reader DC is exactly the same | 13:33.41 |
| Reader 4.0 shows a different icon, but is otherwise the same | 13:34.20 |
| Reader 5 is the same as 4 | 13:34.41 |
navi_se | ok, thanks | 13:34.49 |
| then I wonder what my colleague is using | 13:35.01 |
kens | I have no clue. | 13:35.05 |
navi_se | but at least I shouldn't feel guilty | 13:35.08 |
kens | :-) | 13:35.12 |
navi_se | bc it works on the default thing | 13:35.23 |
| thanks kens | 13:35.28 |
kens | You're welcome, easy for me to test :-) | 13:35.37 |
| Is your colleague using a Mac ? | 13:35.44 |
navi_se | nope, windows | 13:35.53 |
kens | Then I don't know :-( | 13:36.01 |
navi_se | It was a weird purply thing, as far as I can remember | 13:36.14 |
| some office pdf reader maybe? | 13:36.21 |
kens | For me its yellow, either a yellow square with a white bubble, or a yellow 'page' icon depending on how old the reader was | 13:36.38 |
| Well it could be some other reader, yeah | 13:36.48 |
navi_se | ah no, I meant the color of the reader splash screen was purply | 13:37.02 |
kens | GS renders it as expected (but the text is missing, that may be my curfrently broken version doing that) | 13:37.25 |
| Hmm don't recall seeing a purple splash screen | 13:37.39 |
| Ah, a properly installed ghostscript works as expected | 13:38.19 |
navi_se | yeah, I guess this annotations are indeed fine | 13:38.36 |
| and this funny function he has on his reader make them invisible | 13:38.45 |
| it's like a review mode | 13:38.53 |
kens | works ok on pdf.js as well | 13:38.56 |
navi_se | where annotation are marked as confirmed or read or accepted somehow | 13:39.15 |
kens | Well, sounds more like his reader is broken | 13:39.16 |
navi_se | yeah | 13:39.25 |
kens | You can have annotations 'open' or 'closed', the one you ahve is 'closed' | 13:39.36 |
navi_se | what does the closed flag do? | 13:39.53 |
kens | Well, the popup annotation associated with the freetext annotation that is | 13:40.05 |
navi_se | is it intended to like roll them up and make only the icon appear/ | 13:40.06 |
kens | Essentially, yes | 13:40.12 |
| Its actually 2 annotations | 13:40.20 |
| The first one has an associated 'popup' annotation which is either displayed or not | 13:40.41 |
| The type of annotatiopn you have only shows an icon when the poopup is closed, other types of annotation behave differently | 13:41.22 |
impulse | hi guys | 14:10.03 |
| is there anyway to change the color of the dead space in MuPDF? | 14:10.22 |
kens | Depends what you mean by 'dead space' | 14:10.35 |
impulse | i mean the space outside of the document when you're zoomed out | 14:10.44 |
kens | Umm, I would think so, but it will take programming to do it | 14:10.58 |
| Not my field | 14:11.02 |
tor8 | impulse: which viewer/ | 14:11.14 |
impulse | i'm not sure | 14:11.39 |
kens | Which OS ? | 14:11.43 |
impulse | i'm looking at a PDF document | 14:11.45 |
| on linux | 14:11.48 |
tor8 | did you build it yourself or install from a package? | 14:12.12 |
impulse | from gentoo package | 14:12.22 |
tor8 | then you can't easily change it | 14:12.32 |
| if you build from source, it is a one line change | 14:12.40 |
impulse | oh cool | 14:12.44 |
tor8 | platform/gl/gl-main.c change the line with glClearColor | 14:13.09 |
impulse | does MuPDF look at any x resources? | 14:13.10 |
| i'll build myself then since i wanted inverted colors by default too | 14:13.51 |
| thanks | 14:13.53 |
tor8 | in platform/x11/x11_main.c change the xbgcolor.red = .... lines | 14:13.57 |
| depending if you use mupdf-gl or mupdf-x11 | 14:14.16 |
malc_ | oh suckless approach again | 14:14.26 |
impulse | which should i use? gl is probably better right? | 14:15.07 |
tor8 | if you can use gl, it's generally better | 14:17.24 |
| it's faster and has an outline viewer and supports unicode text in the search field | 14:17.39 |
impulse | what's an outline viewer? | 14:17.59 |
tor8 | shows the table of contents | 14:18.07 |
| a.k.a. "outline" | 14:18.14 |
impulse | oh like on the side? | 14:19.17 |
tor8 | yeah. hit the 'o' button in mupdf-gl | 14:19.38 |
impulse | ok thanks | 14:20.27 |
| is there an option to make to build mupdf-gl? | 14:24.55 |
| oh HAVE_GLFW | 14:28.04 |
tor8 | impulse: make sure you git clone recursively | 14:32.49 |
impulse | what | 14:32.57 |
tor8 | how did you get the source? | 14:33.03 |
impulse | i did the submodule thing | 14:33.03 |
| just git clone | 14:33.08 |
tor8 | right, if you have the submodule thing there should be a thirdparty/glfw/ directory with glfw source in it | 14:33.24 |
impulse | yep | 14:33.31 |
tor8 | and HAVE_GLFW should be picked up automatically | 14:33.32 |
impulse | ok | 14:33.36 |
| i'm geting linker errors though | 14:33.44 |
| undefined reference to `jpeg_mem_term' | 14:34.07 |
tor8 | that sounds suspicously like the submodules haven't been cloned properly | 14:34.33 |
| run "git submodule update --init" if you haven't already | 14:34.55 |
impulse | i did 'git submodule update --init' | 14:34.56 |
| should i try again? | 14:35.07 |
tor8 | make verbose=yes and see what it's actually trying to link | 14:35.24 |
impulse | cc -Wl,--gc-sections -Wl,-s -o build/release/mutool build/release/libmutools.a build/release/libmupdf.a build/release/libmupdfthird.a build/release/libmuthreads.a -lpthread -lm | 14:36.42 |
| http://sprunge.us/EZiX | 14:37.31 |
| full output ^ | 14:37.36 |
| from 'make verbose=yes' | 14:37.48 |
Robin_Watts | impulse: make clean && make | 14:37.49 |
| I wonder if you have some dregs laying around from when you didn't have the submodules correct. | 14:38.18 |
impulse | probably | 14:38.31 |
| what's a dreg? | 14:38.35 |
Robin_Watts | The dregs are what you end up with at the bottom of a drink. | 14:39.11 |
| The last few drops that don't come out. | 14:39.21 |
impulse | ah ok it built now. thanks a lot | 14:40.12 |
| does inverted colors work in the gl viewer? | 14:41.32 |
Robin_Watts | -I ? I don't think so. | 14:42.44 |
impulse | aww | 14:42.51 |
tor8 | no, it does not | 14:42.52 |
impulse | also you guys got rid of scrolling with j and k keys? | 14:43.16 |
tor8 | impulse: http://git.ghostscript.com/?p=user/tor/mupdf.git;a=commitdiff;h=0d4513f711908cb8f7e96ef5e8244bd28bb19070;hp=2c4e5867ee699b1081527bc6c6ea0e99a35a5c27 | 14:44.17 |
impulse | oh nice. thanks tor8 (assuming that was you) | 14:45.13 |
tor8 | impulse: adding an invert option/toggle is easy. just add the keybinding and option and a global flag, and call fz_invert_pixmap in render_page in gl-main.c | 14:46.31 |
impulse | ok thanks | 14:46.48 |
tor8 | just before the texture_from_pixmap call | 14:46.53 |
impulse | aaah feels good for the eyes | 14:50.32 |
| tor8: is your hjkl patch going to be merged? it disables arrow key scrolling doesn't it? | 14:54.46 |
| oh nevermind | 14:55.26 |
tor8 | impulse: yes, eventually. | 15:11.04 |
navi_se | kens: I have identified the rogue pdf reader fyi, it's called Nuance | 16:34.59 |
kens | Sounds vaguely familiar | 16:35.12 |
navi_se | https://goo.gl/bkXxSO for a buyers page | 16:35.48 |
kens | Ah, its free | 16:35.50 |
navi_se | is it? | 16:36.11 |
kens | That's more than just the reader | 16:36.14 |
| the reader is free | 16:36.19 |
navi_se | That's the thing my collague is using | 16:36.24 |
kens | http://www.nuance.com/products/pdf-reader/index.htm | 16:36.26 |
navi_se | I am getting | 16:37.26 |
| Nuance PDF Reader is no longer available. | 16:37.29 |
| We now offer a 30-day free trial for Power PDF Advanced (retail value: $149.99). | 16:37.31 |
kens | I wouldn't be surprised if that product used Ghostscript, at least for the 'print to PDF' functionality | 16:37.33 |
navi_se | y | 16:37.33 |
| anyway, it's in no repo of arch, not even on the AUR, I am not going to be bogged down by this as adobe can read my annotations fine | 16:38.11 |
| but I thought you as a gs developer (?) might have a mild interest | 16:38.25 |
kens | I would agree, if Adobe is happy then that's the best reference implementation going | 16:38.29 |
| Well, I'm vaguely interested if it contains (and is shipping) Ghostscript, to see if it conforms to the AGPL licence, but not beyond that :-) | 16:39.04 |
| A lot of applications use Ghostscript, sometimes illegally, we try and stop them when we find out | 16:39.39 |
Robin_Watts | Woo Hoo! Just ran a windows cluster test using my machine. | 16:48.20 |
| Looks like every test failed to read the input file, but.... | 16:48.40 |
acharles | ray_pc: Hi again. Did you ever get a chance to look at SAFER and whether itâs behaving as intended? | 20:46.46 |
ray_pc | acharles: it was not working correctly, but is now fixed | 20:47.38 |
| and as I think you originally asked, it affects "status" as well as opening or other file operations | 20:48.38 |
acharles | Cool | 20:48.50 |
| Where can I get the latest to test? | 20:49.03 |
ray_laptop | acharles: the commit that you need is http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=42fd2f459098bfda17ca8d29195ada57154cfe06 | 20:50.45 |
| (a 1 line change) | 20:50.57 |
acharles | Ah, can I just cherry-pick it on 9.20? | 20:51.17 |
ray_laptop | yes, or just edit the source and rebuild | 20:51.41 |
acharles | Thanks. Just making sure it doesnât require any other intermediate changes. Iâll let you know if I find anything. | 20:52.14 |
ray_laptop | acharles: it was broken by chrisl last October 17th by commit e6460567 | 20:58.06 |
| acharles: which as *after* the 9.20 release, so 9.20 _should_ be OK. | 20:58.46 |
acharles | Interesting | 21:02.04 |
ray_laptop | acharles: but when I test 9.20, it fails | 21:02.35 |
acharles | I guess Iâm glad I asked the question then. | 21:03.10 |
ray_laptop | (i.e., SAFER doesn't work as expected), so it may have been broken before then | 21:03.18 |
acharles | Iâll just build master and test it. | 21:03.37 |
ray_laptop | acharles: yes, I know master works as expected | 21:04.17 |
acharles | Yeah, I just want to verify that we both expect the same things :P | 21:04.49 |
ray_laptop | acharles: let me know if it doesn't work the way you expect (i.e., the way the documentation says it should in doc/Language.htm and doc/Use.htm#Safer) | 21:09.20 |
acharles | Ok. | 21:19.46 |
| Iâm testing on master | 23:17.45 |
| Iâm seeing something I didnât expect. But Iâm not sure I understand the postscript used in the file | 23:18.13 |
| It also seems to be able to read /etc/passwd | 23:19.30 |
| Does master have the fix for cve-2016-7977? | 23:21.20 |
| ray_laptop: Did you see my questions? | 23:26.42 |
emendelson | I've been working with some Arabic and Hebrew soft fonts made by WordPerfect Corporation a long time ago, and it occurred to me to ask: Will GhostPCL someday support the Arabic and Hebrew fonts built into high-end LaserJets? | 23:59.10 |
| Forward 1 day (to 2017/02/14)>>> | |