IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2016/05/03)20160504 
psmlbhor hello, I am trying to understand the MuPDF project as I want to use it in some other project. Can anyone please tell me what is the difference between include/fitz and include/pdf directories?11:11.25 
Robin_Watts psmlbhor: Hi11:12.56 
  What version of MuPDF are you looking at ?11:13.13 
  There is no longer an include/fitz or include/pdf directory in any recent version.11:13.42 
  There *are* include/mupdf/fitz and include/mupdf/pdf directories.11:14.06 
psmlbhor Robin_Watts, I am extremely sorry, you are correct11:15.05 
Robin_Watts The graphics library that MuPDF was originally written on top of was called 'fitz'.11:15.08 
  and now, 'fitz' is the 'engine' at the heart of mupdf.11:15.29 
  Most people will just talk to the 'fitz' level, and that will let them open documents, render them, search them erc.11:16.01 
  s/erc/etc/11:16.04 
  If you want to start doing specific pdf level operations, then you may need to use the API defined in include/mupdf/pdf/11:16.38 
  Does that help?11:16.41 
psmlbhor but fitz can also operate on PDF docs right? 11:17.12 
  then why PDF APIs are seperately defined?11:17.26 
Robin_Watts The 'fitz' layer offers a 'document' API that lets you open documents without knowing what format they are in.11:18.01 
psmlbhor Oh! This clears everything11:18.24 
  Robin_Watts, thank you11:18.31 
Robin_Watts We can open PDF, XPS, CBZ, SVG, JPG etc.11:18.33 
  no worries.11:18.35 
  psmlbhor: Please feel free to come back and ask if you have any more questions.11:19.17 
psmlbhor yeah sure. Thanks again11:19.33 
Robin_Watts Can I be nosey and ask what you're doing with MuPDF?11:19.35 
  (Always nice to know what it's being used for)11:19.46 
psmlbhor I am trying to implement MuPDF support for cups-filters11:20.02 
  GSoC 2016 project under Linux Foundation11:20.18 
Robin_Watts psmlbhor: Ah, are you one of tkampeters GSOC students?11:20.22 
psmlbhor yes11:20.26 
Robin_Watts Right.11:20.27 
  Well, in that case, please doubly feel free to hang around here and ask questions.11:20.49 
  I might technically be one of your mentors :)11:21.15 
psmlbhor Robin_Watts, oh yes you are11:22.34 
  i just saw the names of all of my mentors and you are listed11:22.56 
  nice to meet you Sir11:23.03 
Robin_Watts I'm the author of the PCL/PS output stuff in MuPDF. It's had very limited testing, so if you find stuff that needs to be tweaked etc, we can talk about it.11:23.40 
  Nice to meet you too.11:23.46 
  What timezone are you in? I'm in the UK.11:23.58 
  I'm here most days during the day and early evening at least.11:24.14 
psmlbhor Sure. I am in Indian time zone +053011:24.28 
Robin_Watts ok, so I'm around in your afternoon/evening then.11:24.47 
psmlbhor yes11:25.01 
Robin_Watts tor8 is the original author of MuPDF, sebras is a contributor too, as is mvrhel, so if you ask questions they may well be able to help too.11:25.53 
psmlbhor Oh that's great!11:27.27 
  I am going to have lots of questions in the coming weeks11:27.49 
jirib hi all11:42.03 
Robin_Watts jirib: 11:42.20 
  jirib: Hi11:42.22 
jirib does mupdf-x11-curl works for you when using https? eg: mupdf-x11-curl 'https://www.linuxvoice.com/issues/018/Linux-Voice-Issue-018.pdf'11:42.24 
Robin_Watts I suspect not. I bet https would require openssl or something.11:42.56 
jirib libcurl does openssl11:43.04 
Robin_Watts I know that libcurl is capable of using openssl if it is present. I am not sure that we build openssl in the required form though.11:45.07 
  bah.11:45.17 
  I am not sure that we build libcurl in the required form though. Or are you using a system libcurl ?11:45.34 
  Ok, and also, If you look in platform/x11/pdfapp.c, at line 291, you'll see we check for http://11:46.52 
  We do not check for https:// :)11:46.59 
  Try changing that line to:11:47.14 
