caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Caml-list <caml-list@inria.fr>
Cc: Arthur Wendling <art.wendling@gmail.com>
Subject: [Caml-list] [ANN] Vg 0.8.2
Date: Fri, 14 Aug 2015 17:55:48 +0100	[thread overview]
Message-ID: <9FA674AE74EF4E818051704D5416A0B0@erratique.ch> (raw)

Hello,

Vg 0.8.2 has been released and will soon be available in opam.

Thanks to Arthur Wendling's work (and patience with me to merge), this release brings us an initial Cairo [1] backend via the cairo2 bindings [2].

It allows to use Vg with gtk applications or any cairo context you are able to get a handle on. This notably brings rendering to raster memory buffers and offline PNG and PS file generation to Vg. It also provide redundant PDF and SVG file generation but Vg's own pure OCaml renderers are much faster for that.

Vg's online image database [3] has eventually been fixed so that the many people that are on Linux using Firefox should no longer witness obscure (au propre comme au figuré) stack overflows.

The full release notes are here:

  https://github.com/dbuenzli/vg/blob/v0.8.2/CHANGES.md#v082-2015-08-14-cambridge-uk

Vg brings declarative 2D vector graphics to OCaml. It is distributed under a BSD3 license.  

Homepage: http://erratique.ch/software/vg
API documentation: http://erratique.ch/software/vg/doc/

Best,

Daniel

P.S. The Cairo backend glyph API is a bit underpowered at the moment. If you are interested in improving this, get in touch on https://github.com/dbuenzli/vg/issues/9

P.P.S. `-safe-string` support means that Vg 0.8.2 is > OCaml 4.02.0 only. It turns out that the bytes compatibility package is not really sufficient for basic use cases, e.g. you don't get the bytes related functions in the `Buffer` module.

[1] http://cairographics.org/  
[2] http://cairo.forge.ocamlcore.org/tutorial/
[3] http://erratique.ch/software/vg/demos/rhtmlc


                 reply	other threads:[~2015-08-14 16:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=9FA674AE74EF4E818051704D5416A0B0@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=art.wendling@gmail.com \
    --cc=caml-list@inria.fr \
    /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 NNTP newsgroup(s).