| <<<Back 1 day (to 2013/02/14) | 2013/02/15 |
k-man | i've got this problem where pdfs produced by cups-pdf and ghostscript 9.05 seem to be unreadable by any of the tools that get text out of PDFs | 04:05.50 |
| like perl's CAM::PDF or pdf2txt.py | 04:06.11 |
| it used to work in 8.x afair | 04:06.25 |
| any ideas? | 04:06.30 |
chrisl_away | k-man: you could try the txtwrite device included in recent Ghostscript releseases | 07:28.54 |
chrisl | Robin_Watts: ping | 10:23.11 |
Robin_Watts | pong | 10:37.41 |
chrisl | Robin_Watts: what's happening with the cmsPluginTHR patch for LCMS2? | 10:38.16 |
Robin_Watts | With the what patch? | 10:38.52 |
chrisl | sorry phone call - give me a minute..... | 10:39.56 |
Robin_Watts | http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8ef93d4d8f33149cb7d244da52d47e82a11f9019 | 10:41.05 |
chrisl | Robin_Watts: yes, that's the patch - has Marti seen it. is it likely to get into LCMS2 proper, what's the status? | 10:45.01 |
Robin_Watts | I can't see it on my github repo. | 10:46.29 |
| I think I generally put stuff there and then point Marti at it. | 10:46.45 |
| Let me sort that out and send him a mail. | 10:46.54 |
chrisl | Because it breaks the shared LCMS build, so we're getting complaints from the distribution folk | 10:47.26 |
Robin_Watts | In fact, it *is* in my github repo. | 11:04.13 |
| https://github.com/robinwatts/Little-CMS/commit/887e1ca0f1696394f42f5e1681b8d1f918984c22 | 11:04.46 |
chrisl | It's not in Marti's repos | 11:07.51 |
Robin_Watts | I'm fighting github now. | 11:08.50 |
| OK. There are 3 commits on my repo that Marti should take on. | 11:13.28 |
| I'll send him a mail. | 11:13.35 |
| jeez. When I try to send to gs-devel@ghostscript.com I get told "no mailbox here of that name" | 11:29.31 |
kens | :-O | 11:30.03 |
Robin_Watts | An error occurred while sending mail. The mail server responded: sorry, no mailbox here by that name (#5.1.1). Please check the message recipient gs-devel@ghostscript.com and try again. | 11:30.39 |
kens | Let me try | 11:31.22 |
Robin_Watts | sends mail to chrisl instead of the list. | 11:31.31 |
kens | Huh Miranda crashed | 11:32.58 |
| Robin_Watts : gs-devel works OK for me, are you registered on the list ? | 11:33.15 |
oy | Robin_Watts, you can place as well a "Pull Request", that's in the middle of the guthub page, when you are logged inn | 11:56.55 |
Robin_Watts | oy: I have sent a pull request. | 11:57.22 |
oy | ah, fine | 11:57.32 |
| Robin_Watts, checking here https://github.com/robinwatts/Little-CMS, I do not see the "Pull Request" | 11:58.48 |
| you mean perhaps email? | 11:58.53 |
Robin_Watts | No, I sent the pull request to marti. | 11:59.31 |
oy | I see on list | 11:59.43 |
Robin_Watts | https://github.com/mm2/Little-CMS/pulls | 11:59.46 |
oy | ok | 12:00.10 |
chrisl | Robin_Watts: thanks for the info - is it okay to forward it to gs-devel? | 12:23.13 |
Robin_Watts | chrisl: Sure. I was trying to post that to gs-devel and failed :( | 12:24.56 |
chrisl | OKay, I just wanted to check in case it was intentional to send just to me! | 12:26.02 |
Robin_Watts | chrisl: Got a mail back from Marti. He's pulling those fixes in now. They'll be in git within a few hours (regression tests permitting). | 14:25.54 |
| He's planning a new release in June. | 14:26.01 |
kens | Nice to know he's happy to take them | 14:26.26 |
Robin_Watts | The fixes are for genuine problems, or API gaps. | 14:27.08 |
| The optimisations are a separate matter. | 14:27.17 |
kens | Sure, but it'll be good to have them | 14:27.22 |
Robin_Watts | He's talked about taking them too, but I suspect there will be wrangling :) | 14:27.35 |
kens | Well, at least if we can build with teh system libraries it will shut up the distros | 14:28.24 |
chrisl | Robin_Watts: thanks - just a few months of hassle then..... | 14:28.48 |
Robin_Watts | Well, the distros have the option of offering a patched lcms 2.04 | 14:30.16 |
| where the patches are at least official. | 14:30.27 |
chrisl | Yeh, that's what I'll suggest | 14:30.50 |
tor8 | Robin_Watts: do you have any idea what patch/diff tool zeniko uses? | 15:01.57 |
| the patches he's sent don't apply with patch, "malformed patch at line bla bla bla" | 15:02.15 |
hirsty | hi all does anyone know of a script to convert pdf format to the epub format? | 15:02.19 |
Robin_Watts | tor8: sorry, no. | 15:03.07 |
| I tend to apply his patches manually as I check them. | 15:03.23 |
hirsty | grrr neef to convert PDF -> EPUB lol | 15:16.31 |
Robin_Watts | hirsty: I looked at it with mupdf ages ago. | 15:18.05 |
| but I think the code got lost when we rejigged the text extraction device. | 15:18.22 |
hirsty | ah its just the last peice of the puzzle as we have the softwared etecting ipad/iphone/android | 15:19.02 |
| just need to convert if its an iphone/ipad | 15:19.13 |
| as they dont like pdf's lol | 15:19.39 |
Robin_Watts | hirsty: iphones and ipads can display PDFs. | 15:20.22 |
| They have apple preview built in, or we can license you mupdf :) | 15:20.42 |
hirsty | not with ours (it is dont within a frame so it throws a hissy fit) | 15:21.39 |
| ive tried with ipad simulators as i dont own one (Android ftw :P) and it just produces a white page | 15:22.46 |
Robin_Watts | sorry? The problem is with the PDFs you are sending? Or it won't display PDFs within your app in the way you want ? | 15:23.06 |
hirsty | the pdfs are display in the web browser | 15:23.29 |
| well...on the PC | 15:23.34 |
Robin_Watts | Right. | 15:23.38 |
| So how are you displaying them on android? | 15:23.46 |
hirsty | that displays them in the browser too | 15:23.59 |
Robin_Watts | really? Using what device/browser ? | 15:24.17 |
hirsty | Galaxy S3 | 15:24.26 |
Robin_Watts | Can you give me a url I can try on my android phone ? | 15:24.44 |
hirsty | idea for iphone/ipad though was to convert to epub so that iBooks is able to pick it up (which is installed by default) | 15:25.08 |
| welll....its an application suite that requires a login....the most i can do is provide you with screenshots? | 15:26.00 |
Robin_Watts | hirsty: Never mind then. | 15:26.10 |
hirsty | apologies :) | 15:26.19 |
Robin_Watts | I don't believe that Android supports PDF as standard. | 15:26.24 |
| Lots of devices have some sort of PDF capability licensed in by the device manufacturer, but there is no standard solution across all android platforms. | 15:26.55 |
| So you might be lucky and have it work on an S3, but it might not work on an HTC or an Asus, or even a Nexus. | 15:27.15 |
hirsty | well we were just displaying the HTML if android/ipad/iphone but obv if they want to printit weill not have the formatting that htmldoc gives it | 15:28.49 |
| as well as cant really email it :) | 15:29.32 |
henrys | kens:have a nice vacation! seems like that is a regular journey for you. | 15:48.28 |
kens | henrys, thanks. Yes this is our big vacationof the year | 15:49.01 |
| We have a smaller summer one | 15:49.09 |
chrisl | henrys: so, is Miles placated about the name thing? Or is it going to come up again? | 15:50.03 |
Robin_Watts | chrisl: Marti has pulled 2 of my patches in. He's thinking on the third one. | 15:54.02 |
| The third one is the one the distros want :/ | 15:54.11 |
henrys | chrisl:I don't know haven't heard back, I didn't intend to be but I was a bit short with him so I don't know if he accepted what I said or he's mad and we'll hear back | 15:54.31 |
chrisl | Robin_Watts: Ugh :-( I'd have thought that was the least contentious..... | 15:54.51 |
| henrys: Oh well, nothing we can do until August, anyway! | 15:55.10 |
Robin_Watts | name thing? | 15:55.30 |
| (it it's private, just say) | 15:55.42 |
chrisl | Miles thought we'd rename to AGPL Ghostscript - henrys and I disagreed..... | 15:56.01 |
kens | chrisl ping | 16:08.52 |
chrisl | kens: pong | 16:08.59 |
kens | tried to call you but your phone just rings | 16:09.09 |
chrisl | Hmm, *seems* okay, hang on, let me call you.... | 16:09.35 |
kens | OK | 16:09.39 |
henrys | so mupdf release date? | 16:14.21 |
Robin_Watts | henrys: Zeniko found a bunch of problems in the rc1. | 16:15.07 |
| so tor8 has been running through applying his fixes. | 16:15.20 |
| The plan was to leave it a week after the rc. | 16:15.38 |
| so we're on target for next week sometime. | 16:15.49 |
henrys | okay | 16:16.11 |
| did you send your press release to Miles? | 16:24.04 |
Robin_Watts | I didn't. | 16:25.34 |
| And I would assume we wouldn't until we actually put the release out. | 16:25.48 |
| The news item about the rc1 should go out now. Dunno if tor8 did that. | 16:26.05 |
| No, he hasn't. | 16:26.31 |
| I have some simple region analysis working here. | 16:27.54 |
| should gather simple tables/bulletted lists together. | 16:28.18 |
| I've just got to update the html output stuff to make use of the extra info. | 16:28.40 |
henrys | I have to do the newsletter and I'm just thinking how that will reference the press release - I'll just leave it blank and have Miles fill that part in. | 16:30.06 |
| tor8:I see you can take an online free stanford course on iOS programming ;-) | 16:33.17 |
| whoops he not here⦠for the logs | 16:34.14 |
Robin_Watts | woo hoo! table-tastic HTML | 16:46.36 |
| I should be able to get alignments out of it too... | 16:47.01 |
| http://ghostscript.com/~robin/test.html | 17:38.22 |
| That's the extraction for page 24 of pdf_reference17.pdf | 17:38.40 |
kens | Looks pretty fair to me | 17:41.42 |
| OK I'm off. I'll be back on Monday 25th, have fun everyone :-) | 17:42.19 |
Robin_Watts | Have a good trip! | 17:42.26 |
henrys | nice Robin_Watts | 18:09.22 |
Robin_Watts | is amused by ray_laptop sending scott and miles a .pnm file :) | 18:23.48 |
ray_laptop | Robin_Watts: you don't think they can open it ? | 18:29.30 |
Robin_Watts | I can't open it with using the command line. Damned if I know how they will be able to. | 18:29.47 |
| jpg or png are safe, I reckon. | 18:30.17 |
| Anything else will cause problems, I bet. | 18:30.44 |
ray_laptop | I just picked one from the 'Save As' and when I type PN that's the first one that came up. Probably should have used PNG :-( | 18:31.05 |
| Robin_Watts: I just sent the image in PNG. Sorry | 18:42.37 |
Robin_Watts | ray_laptop: No worries. | 18:42.48 |
ray_laptop | probably won't manage to get this guy to pony up, but at least we can post complaints about him | 18:44.18 |
| Robin_Watts: I was thinking that most people don't rebuild gswin__.exe, so we could pop up an 'always on top' dialog while gs runs, that at least gives us 'eyeballs' while gs is running. Maybe even show progress or something, but at least "GPL Ghostscript developed by Artifex Software Inc." maybe with our URL | 18:48.15 |
| of course if we run too quickly, it may not be up long enough to matter. | 18:48.41 |
Robin_Watts | ray_laptop: Ah, a splash screen. | 18:48.55 |
| That'd annoy the pants of any real GPL users. | 18:49.17 |
ray_laptop | Robin_Watts: and people that want to modify the 'main' to get rid of it would have to provide their own source. | 18:49.40 |
| Robin_Watts: but most Windows users are NOT real GPL users. I wouldn't do that for linux mains, of course | 18:50.16 |
Robin_Watts | You couldn't do it for linux mains, as they may not have X installed. | 18:50.39 |
ray_laptop | Robin_Watts: I wouldn't even if they had X | 18:50.55 |
| most of the people making money on our backs are Windows (pdf writers or other tools) | 18:51.33 |
Robin_Watts | ray_laptop: So, what do you think this would achieve? | 18:52.00 |
ray_laptop | and it would be simple for chrisl to provide the non-noisy windoze .exe for the customer releases. | 18:52.21 |
Robin_Watts | For people that genuinely use gs in a GPL compliant fashion, it'd annoy people. | 18:52.30 |
ray_laptop | Robin_Watts: mostly just make sure that people know that GPL Ghostscript is doing the work in somebody else's product. So we get exposure and credit. | 18:53.06 |
Robin_Watts | For companies like the one that started this off, it'd gain us nothing, as they'd either 1) just let the window pop up, and say "look, there is a window, we are informing people it's GPL, we're fine" | 18:53.22 |
| or 2) recompile, ship a modified binary and still not tell anyone. | 18:54.01 |
| Neither way really helps end users get their GPL rights. | 18:54.14 |
ray_laptop | Robin_Watts: that's probably all we'd get anyway, and that also depends on how Miles wants to interpret the GPL. | 18:54.20 |
| Robin_Watts: if they take route (2) then they have to provide source, or they ARE in violation of GPL | 18:55.16 |
Robin_Watts | ray_laptop: All they need to do to abide by the letter of the GPL is to include the GPL license with the gs they install, and to say that they are using a GPL component. | 18:55.26 |
| Right. I think we're in agreement that they *are* in violation now. | 18:55.42 |
| So either we can nudge them into making the violation worse (option 2) or we can give them false sense of security that they are not in violation (option 1) | 18:56.19 |
| I don't think that either such outcome justifies pissing off our real free users. | 18:56.56 |
ray_laptop | Robin_Watts: whether or not that is "All they need to do" depends on whether or not a non GPL app that invokes a process with no way to modify how the app invokes the process conforms to the GPL | 18:57.30 |
Robin_Watts | ray_laptop: Everyone other than Miles would say that it does. | 18:58.14 |
ray_laptop | Robin_Watts: I doubt we really have any Windows "real" free users. I think they are all using somebody else's free app | 18:58.23 |
Robin_Watts | ray_laptop: Anyone that downloads ghostscript and installs it independently of another app is a free user. | 18:59.14 |
| And clearly there are such people. | 18:59.23 |
ray_laptop | Robin_Watts: right, and how many of those are there (on Windows) ? | 18:59.52 |
Robin_Watts | I will admit that windows users tend to be more gui based, but even if 1% of windows users use the command line etc, then 1% of lots and lots of people is still lots of people. | 19:00.19 |
ray_laptop | Robin_Watts: dp we have download counts ? | 19:00.35 |
Robin_Watts | ray_laptop: I don't believe we do so. | 19:00.45 |
| Tell you what, why don't we get chrisl to remove the windows binaries from the download site, and put a link telling people to email you requesting it. | 19:01.12 |
| :) | 19:01.14 |
ray_laptop | Robin_Watts: well we could try it in 9.08 and see how many people complain ?? | 19:01.16 |
Robin_Watts | ray_laptop: Sure. As long as the link we give them in the pop up window is your personal email address. | 19:01.58 |
| In case, I am being unclear, I think it's a stupendously bad idea. | 19:02.22 |
ray_laptop | Robin_Watts: It could be automated -- they'd have to fill out a "registration" screen and then get an email back with a coded URL to do the download. Lots of s/w apps do that | 19:02.41 |
Robin_Watts | All it will do is force people away from our version to the GNU GPL. | 19:02.48 |
| ray_laptop: All massive effort for no appreciable gain. | 19:02.59 |
ray_laptop | Robin_Watts: does GNU provide windows binaries ? I thought they were only source and linux distributions | 19:03.25 |
Robin_Watts | We sell software. We are not harvesting end user data for marketing/resale reasons, which is why most people do it. | 19:03.30 |
_ingsoc | Hi, is anyone able to answer a question about MuPDF? | 19:03.38 |
Robin_Watts | s/We sell software/We sell software to OEMs/ | 19:03.54 |
| _ingsoc: Sure. | 19:03.59 |
_ingsoc | Hi Robin_Watts. I was wondering whether I can read comments in a PDF with MuPDF? I see the little comment boxes just fine, but I can't click on them to read them. | 19:04.33 |
| I can click them with evince, and they work that way, but I really want to read them with mupdf. | 19:05.00 |
Robin_Watts | _ingsoc: Short answer, no. | 19:05.08 |
| We are starting to add support for such things though. | 19:05.21 |
_ingsoc | Hmmm. | 19:05.26 |
Robin_Watts | It won't be in 1.2 (due next week), but might appear before 1.3 | 19:05.34 |
_ingsoc | Is there a workaround in the interim? I don't mind using evince for that purpose for the time being. | 19:05.55 |
ray_laptop | Robin_Watts: it would tell us now many "real" windows users there are that are motivated enough. And all of the 'parasites' that don't ship GPL gs as part of their app will have customers that are irritated with them for the extra step (note, this is about the "registration" method, NOT the splash screen) | 19:06.01 |
Robin_Watts | Can you open a bug (enhancement request) on bugs.ghostscript.com and attach an example file please? | 19:06.12 |
_ingsoc | I will do that. I'll have to find a PDF file I can share. | 19:06.40 |
| There's no way to export those comments or something? | 19:07.01 |
ray_laptop | _ingsoc: or use mutool clean -d to edit one and obfuscate the contents | 19:07.16 |
Robin_Watts | _ingsoc: MuPDF is written as a core library, and various tools that use that library. | 19:08.05 |
| the viewer is one such tool. | 19:08.14 |
_ingsoc | Hmmm. | 19:08.22 |
Robin_Watts | The core library of MuPDF is clearly powerful enough to extract anything you want from a PDF file. | 19:08.35 |
_ingsoc | I just know it's damn awesome and I feel dirty for using anything else. | 19:08.45 |
Robin_Watts | but we may not have packaged it up in an easy to use call. | 19:08.49 |
_ingsoc | I'm a bit noob, so I will wait for the support. | 19:09.01 |
Robin_Watts | and if we haven't packaged it up, we won't have put it into the viewer. | 19:09.04 |
_ingsoc | That makes sense. | 19:09.19 |
Robin_Watts | we've been busy (and indeed are busy) adding forms, and annotation and reflow support at the moment. | 19:09.35 |
| This stuff may fall out of annotation support. | 19:09.43 |
| but I won't promise it. | 19:09.46 |
_ingsoc | Ofc. | 19:09.50 |
Robin_Watts | Access to an example file can only help. | 19:10.05 |
_ingsoc | Absolutely. I will find one. | 19:10.36 |
| How is it so fast compared to other viewers? | 19:10.47 |
Robin_Watts | _ingsoc: You'd have to ask the other viewers why they are so slow ;) | 19:14.22 |
ray_laptop | _ingsoc: because tor and Robin are so good ! | 19:14.31 |
| _ingsoc: but the design of the graphics library had a quite a few people to guide it (that had experience with other graphics libraries to know what NOT to do). | 19:15.54 |
| _ingsoc: but the optimization of "hot spots" is due to the current team | 19:16.38 |
_ingsoc | :D That's really cool. | 19:17.54 |
| Is the best way to stay bleeding edge using git? | 19:18.13 |
ray_laptop | Robin_Watts: so Miles is going to play hard ball ! | 19:18.21 |
Robin_Watts | _ingsoc: Sure. | 19:18.27 |
| ray_laptop: Sure. He should absolutely insist that they comply properly with the gpl. | 19:18.46 |
ray_laptop | have to go run an errand ... | 19:19.42 |
_trev | Hi there. I'm trying to run GS without going into the prompt with nopause but it still goes intot he prompt | 19:27.34 |
| gs -dNOPAUSE -sDEVICE=jpeg -r144 -sOutputFile=germany-surrenders.jpg ./pdfs/germany-surrenders.pdf | 19:27.43 |
| Is there something I am doing rwong? | 19:28.00 |
Robin_Watts | gs -sDEVICE=jpeg -o germany-surrenders.jpg ./pdfs/germany-surrenders.pdf | 19:29.09 |
| ? | 19:29.10 |
| Oh, and put a -r144 in there. | 19:29.24 |
_trev | I thought nopause disabled the prompt | 19:29.38 |
Robin_Watts | no, it disables pauses between pages. | 19:29.49 |
| -dBATCH may be what you want. | 19:29.55 |
_trev | ohhhh | 19:29.56 |
| I'll try that out | 19:30.03 |
| Thanks | 19:30.05 |
Robin_Watts | but -o is shorter and sets various things. | 19:30.10 |
_trev | Works. Thank you | 19:33.29 |
Robin_Watts | you're welcome. | 19:34.33 |
k-man | chrisl_away, thanks for the pointer. the thing is i need the resulting PDF as a PDF for emailing. also, i found that pdfbox seems to be able to read the pdfs | 21:05.10 |
alexcher | Who knows what's correct size of gs_id. Currently it's ulong i.e. 4 on 32-bit systems and 8 on 64-bit systems. | 22:05.45 |
| This causes unneeded differences, padding in structures, and Valgrind warnings. | 22:07.02 |
| Forward 1 day (to 2013/02/16)>>> | |