package otfm

  1. Overview
  2. Docs
OpenType font decoder for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

otfm-0.2.0.tbz
sha256=2c2d6f79b7e3482af80a749d7495de51270474ebf2bbb3463feda1e4e84df1f1
md5=bdb84bb7e37f4ef6d2e74ecb8e0ef533

Description

Otfm is an in-memory decoder for the OpenType font data format. It provides low-level access to font tables and functions to decode some of them.

Otfm is made of a single module and depends on Uutf. It is distributed under the BSD3 license.

README

Otfm — OpenType font decoder for OCaml

Release 0.2.0

Otfm is an in-memory decoder for the OpenType font data format. It provides low-level access to font tables and functions to decode some of them.

Otfm is made of a single module and depends on Uutf. It is distributed under the BSD3 license.

Home page: http://erratique.ch/software/otfm
Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>

Installation

Otfm can be installed with opam:

opam install otfm

If you don't use opam consult the opam file for build instructions and a complete specification of the dependencies.

Documentation

The documentation and API reference is automatically generated by ocamldoc from otfm.mli. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

Sample programs are located in the test directory of the distribution. They can be built with:

ocamlbuild tests.otarget 

The resulting binaries are in _build/test:

  • test.byte tests the library, nothing should fail.

  • otftrip.native, among other things, reads an OpenType file and prints a human readable representation on stdout. Invoke with -help for more information.

Dependencies (4)

  1. ocamlbuild build
  2. uutf <= "0.9.4"
  3. ocamlfind
  4. ocaml >= "4.01.0" & < "5.0"

Dev Dependencies

None

Used by (1)

  1. biotk

Conflicts

None

OCaml

Innovation. Community. Security.