| <<<Back 1 day (to 2018/11/29) | 20181130 |
kens | velix_inuse: no Ghostscript cannot currently create and embed a preview image into an EPS file when creating one. The reasons are complex but are to do with not being able to send the graphics primitives down two paths simultaneously; one fore rendering and one for creating an EPS.. | 08:17.15 |
velix | kens2: My problem is there's been a bug introduced in LibreOffice > 4.2.4.2. only two guys of million of users care about this issue, so there won't be a fix. | 10:21.41 |
| Aktually, I don't need to create an EPS, I've got an EPS already ;) | 10:22.10 |
kens2 | Well you can have Ghostscript render that to an image for you | 10:22.24 |
| Its up to you to modify the EPS to put that imeg into it as a preview though | 10:23.14 |
| IIRC it shouldn't be too hard to knock up a script for that | 10:23.28 |
| Or a C program maybe | 10:23.45 |
velix | okay, I'll do some reading. | 10:23.47 |
| By the way: we've been able to write a Windows application, to use Office's filter to slipstream EPS into EMF. We talked about this about a half year ago. | 10:24.19 |
| No this EMF can be embedded into Office, even if this doesn't support EPS anymore ;) | 10:24.48 |
kens2 | My memory doens't go back 6 hours let alone 6 months.... | 10:24.57 |
velix | okay ;) | 10:25.02 |
| dl;tr Every office since Word 98 can print high quality EPS when the target printer has an PS interpreter. | 10:25.24 |
| LibreOffice broke EPS support some years ago :( | 10:25.57 |
| Million of users, nobody cares :( | 10:26.07 |
kens2 | Hmm, a colleague in another channel has reminded me that there's a ps2epsi.ps program in the ghostpdl lib directory, which essentially does what I said above | 10:26.46 |
| renders the EPS to an image, tehn sticks the image on the front of the EPS to make a new EPS file with a preview | 10:27.03 |
velix | wow. | 10:27.09 |
kens2 | You could try that, no promises | 10:27.10 |
velix | yeah, thanks. | 10:27.14 |
kens2 | There's a script to go with it, but I've never used it, so YMMV | 10:27.33 |
velix | kens2: Right now, LO tries to render EPS to their internal vector format, which fails of course. | 10:27.44 |
kens2 | The program claims to convert an arbitrary PostScript file to EPS, so I'm not certain it still works | 10:27.56 |
velix | ;) | 10:28.04 |
| I'll dig into that. I thought GS could do it out of the box. | 10:28.16 |
| wanted to ask first :) | 10:28.22 |
kens2 | I tend to think of what the binary executable can do, rather then external PostScript programs | 10:28.50 |
velix | Interesting! https://blogs.technet.microsoft.com/msrc/2017/05/09/coming-together-to-address-encapsulated-postscript-eps-attacks/ | 10:34.46 |
| Didn't know that. | 10:34.48 |
| So there HAS been an attack with EPS! | 10:35.04 |
kens2 | It wouldn't surprise me, PostScript is a programming language | 10:35.23 |
velix | Damn, i have to leave ... but I'll be back, trust me ;) | 10:40.09 |
| Thanks for your input. | 10:40.18 |
kens2 | NP | 10:40.23 |
| Forward 1 day (to 2018/12/01)>>> | |