package otfm

  1. Overview
  2. Docs
OpenType font decoder for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

otfm-0.4.0.tbz
sha256=d36536de6613cb464981239b0e8cb280f4c610c0b8fd981ee5bbb1e30b216841
md5=6b3a04945a4c536191c479ea51652152

README.md.html

Otfm — OpenType font decoder for OCaml

v0.4.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 ISC license.

Homepage: http://erratique.ch/software/otfm

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 from the interfaces. It can be consulted online or via odig doc otfm.

Sample programs

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

topkg build --tests true 
  • 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.