Re: SVG & PS/EPS surfaces

Tomas By <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hi,

Thanks for the reply. I find EPS tends to work best with Latex. 
Guile-cairo does not seem to support EPS, hence PS instead.

Have experimented a bit and thought maybe SVG would be the most 
compatible format, which seems to not be the case in reality.

I then tried to do everything in PDF but I still get raster images, not 
vectors. I did all the drawing in 100x100, so it does not look very 
nice, with very unclear edges even in unzoomed display.

As I only use move-to, line-to, arc, over operator, no alpha channel, it 
seems to be a little mystery why I cannot get vector output even with 
PDF?

/Tomas



On 2015-08-02 16:19, Stefan Salewski wrote:
> On Sun, 2015-08-02 at 12:27 +0200, Tomas By wrote:
>> Hi all,
>> 
>> I am making simple drawings (lines/arcs) on SVG surfaces and then
>> painting those on PS surfaces which I inlcude in a Latex document.
> 
> Why first SVG, and then painting to PS? Maybe that is the problem. 
> There
> is a PDF example at http://zetcode.com/gfx/cairo/cairobackends/ -- I
> think PS is very similar. Do you really still need PS for your LaTeX?
> PDF import should work, at least for pdflatex.

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.