jirib ok i'll try11:47.38 
Robin_Watts if (!strncmp(filename, "http://", 7) || !strncmp(filename, "https://", 8))11:47.41 
jirib Robin_Watts: looks better now, although i have for this particular pdf same issue as with 'http' :)11:57.36 
  error: read of a block we don't have (C) (offset=37145776)11:57.39 
  XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":0"11:57.41 
  after 3927 requests (3554 known processed) with 7 events remaining.11:57.43 
  Robin_Watts: could you push that code change to main branch please?11:58.05 
Robin_Watts jirib: No.11:58.17 
jirib why?11:58.25 
Robin_Watts Cos I don't believe https:// will work with the libcurl we provide on windows.11:58.32 
  (which confusingly builds from the same source file)11:58.46 
jirib ok i'll send this diff to our packager, thx anyway11:59.01 
Robin_Watts jirib: Fab.11:59.08 
  I will have a look to figure out what's going wrong there. Thanks.11:59.31 
  actually, pushing that change DOES make sense, because at worst we'll get an error from libcurl, and it definitely won't work without it.12:12.49 
devwhatsapp Hi , Where I can get a developer who can code me a PDF DRM Reader and Writer based on mupdf block based encryption 12:37.17 
jogux devwhatsapp: what’s your budget?12:47.20 
Robin_Watts devwhatsapp: You'd need a commercial license for MuPDF to do that.13:00.17 
  MuPDF is released under 2 licences. Firstly, it's released under the GNU AGPL. If you are prepared to comply with all the terms of the GNU AGPL, then you can use MuPDF in your code for free.13:01.01 
  These terms include, but are not limited to, the requirement for you to be prepared to give the source code for your ENTIRE application to anyone that receives your application.13:01.45 
  That's probably a problem for you as it means you'd need to give your encryption/decryption code out.13:02.10 
  Hence you'd need to use MuPDF under the Artifex commercial license.13:02.30 
  The Artifex commercial license frees you from all the problems of the GNU AGPL, but it costs money.13:02.57 
  If you take a commercial license out, then it's possible we could write the code for you - it all depends on the exact terms you negotiate.13:04.00 
devwhatsapp Okay13:06.24 
  What would be the cost for the The Artifex commercial license 13:06.34 
  and also to code such a pdf reader and writer with custom features ?13:06.53 
  I know one DRM company using mupdf , so you know what kind of protection would need to be in the PDF reader.13:07.40 
Robin_Watts Hi.13:09.40 
  I can't give you a price.13:09.49 
devwhatsapp Who will ?13:10.06 
Robin_Watts Partly because I'm an engineer and therefore stay well out of such things, but mostly because the price is dependent on what you want to do with it.13:10.17 
  The best thing to do is to mail Scott Sackett (sales@artifex.com).13:10.32 
devwhatsapp Okay13:10.50 
Robin_Watts Tell him as much as you possibly can about what you want to do.13:10.58 
devwhatsapp Can you tell me an approximate cost it would come upto ? A range in $13:11.24 
Robin_Watts He'll send back a questionnaire with loads of stuff in it, most of which won't apply to you.13:11.30 
devwhatsapp Okay13:11.38 
Robin_Watts Answer what you can with as much detail as you can. (Lots of people just put vague stuff like "I want to view PDFs in my app" and then wonder why they get charged a lot).13:12.10 
devwhatsapp Well I know what I need exactly.13:12.33 
Robin_Watts I cannot give you any indications as towards price, partly cos I don't have any hard figures.13:12.48 
devwhatsapp The block based fz stream is the best encryption so far13:12.54 
  It can be reveresed but not for amateurs.13:13.23 
  Other DRMs have no protection at all.13:13.44 
Robin_Watts If you don't hear back from Scott within 24 hours, ask again here.13:14.40 
  He's generally very good at responding to people, but just occasionally, mail does get lost.13:14.58 
devwhatsapp Alright will do that13:15.46 
 Forward 1 day (to 2016/05/05)>>> 
ghostscript.com
Search: