It’s my pleasure to announce the release 0.9.5 of Vg:
Vg is a declarative 2D vector graphics library. Images are values that
denote functions mapping points of the cartesian plane to colors and
combinators are provided to define and compose them.
Renderers for PDF, SVG, Cairo and the HTML canvas are distributed
with the library. An API allows to implement new renderers.
Vg is distributed under the ISC license.
Except for the addition of combinators to smoothly stitch Bézier paths by François Thiré, this is mostly a bureaucratic and maintenance release.
At the library level, the Vgr_svg module is now part of the vg library and the vg.svg library is deprecated. The Vgr_htmlc canvas renderer has been rewritten with brr which becomes an optional dependency of the package while the dependencies on js_of_ocaml and js_of_ocaml-ppx are dropped for good.
Ten years ago neither dark themes nor .mld files did exist so the tutorial, the semantics and the image howto have been slightly reworked and moved out of the Vg module documentation to their own pages and the doc images have been fixed to work in dark themes.
Well it should not happen or rather one should not use Marshal in totally inconsiderate ways with local storage (still a bit surprising that Invalid_argument gets raised, the code protects against Failure). This was hastily ported to brr at some point, I suspect you had an old storage lying in your browser from a few years ago (?).
@grayswandyr, that’s not really part of the docs and has nothing to do with dark themes, it was always that way. It’s a demo and tool for developing Vg written a long time ago and I have to admit I don’t really have the time to micro manage that for now (it also requests fonts from google which I consider a sin).