| <<<Back 1 day (to 2014/10/01) | 2014/10/02 |
mstefanko | hey guys, seems like mudraw/mutool eats dashed arrows / dashed lines | 10:13.13 |
| any idea what it could be? | 10:13.16 |
pedro_mac | hi mstefanko - the guys are in a staff meeting in the US most of this week so you may need to wait a bit for an answer | 10:23.12 |
| hi kens - good flight? | 10:52.51 |
kens | Hi pedro_mac yes it was quiet, so I had a row to myself ;-) | 10:56.44 |
| mstefanko : almost certainly we'd need to see the PDF file to have any opinion. Best to put it somewhere public and post a URL (or open a bug report) | 10:57.27 |
| pedro_mac : sadly, jet lag wins and I'm awake at 6 am :-( | 10:57.54 |
pedro_mac | :( | 10:58.10 |
| you need to do the âstay awake for 36 hoursâ thing - usually works for me :) | 10:58.29 |
kens | It works on the way home, I stayed up till 10 pm local time, but still woke up early | 10:59.00 |
pedro_mac | nods - what time do you start today? | 10:59.29 |
kens | We'll have breakfast at 8:30, start meeting around 9:30 | 11:00.05 |
| Same tomorrow (if Joseph reads the logs) | 11:00.16 |
pedro_mac | cool - heâs just boarding in shipol just now | 11:02.22 |
| would be good if I could spell schiphol of course | 11:03.18 |
kens | We'll catch up with him this evening, I think the plan is to find a steak place tonight | 11:03.21 |
| And another insomniac.... | 11:04.16 |
| Hmm, no MuPDF on this laptop..... | 11:05.46 |
mstefanko | hey kens this one for example https://www.dropbox.com/s/c8y3k34b0l6amkh/Presentation1.pdf?dl=0 | 11:41.56 |
| with mudraw -b 8 -r 144 -w 1280px losing the dashed lines :( | 11:42.58 |
kens | i having trouble getting teh file.... | 11:43.45 |
mstefanko | top right corner download? | 11:43.59 |
| or this : https://www.dropbox.com/s/c8y3k34b0l6amkh/Presentation1.pdf?dl=1 | 11:44.07 |
kens | Its javascript. I have it now | 11:44.43 |
| The file is rather complex, involves transparency, that could be the problem | 11:46.25 |
| Decompressed the file is 8Mb | 11:46.45 |
mstefanko | i sent you another one in PM | 11:46.51 |
kens | I pect a nonsensical SMask | 11:46.54 |
mstefanko | well basically it's always just the dashed lines | 11:46.56 |
kens | It seems like Quartz has pule thing in a SMask group, which makes it well nigh impossible to edit.t the wh | 11:48.24 |
mstefanko | not sure if this is related http://bugs.ghostscript.com/show_bug.cgi?id=691999 | 11:48.35 |
kens | Grr stupid trackppad, I wish I could turn it off.... | 11:48.40 |
mstefanko | hehe | 11:48.46 |
kens | Doesn't look related | 11:48.58 |
| As the lines are not thin | 11:49.11 |
mstefanko | that one is from a completely different presentation | 11:50.08 |
| https://www.dropbox.com/s/j4ui3ided64amrb/Presentation2.pdf?dl=1 | 11:50.10 |
| same issue there | 11:50.14 |
| no issues with e.g. straight line arrows | 11:51.02 |
| just the dotted/dashed arrows | 11:51.06 |
kens | If you make the files the same way, that's no great surprise. Must be a bigger file, still not downloaded yet | 11:51.09 |
mstefanko | it's from 2 different ppl, not sure how they make them | 11:51.24 |
| maybe keynote or pptx to pdf conversion | 11:51.35 |
kens | Well there's what appears to be a massive image with a soft mask in there. Possibly it contains the lines | 11:52.34 |
| No, that seems to be teh background (dumb way to draw it) | 11:54.19 |
mstefanko | ah yeah | 11:54.28 |
kens | Not going to try the 15Mb one, no doubt that's immense when decompressed | 11:55.44 |
mstefanko | i will try and get a smaller version | 11:55.57 |
| can't believe one slide can take that much | 11:56.03 |
kens | Well, if you draw a constant background by covering the entire page with an image, then mask out just the bits you want.... | 11:56.56 |
| I'd say its a dumb PowerPoint background fill | 11:57.17 |
mstefanko | i guess | 11:57.28 |
| i'm trying to get a version without it | 11:57.36 |
kens | I can probably identify the problem (but not fix it) in the smaller file, given some time | 11:57.46 |
mstefanko | man i really would love a saas service that just converts pdf files through an api.. | 11:57.59 |
| kens let me see if i can get a smaller version within the next few minutes | 11:58.33 |
kens | I've got a little time before breakfast | 11:58.51 |
| There are 2 ICC profiles in there, it 'might' be some kind of colour management thing. BTW the lines aren't dashed as far as I can see, each dash is a separate line | 11:59.50 |
| OK down to just the three thick lines now | 12:13.02 |
| It does seem to be a dashing problem, prob-ably caused by the insane CTM. The dash array is [142879.8 190504.8] and then teh CTM is concatenated with 0.00007874015 0 0 -0.00007874015 185.1508 254.3865. | 12:16.53 |
| 'd suspect some kind of math problem there | 12:17.03 |
| I'll have to let tor look at this I think | 12:17.39 |
mstefanko | oki kens | 12:48.05 |
| everything is slow today :D still haven't gotten the smaller one | 12:48.15 |
kens | I have a massively reduced file, juscut down to the two dashed lines with the ridicuous CTM | 12:50.04 |
| I'd suggest you open a bug report and I'll attach the file | 12:50.26 |
mstefanko | oh oki | 12:50.41 |
| alright | 12:50.43 |
| oki kens i posted it here http://bugs.ghostscript.com/show_bug.cgi?id=695556 | 12:54.49 |
kens | OKI'll go attach the file | 12:55.16 |
mstefanko | cool! | 12:55.22 |
| great, he just sent me the smaller file version at 66k.. https://www.dropbox.com/s/c8y3k34b0l6amkh/Presentation1.pdf?dl=1 | 12:56.24 |
| :D | 12:56.24 |
kens | Well my reduced file is 28k :-) | 12:57.06 |
| actually 23k | 12:57.12 |
mstefanko | haha ok | 12:57.18 |
kens | I expect it'll be easy enough for tor to fix when he sees it, I'm guessing some kind of overflow problem or somethin | 12:57.47 |
mstefanko | fingers crossed :D | 13:03.50 |
kens | heads for breakfast | 13:15.27 |
juschz | Hi. it is possible with MuPDF, to display remote pdf file ? or do I have to resolve download of the file myself ? | 14:16.45 |
robin_watts_mac | juschz: There is a mupdf + curl build that will download and display. | 14:20.10 |
| On windows, it's part of the standard solution. | 14:24.03 |
| Let me check linux | 14:24.10 |
| make HAVE_CURL=yes | 14:28.20 |
juschz | ok thanks, let me try it | 14:30.04 |
| Iâm building it for Android ndk. Do I have also to modify ThirdParty.mk file ? | 15:00.10 |
robin_watts_mac | juschz: Yes. | 15:06.42 |
| You're building an android app using MuPDF? | 15:06.57 |
| What license are you planning to release your app under? | 15:07.24 |
juschz | yes | 15:11.56 |
| GPL | 15:11.58 |
robin_watts_mac | Would need to be AGPL. | 15:13.16 |
juschz | yes AGPL sorry | 15:13.44 |
| the same as muPdf | 15:13.49 |
robin_watts_mac | cool. | 15:13.56 |
| You'll need to set flags etc, yes. | 15:15.06 |
| See the top level Makefiles/Makerules/Makethird for hints. | 15:15.29 |
juschz | Ok, i will look at this. Is all is ok, I just have to pass the url with the intent.setData(uri) function ? | 15:20.51 |
| One more question. Is it possible to build mupdf+curl on Mac os X ? it seems that there are some conflict between xcode & ndk files | 16:23.31 |
ivanshmakov | Any chance that the link to the PostScript FAQ at http://ghostscript.com/FAQ.html be changed to use the âhttps:â URI scheme?â(Instead of âhttp:â it uses right now.) | 18:01.37 |
kens | But its not a secure site..... | 18:03.40 |
ivanshmakov | kens: Wikibooks surely /does/ support HTTPS. | 18:04.18 |
| The link is in question is: http://en.wikibooks.org/wiki/PostScript_FAQ. | 18:04.42 |
kens | So you mean the link at thb to me.....That wasn't obviou | 18:06.10 |
kens | tries to type that again... | 18:06.45 |
| You mean the link at teh bottom of *our* FAQ to a different PostScript FAQ, that wasn't clear to me. | 18:07.12 |
ivanshmakov | kens: Yes, thatâs what Iâve meant. | 18:08.11 |
chrisl | So, why?? | 18:13.26 |
| Forward 1 day (to 2014/10/03)>>> | |