Vgr_svg
fix rendering of matrix transforms. Thanks to John Jackson for the report (#38).
-
Add
Vg.P.smooth_{ccurve,qcurve}
to smoothly stitch cubic and quadratic Bézier curves. Thanks to François Thiré for the patch (#33). -
Vgr_htmlc
is now implemented viabrr
which becomes an optional dependency of the package. The package no longer depends onjs_of_ocaml
andjs_of_ocaml-ppx
at all. -
Vgr_htmlc.screen_resolution
is now a function taking unit. This allows the safe (but useless) linking ofVgr_htmlc
in a web workers. -
Fix
Vgr_pdf
glyph cut rendering. All glyphs id of the form0xHH0D
were rendered as id0xHH0A
. The text of the 2008 standard of theTj
operator (§9.4.3) misleads, PDF strings do perform newline normalisation (§7.3.4.2) so0D
bytes also need to be escaped. -
The
Vgr_svg
module is now part of thevg
library. Thevg.svg
library is deprecated, it warns on usage and simply requiresvg
. -
Reworked documentation into
.mld
pages. -
Drop optional dependency on
uutf
and require OCaml 4.14.0. -
Deprecate
Vg.{Font,I,P}.to_string
, they are not thread-safe.
- jsoo 3.6.0 support.
- Fix 4.08
Pervasives
' deprecation. - jsoo 3.3.0 support. Thanks to @monstasat for the patch.
- Fix bug in
cairo2
backend. The initial clip region and clear was not done correctly. - Require
cairo2
0.6. - Require OCaml 4.03.
- Deprecate
Vg.(>>)
. Use OCaml's stdlib's|>
operator instead.
- Fix a stackoverlow in the SVG renderer. Thanks to Guyslain Naves for the report.
- Automated migration from camlp4 to ppx. Many thanks to the authors of camlp4-to-ppx.
- Use standard library
result
type. This changes the dubious interface ofVgr_pdf.otf_font
. - Support uutf v1.0.0 and otfm v0.3.0.
- Build depend on topkg.
- Relicense from BSD3 to ISC.
- Add
Vgr_cairo
module. A Cairo backend contributed by Arthur Wendling. -safe-string
support. In the public API this only affects users of storedManual
rendering destination:Vg.Vgr.Manual.dst
now takes abytes
value instead of astring
.
- Use package builder topkg for distribution.
- Fix build and installation glitches. Thanks to Philippe Veber and Grégoire Lionnet for the reports.
- Gg 0.9.0 compatibility.
- Add
Vgr_htmlc.screen_resolution
value. Vgr_htmlc.target
default value forresolution
argument is now the screen resolution rather than 300ppi.Vgr_htmlc.target
add aresize
optional argument. When set tofalse
the canvas size is kept intact and doesn't resize according to renderable sizes.
First release. Sponsored by Citrix Systems R&D and OCaml Labs.