Comment 5 for bug 168448

Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :

Following up on this: I've obtained the best results doing by using the following extension (which I called eps_input.inx too) in ~/.inskcape/extensions :

<inkscape-extension>
    <_name>EPS Input</_name>
    <id>org.inkscape.input.eps</id>
    <dependency type="executable">pstoedit</dependency>
    <input>
        <extension>.eps</extension>
        <mimetype>image/x-encapsulated-postscript</mimetype>
        <_filetypename>Encapsulated Postscript (*.eps)</_filetypename>
        <_filetypetooltip>Encapsulated Postscript</_filetypetooltip>
        <output_extension>org.inkscape.output.eps</output_extension>
    </input>
    <script>
        <command reldir="path">pstoedit -f plot-svg -mergetext -ssp </command>
    </script>
</inkscape-extension>

the -ssp option seems to help with some fonts being rendered incorrectly and the -mergetext... well, it merges text otherwise broken into individual characters.

The resulting SVG opens fine (even rather complex figures) and can be edited. However, for some reason, if I try to add text it defaults to a font size of 8640!!! I've attached map.svg so you can check it out.

I guess matlab produces eps from hell.