Hello!!
It's been some time since I asked for help here... Inkscape, that I use daily, has grown and improved tremendously since!! Thanks guys!!
I have the following small problem: I am creating a lot of figures for my thesis in Inkscape. I generate my plots in Matlab and use Inkscape to fine tune the result and to add annotations. Since I am using PSFrag to get the final annotations in LaTeX, I am exporting my graphics into EPS format. My problem is that it seems as if the font information in my EPS has been incorrectly coded. Let me be more specific.
I am using the font Verdana for my text. I would create, say, a vertical arrow and I want to have a text whose center is aligned with the arrow. I do that in Inkscape and everything looks as it should. However, in the exported EPS, the text is slightly off the center. The reason is that the font is different and hence the size of the text is different.
The net result is that the annotation is slightly off in the final PDF file. First I thought that PSFrag's interpreter of PS format is broken: I thought it cannot find either the font description in the EPS or it cannot find the font itself (to get the dimension of the text). However, Scribus and Konqueror have the same problem: they lack the information about the font and use some default.
The EPS file, however, does contain the font info. But in this compicated format
/newlatin1font {findfont dup length dict copy dup /Encoding ISOLatin1Encoding put definefont} def /Verdana-ISOLatin1 /Verdana newlatin1font
the references to this font look like
/Verdana-ISOLatin1 findfont
however, previous versions of Inkscape would create simply
/Verdana findfont.
Is there something I can do? Does this mean that Scribus & Konqueror do not respect the standard?
There's workaround using PSFrag: I align the left side of the text with the arrow and then tell PSFrag to center the text in the final PDF. While this works OK, the problem is that the EPS does not really bear any information about the alignment itself.. so I suspect I'll forget when I look at the figure later :)
THANK YOU for any insight!
David
participants (1)
-
David Soukal