| <<<Back 1 day (to 2016/08/11) | 20160812 |
sai_ | help | 06:12.12 |
| Hi I'm using MuPDF library lo render pdf but its running out of memory when handling large pdf | 06:13.45 |
| we have big clients like FAZ fom Belgium etc. I need some help with handling this issue | 06:14.20 |
| I tried a lot but still no luck. by the way this is for Android | 06:15.38 |
| please contact me @ saimaram7@gmail.com | 06:20.10 |
| help | 06:20.56 |
| HELP | 06:20.59 |
Robin_Watts | For the logs: I put sai_ in contact with Scott last night. | 08:39.30 |
deekej | hello kens, I'm looking more into licensing issues that might occur (*sigh*), and on the Fedora Licensing Guide wiki it says: | 10:49.11 |
| "Common licenses that require including their texts with all derivative works include ASL 2.0, EPL, BSD and MIT." | 10:49.25 |
kens | OK.... | 10:49.43 |
deekej | AFAIK, you include the Adobe's CMap files under Resources/ folder | 10:49.49 |
kens | Yes we do | 10:49.59 |
deekej | and Adobe CMap files are now under BSD license | 10:50.08 |
kens | More accurately we supply certain CMap files which Adobe has chosen to make publicly availabnle | 10:50.21 |
deekej | https://github.com/adobe-type-tools/cmap-resources - yes, it's available here :) | 10:50.42 |
| Here's its license file: https://github.com/adobe-type-tools/cmap-resources/blob/master/LICENSE.txt | 10:50.57 |
kens | OK and ? | 10:51.04 |
deekej | the commit message says it's BSD license, and looking into it more I seems to me that it's BSD (3 clause, no advertising) | 10:52.38 |
kens | Yes, and ? | 10:52.44 |
deekej | I'm not sure, shouldn't that license be included in that CMap folder as well? | 10:53.05 |
kens | No | 10:53.11 |
| THe files we ship are not the files in that BSD release | 10:53.19 |
| The working content maybe (probably is) the same, the licence headers in the files we ship are defintiely not the same | 10:53.39 |
deekej | ah, ok, I think I get it now, sorry | 10:55.20 |
kens | That's OK. | 10:55.25 |
| Its possible at some point we *,ight* choose to use the ones from the BSD release. We would have to think what do do about the licence in that case, it couldn't be placed in the same directory, though clearly we could ship it separately. Its not going to happen any time soon though, it would be a lot of effort for no gain on our part. | 10:56.27 |
deekej | "The CMap files are copyright | 11:01.36 |
| Adobe Systems Incorporated and covered by a separate, Affero GPL | 11:01.37 |
| compatible license." -- Do you know where can I find what license is used for those files? | 11:01.37 |
kens | I imagine its in the headers of the CMap files themselves | 11:02.09 |
Robin_Watts | indeed, it is. | 11:03.23 |
deekej | you're right | 11:03.34 |
kens | Sorry I should have been clearer, what I meant is 'there is licence information in the CMap files (which are just text), I imagine that's the licence referred to' | 11:04.00 |
deekej | yeah, I just realized that the CMap files contains the license itself | 11:05.03 |
| and it is, indeed, the BSD license | 11:05.16 |
kens | So... That's acceptable then ? | 11:05.33 |
deekej | yes, it should be :) | 11:05.39 |
| thanks for clarifying that, guys :) | 11:06.30 |
kens | NP | 11:06.34 |
kens | is hungry, time for an early lunch. Also the dressage Grand Prix starts shortly.... | 11:22.21 |
sai_ | help | 16:29.37 |
sebras | sai_: it seems that Robin_Watts helped you to get in contact with a Scott Sackett. did you follow Robin's advice and get in contact with him? | 16:32.28 |
Robin_Watts | sai_: Hi. | 16:37.34 |
| So... you're the topimagesystems guy? or the "running out of memory on android" guy? | 16:37.54 |
| sai_: OK, so step 1) you need to explain to me exactly what you're using MuPDF for, where you got the source from, how you built it, and what the problem is. | 16:52.22 |
| As part of that, I am going to want to understand and be convinced that you are using MuPDF in accordance with it's license. | 16:54.27 |
| This either means obeying the GNU AGPL, or it means seeking a commercial license from Artifex. | 16:54.51 |
| Step 2) is then figuring out if I can help you. OK? | 16:55.03 |
sai_ | Hi Robin | 16:57.33 |
Robin_Watts | sai_: Hi | 16:57.45 |
sai_ | Okay what is my problem is whenever I try to give a large pdf like say 20mb of size | 16:58.22 |
| my app crashes saying that mall0c(some array size) and it libc error tec | 16:58.54 |
| etc | 16:59.06 |
Robin_Watts | sai_: OK, so this is your app, not the vanilla mupdf app. | 16:59.10 |
| That is to say you've taken our code and integrated into your app. | 16:59.21 |
sai_ | yes exactly that is true | 16:59.33 |
Robin_Watts | Ok. Where can I get the source code for your app? | 16:59.46 |
sai_ | we r using MuPDF to render pdf's to the user. Our app is a newspaper app | 17:00.13 |
| I have it in my personal Mac | 17:00.47 |
Robin_Watts | sai_: I can open files a lot larger than 20MB in MuPDF without it crashing, so clearly there is something either specific to your PDF files, or to your integration. | 17:01.15 |
| sai_: So this is not an app that is being released under the GNU AGPL ? | 17:01.45 |
sai_ | I even made a dummy app without adding any customizations. Even then when I tried displaying large pdf it crashes | 17:02.18 |
Robin_Watts | If you use MuPDF in your app, then either you need to abide by the terms of the GNU AGPL, or you need to get a license from Artifex. | 17:02.32 |
sai_ | https://github.com/joniks/Android-MuPDF | 17:02.50 |
Robin_Watts | As part of the terms of the GNU AGPL you need to release the entire source code to your app. | 17:02.53 |
sai_ | this is where I downloaded the library from and I built the app basing on that | 17:03.28 |
| even in this sample app if I give large pdf it crashes | 17:03.43 |
sebras | sai_: how is your app connected to FAZ? | 17:04.03 |
Robin_Watts | sai_: Right, so you're using a 2 year old version of our lib. | 17:04.35 |
sai_ | yes | 17:04.43 |
| I will discuss with my boss on getting a license. Thank you @robin | 17:06.01 |
Robin_Watts | So until you can convince me that you're abiding by the terms of the GNU AGPL, or that you are actively talking to Scott about getting a proper license, I can't help you. | 17:06.07 |
| Once you get a license, then support can be factored into that. | 17:06.28 |
| and we can walk you through your problems. | 17:06.35 |
sai_ | That sounds perfect thank you so much | 17:06.42 |
Robin_Watts | As a quick test, download the MuPDF app from google play, and try the PDFs in that. | 17:06.53 |
| If that has problems, let us know, cos we'll want to fix that regardless. | 17:07.07 |
sai_ | but the app from goggle can display only one page in landscap e | 17:07.18 |
| I'm displaying 2 pages in landscape | 17:08.05 |
Robin_Watts | sai_: The google app only displays one page at a time, yes. | 17:08.10 |
| Displaying two shouldn't be much harder though - though you will need to change the underlying classes. | 17:08.29 |
| But if the google app doesn't have memory problems, that's a good indication that you shouldn't either. | 17:09.19 |
sai_ | okay | 17:09.32 |
| to display two pages in landscape where should I add the code | 17:09.58 |
| in native C classes ? | 17:10.11 |
Robin_Watts | sai: Get a license, then we can talk. | 17:10.21 |
sai_ | sure thanks | 17:10.28 |
| for your time Robin. I will get back to u after talking to your marketing team | 17:10.55 |
Robin_Watts | no problem. | 17:11.04 |
| I am off on holiday for 2 weeks at the end of next week, but my colleagues can help in my absence. | 17:11.26 |
| Forward 1 day (to 2016/08/13)>>> | |