[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bkchem-user] Postscript export via cairo

From: Beda Kosata
Subject: Re: [Bkchem-user] Postscript export via cairo
Date: Fri, 28 Dec 2007 19:52:54 +0100
User-agent: Thunderbird (X11/20071031)

Hi Volker,
I don't know anything about psfrag or chemscheme, but I believe that
your problem comes from the fact that the Cairo export does not export
text as text (string) but it converts it into curves. Therefore there is
no way for the program you use to find the text in the file - it is just
a path, text.
For this reason I think you would have to stick to the piddle export. It
is good for me to know that someone uses it, because I was thinking
about removing it completely and replace it with cairo. The main
disadvantage of piddle is that it cannot export unicode strings, just
ascii (and maybe latin-1, I am not sure now). This is something cairo
handles without problem. The conversion to curves also ensures that
anyone will display the image exactly the same, regardless of him having
the proper fonts installed. It can however cause trouble when you want
to extract or edit the text afterwards :(
I hope my answer would be of some help, at least in understanding the

        Best regards


Volker Schmidts wrote:
> Hi bkchem users,
> I updated to v0.12.0 these days and discovered the postscript export via
> the cairo library. until now I always used the piddle export, so is
> there anything to gain by using cairo?
> The thing is, I have a problem when using the cairo export. I use the
> chemscheme latex package to number my compounds in a document. This
> package uses psfrag to edit a text marker in the eps file. With the eps
> files generated by the cairo export this doesn't work because they are
> somehow compressed. With the piddle export everything works fine.
> I contacted the developer of chemscheme and he said that he couldn't do
> anything about it and I should use the piddle export. Is there anything
> you can tell me about the how to use the cairo export with
> psfrag/chemscheme?
> Thanks,
> Volker
> ------------------------------------------------------------------------
> _______________________________________________
> Bkchem-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/bkchem-user

reply via email to

[Prev in Thread] Current Thread [Next in Thread]