package vg
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Declarative 2D vector graphics for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
vg-0.9.5.tbz
sha512=ccd0d0f61cdbdb3420b5f4d747fe6e6b95e487738f70163a6e26396b1eeb9a42118306bc9c2c9afc9256171d57f81fbdf08ec558625eb5d723230aa0e9564fb6
doc/CHANGES.html
v0.9.5 2024-01-23 La Forclaz (VS)
- 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_htmlcis now implemented viabrrwhich becomes an optional dependency of the package. The package no longer depends onjs_of_ocamlandjs_of_ocaml-ppxat all.Vgr_htmlc.screen_resolutionis now a function taking unit. This allows the safe (but useless) linking ofVgr_htmlcin a web workers.- Fix
Vgr_pdfglyph cut rendering. All glyphs id of the form0xHH0Dwere rendered as id0xHH0A. The text of the 2008 standard of theTjoperator (§9.4.3) misleads, PDF strings do perform newline normalisation (§7.3.4.2) so0Dbytes also need to be escaped. - The
Vgr_svgmodule is now part of thevglibrary. Thevg.svglibrary is deprecated, it warns on usage and simply requiresvg. - Reworked documentation into
.mldpages. - Drop optional dependency on
uutfand require OCaml 4.14.0. - Deprecate
Vg.{Font,I,P}.to_string, they are not thread-safe.
v0.9.4 2020-05-28 La Forclaz (VS)
- jsoo 3.6.0 support.
v0.9.3 2019-06-14 Zagreb
- Fix 4.08
Pervasives' deprecation. - jsoo 3.3.0 support. Thanks to @monstasat for the patch.
v0.9.2 2018-11-02 Zagreb
- Fix bug in
cairo2backend. The initial clip region and clear was not done correctly. - Require
cairo20.6. - Require OCaml 4.03.
- Deprecate
Vg.(>>). Use OCaml's stdlib's|>operator instead.
v0.9.1 2017-12-20 La Forclaz (VS)
- Fix a stackoverlow in the SVG renderer. Thanks to Guyslain Naves for the report.
v0.9.0 2015-11-25 Zagreb
- Automated migration from camlp4 to ppx. Many thanks to the authors of camlp4-to-ppx.
- Use standard library
resulttype. 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.
v0.8.2 2015-08-14 Cambridge (UK)
- Add
Vgr_cairomodule. A Cairo backend contributed by Arthur Wendling. -safe-stringsupport. In the public API this only affects users of storedManualrendering destination:Vg.Vgr.Manual.dstnow takes abytesvalue instead of astring.
v0.8.1 2014-08-23 Cambridge (UK)
- 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_resolutionvalue. Vgr_htmlc.targetdefault value forresolutionargument is now the screen resolution rather than 300ppi.Vgr_htmlc.targetadd aresizeoptional argument. When set tofalsethe canvas size is kept intact and doesn't resize according to renderable sizes.
v0.8.0 2013-09-24 Lausanne
First release. Sponsored by Citrix Systems R&D and OCaml Labs.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page