guile-user
[Top][All Lists]
Advanced

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

Re: Guile/Cairo, files formats/surfaces


From: Amirouche Boubekki
Subject: Re: Guile/Cairo, files formats/surfaces
Date: Wed, 05 Aug 2015 10:32:58 +0200
User-agent: Roundcube Webmail/1.1.2

Le 2015-08-02 10:17, Tomas By a écrit :
Hi all,

(Am following instructions on http://www.nongnu.org/guile-cairo/dev/)

I'm trying to create EPS files using guile-cairo, but have some
problems.

Can you share a small snippet that works for images? I'd like to output a pdf, but I can't.

Thanks.

Am using version 1.14.2, the latest in Ubuntu.

scheme@(guile-user)> (cairo-version-string)
$1 = "1.14.2"

According to the web documentation at
http://www.nongnu.org/guile-cairo/docs/html/PostScript-Surfaces.html#PostScript-Surfaces
there should be a procedure `cairo-ps-surface-set-eps' to make the
Postscript surface produce EPS, but this procedure is not defined:

scheme@(guile-user)> cairo-ps-surface-set-eps
;;; <unknown-location>: warning: possibly unbound variable
`cairo-ps-surface-set-eps'

(It is not listed in /usr/share/guile/site/cairo/cairo-procedures.txt
either, whatever that may mean.)

Also, the `recording' surface does not seem to be included in
guile-cairo. Is there some reason for this? (other than lack of
time/round tuits)

Finally, I am using SVG surfaces to make images which I then draw on
PS surfaces and include in a Latex document. What surprises me is that
the final pictures seem to be pixellated, not vector drawings. I am
only using some simple Cairo commands (move to, line to, arc) to
create the images. It seems to me that since SVG & PS/EPS are all
vector formats there should not be any pixellation at all?

Grateful for any help in explaining this.

/Tomas

--
Amirouche ~ amz3 ~ http://www.hyperdev.fr



reply via email to

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