package otfm

  1. Overview
  2. Docs
OpenType font decoder for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

otfm-0.1.0.tbz
sha256=6be48af25d7de7885fb6ad6055bb0fc8f3c1f04f3a89c69e55c036c6f6773685
md5=36b5a4b30b2e7be1f0a665824d35a20c

README.md.html

Otfm — OpenType font decoder for OCaml

Release 0.1.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.

OCaml

Innovation. Community. Security.