unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Tomas By <tomas@basun.net>
To: guile-user@gnu.org
Cc: wingo@pobox.com
Subject: Guile/Cairo, files formats/surfaces
Date: Sun, 02 Aug 2015 10:17:05 +0200	[thread overview]
Message-ID: <1032f7b209ddab02af63bc49408cd9e8@xs4all.nl> (raw)

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. 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




             reply	other threads:[~2015-08-02  8:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-02  8:17 Tomas By [this message]
2015-08-05  8:32 ` Guile/Cairo, files formats/surfaces Amirouche Boubekki
2015-08-05  8:50   ` Tomas By
2015-08-05  9:05     ` Amirouche Boubekki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1032f7b209ddab02af63bc49408cd9e8@xs4all.nl \
    --to=tomas@basun.net \
    --cc=guile-user@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).