An OCaml library for manipulation of font glyph outlines. It provides a suite of tools for analyzing, transforming, composing, and converting glyph paths between different formats.
This library supports two primary path description standards:
- SVG Path: Supports
<path>element (including itsdattribute) and optional<g>element as containers. - Glif Format: Supports the data used to describe glyph outlines in the Unified Font Object (UFO) format.
It has been published on opam, so it can be installed easily by opam install smaji_glyph_path
And here are two usage examples