https://github.com/dbuenzli/otfm
OpenType font decoder for OCaml
https://github.com/dbuenzli/otfm
Last synced: 10 months ago
JSON representation
OpenType font decoder for OCaml
- Host: GitHub
- URL: https://github.com/dbuenzli/otfm
- Owner: dbuenzli
- License: isc
- Created: 2013-06-22T02:47:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-05-20T21:11:11.000Z (over 1 year ago)
- Last Synced: 2024-08-04T01:28:37.942Z (over 1 year ago)
- Language: OCaml
- Homepage: http://erratique.ch/software/otfm
- Size: 130 KB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-list - otfm
README
Otfm — OpenType font decoder for OCaml
-------------------------------------------------------------------------------
%%VERSION%%
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][uutf]. It is distributed
under the ISC license.
[uutf]: https://erratique.ch/software/uutf
Homepage:
## Installation
Otfm can be installed with `opam`:
opam install otfm
If you don't use `opam` consult the [`opam`](opam) file for build
instructions.
## Documentation
The documentation can be consulted [online][doc] or via `odig doc otfm`.
Questions are welcome but better asked on the [OCaml forum][ocaml-forum]
than on the issue tracker.
[doc]: https://erratique.ch/software/otfm/doc/
[ocaml-forum]: https://discuss.ocaml.org/
## Sample programs
Sample programs are located in the `test` directory of the
distribution. They can be built with:
topkg build --tests true
- `otftrip.native`, among other things, reads an OpenType file and
prints a human readable representation on `stdout`. Invoke with
`--help` for more information.