Log of #mupdf at irc.freenode.net.

Search:
 <<<Back 1 day (to 2017/08/17)20170818 
fenn i am usually reading in a dark room, so white text on dark background is a must. i usually use mupdf 1.3-2 on ubuntu. today i tried running mupdf 1.11 on windows and was surprised that there was no "invert colors" function, and i can't even find any reference to this functionality existing. was it removed at some point between 1.3 and 1.11 or is this an X11 only feature or what?03:45.40 
  normally i just press "i" to invert colors03:49.27 
  er, weird. it works in the non-opengl version, whereas mupdf-opengl just displays metadata. guess i should have checked that first03:51.21 
Pdfresearcher Hi05:10.16 
mubot Welcome to #mupdf, the channel for MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line.05:10.16 
Pdfresearcher Anyone here?05:10.24 
kens Pdfresearcher: , fenn, ninawa (for the lgos) developers are usually here monday to friday around 8 am till around 5 pm UK time. Some of us work more irregular hours, and the channel is logged so its always worth leaving your question.07:02.09 
  ninawa, the answer to your question is 'not currently, using the demo applications'. This may change in future, and you can of course always develop your own solution using MuPDF. Note that MuPDF really describes the core library, the applications are merely demonstrations of an implementation.07:03.27 
  fenn the various demo implementations of the library differ in their feature sets.07:04.01 
  So some things work on some platforms but not on others07:04.22 
  Pdfresearcher : I'm not sure what you are after. If you (or yout rool) considers an AcroForm to be dangerous, then the only thing you cna do to make it non-dangerous is remove the AcroForm. You can't have the form and have it 'not dangerous'07:05.10 
sebras tor8 (for the logs): on github/master I have an RFC patch. I think my reasoning is solid and that I can remove the code checking for y_steps > 0 in draw-edgebuffer.c09:06.18 
  I noticed the code when coverity pointed me to it in one of its mails.09:06.32 
  though I'm not sure if the code ought to belong elsewhere though.09:11.12 
  not yet, anyway.09:11.14 
kens tor8 ping09:58.12 
PdfResearcher Hey Kens! I'm glad your back, sorry yesterday I got pulled into a meeting14:31.15 
kens SOrry by the time you came back I was off for the night, I'm in the UK14:31.31 
PdfResearcher so do you usually hang out in here?14:32.03 
kens I'm here office hours14:32.15 
  Also in #ghostscript14:32.24 
  And on Stack Overflow....14:32.37 
PdfResearcher awesome! and in regards to your previous message, no problem I understand. So is there a way I can privately exchange a link with you to take a look at that PDF?14:33.06 
kens I must have done somethign very bad in a former life, I hope I enjoyed it....14:33.06 
PdfResearcher lol14:33.12 
kens Well you can send me an email, or PM here if its easier14:33.27 
PdfResearcher yea what's a good email for you?14:33.47 
kens ken dot sharp at artifex dot com14:34.06 
  Sorry ofr the obfuxcation but the logs are public and there are so many scrapers about these days14:34.29 
PdfResearcher ok 1 moment I'll send it over in just a few right understand14:34.42 
kens brb got to go get some stuff off the tree, wind is getting up14:40.43 
PdfResearcher lol k14:52.02 
kens back now14:52.07 
PdfResearcher ok almost have it over just at work :/15:05.03 
  ok I sent it over there15:11.34 
kens big file....15:13.23 
  well there's not a lot I can say, the files do contain AcroForms15:18.27 
  No JavaScript though15:18.49 
  As I said you could runj the file through Ghostscript's pdfwrite device to create a new PDF file with the AcroForm 'flattened' all the content is visible but it stops beig an interactive form15:19.42 
PdfResearcher ok15:35.12 
  so what exactly acroforms and how do those pose a potential risk?15:35.26 
  and thank you again for taking a look at them15:35.37 
kens I don't kknow why anyone would consider AcroForms per se to be a risk. JavaScript dictionaries seem more likely ot be a risk to me.15:36.07 
  AcroForms are interactive forms, buttons and stuff15:36.28 
  buttons can have actions15:36.40 
PdfResearcher I see which is interesting I didn't see any buttons or "interactive forums" but I did see some tables15:36.53 
kens actions can (but don't have to) involve JS15:36.56 
PdfResearcher and I saw some page links I think15:37.00 
  So is there anything else that you saw in there that could be potentially malicious like object streams etc..15:37.25 
kens figuring out exactly what the form represents in the 400+ page document would take more time than I have available15:37.41 
  Its a452 page file, 5.3 MB compressed, it would take days to decompress and evaluate it15:38.26 
PdfResearcher lol I totally undestand, and couldn't ask that of you, but I was just curious about the overall thought15:38.34 
kens If you want to be certain, run it through GS, interactive stuff goes away15:39.04 
  resulting file is 2MB smaller15:39.12 
PdfResearcher ok, good idea, though I should still be able to edit and search text right? via acrobat? because I'm hoping it doesn't flatten everything15:39.47 
kens can't say for certain15:40.01 
PdfResearcher ok15:40.08 
kens depends on the original content15:40.12 
PdfResearcher yea..15:40.17 
  I'll try ghost script and let you know how it goes15:40.50 
kens ok15:43.01 
 Forward 1 day (to 2017/08/19)>>> 
ghostscript.com #ghostscript
Search: