package nanosvg_text

All checked builds pass
  1. Overview
  2. Docs
Text rendering for NanoSVG text nodes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

nanosvg-0.1.tbz
sha256=65072bf543aec603643a80b62c42ed5b74d4c932ee885df6cca6e725c15038f3
sha512=53ac01f01326a10dca1439adc56bec80e01f7ba2461834f1f799d23af65ec5f26096d6ec9aa8a3d4ec9c9e77083a493914f497c31a5fa9957d131edd162e5507

Description

Basic text rendering for NanoSVG text nodes using stb_truetype

Added to opam-repository:

README

OCaml bindings to Nano SVG

Nano SVG is a simple single-header SVG parser and rasterizer.

This library implements OCaml bindings to NanoSVG while vendoring the C implementation, thus providing a standalone OCaml library.

Example program

See example/example1.ml. Building it additionally requires tsdl to be installed.

opam install tsdl

make example
# or
dune exec -- example/example1.exe example/23.svg

Dependencies (4)

  1. stb_truetype >= "0.7"
  2. nanosvg >= "0.1"
  3. dune >= "2.7"
  4. ocaml >= "4.12.0"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by (1)

  1. memgraph_kitty

Conflicts

None

Build status

Results of building nanosvg_text with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure