Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Thorsten, *,

On Wed, May 23, 2012 at 10:07 AM, Thorsten Behrens
<thb@documentfoundation.org> wrote:
Michael Meeks wrote:
[EPS]
To turn that back into a development discussion - using ghostscript
out-of-process, like we do it for xpdf/poppler, to convert (e)ps
into something digestible by LibreOffice is one of the long-pending
solutions to that problem.

That is what LO already does - as last choice when the two preferred
alternatives are not present.

That needs a fair bit of hacking, but would love to provide you or
anyone else interested with code pointers.

Given that the preview is used for printing, one halfway solution is
to not only create a replacement when the eps doesn't have one
already, but always.
When there is no preview in the eps, LO tries to run pstoedit (output
as emf), convert (output as png) or ghostscript (output as 8bit color
png, at least older versions often had problems with orientation).

When convert is found, a replacement is already generated with 300dpi
to allow for some scaling and usable print resolution. Of course this
won't help when it comes to file-size of let's say an exported PDF
that surely would benefit if the EPS could be embedded directly as
vector format instead of a rendered bitmap.

http://opengrok.libreoffice.org/xref/core/filter/source/graphicfilter/ieps/ieps.cxx

ciao
Christian

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.