Inkscape搞砸了EPS文件 [英] Inkscape screws up EPS files

查看:142
本文介绍了Inkscape搞砸了EPS文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用Inkscape为我的科学论文准备艺术品图形.我使用LaTeX,并且需要将我的图形准备为高质量的封装PostScript(EPS)图像.工作顺序如下.首先,我使用matplotlib绘制部分图形并将其保存为EPS格式.其次,我启动Inkscape并导入EPS文件.使用Inkscape,我组成了一个图形,留下了所需的对象,杀死了不需要的对象,并添加了一些标记.因此,当我在Windows中使用CorelDraw时,我曾经这样做,但是现在我在Linux中工作.

I have been trying to use Inkscape to prepare artwork graphics for my scientific papers. I use LaTeX, and I need my figures to be prepared as high-quality Encapsulated PostScript (EPS) images. The work order is as follows. First, I plot parts of my figure using matplotlib and save them in EPS format. Second, I launch Inkscape and import the EPS files. Using Inkscape I compose a figure, leaving needed objects, killing unneeded, and adding some markups. So I used to do when I worked with CorelDraw in Windows, but now I work in Linux.

不幸的是,Inkscape会损坏EPS文件:它会更改颜色并且不会保存所有对象.在过去的几年中,我试图寻找解决方案,但是我找不到有人抱怨.从svg导出到eps或向后导出时,这些抱怨(在Web上找到)与诸如字体渲染不正确"之类的东西有关. (对我来说这不是问题,文本始终可以表示为曲线).

Unfortunately, Inkscape damages EPS files: it changes the colors and does not save all the objects. Over last years I tried to search for a solution, but I cannot find that people complained. The complaints (found on the Web) are related to something like "incorrect font rendering" when exporting from svg to eps or back. (For me this is not a problem - the text always can be represented as curves).

我目前在Mandriva Linux 2010中工作,并使用Inkscape版本0.47 r22583(2010年1月14日).我在某处读到,此类问题可能是由于开罗的某些过时版本引起的-我的是1.9.14.我花了很多心血来构建较新的开罗(1.12.14),但离目标还很遥远.我对系统中同时存在的32位和64位库感到困惑...

I currently work in Mandriva Linux 2010 and use Inkscape version 0.47 r22583 (Jan 14 2010). Somewhere I read that such problems could be caused by some outdated versions of cairo - mine is 1.9.14. I spend a lot of effort to build newer cairo (1.12.14), but I am still far from the purpose. I got confused in 32 and 64-bit libraries coexisting in my system...

对于任何有类似问题的人,我将深表感谢,并可能会进一步寻求解决方案.让我说明一下这个问题.

I would be very grateful to anyone who has similar problems and, may be, advanced further towards the solution. Let me illustrate the problem.

抱歉,我没有足够的声誉点,既不能张贴图片,也不能插入2个以上的链接,因此,请在我的实时新闻页面上查看带有图片的这篇文章的副本:

Sorry, I do not have enough reputation points to neither post images nor insert more than 2 links, so, please take a look at the copy of this post with the images in my livejournal page:

http://benkev.livejournal.com/1093.html

下面的图形标题.

(1)以下是我想在一个图中组合的三个eps图像:

(1) Here are the three eps images I would like to combine in one figure:

(2)这是在将图像导入Inkscape并保存为SVG格式后得到的结果.注意颜色和分辨率失真.此外,我在感兴趣的特征周围绘制了三个红色圆圈.

(2) Here is what I get after importing the images in Inkscape and saving in SVG format. Note color and resolution distortion. Also, I draw three red circles around the feature of interest.

(3)这是将图形导出到EPS文件时得到的结果.可以注意到,三个红色圆圈之一消失了:仅剩两个圆圈!

(3) Here is what I get when I export this figure to EPS file. One can notice that one of the three red circles gone: only two circles left!

谢谢!

推荐答案

这似乎是inkscape中的错误.以下步骤可能会有所帮助:

This appears to be a bug in inkscape. The following steps might help:

  1. 打开inkscape中的svg文件.
  2. 全选( Ctrl + A )
  3. 取消分组( Ctrl + Shift + G ).您可能需要重复几次此步骤.
  4. 将结果保存为eps格式.
  1. Open the svg file in inkscape.
  2. Select all (Ctrl+A)
  3. Un-group (Ctrl+Shift+G). you may need to repeat this step several times.
  4. Save the result as eps format.

这篇关于Inkscape搞砸了EPS文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