package fontforge-of-ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=af7c59bea65ac5844c04ea7ae5347c4ab2016a217d54a3c1d806020dffad064f
sha512=2e48257b58151c453cb6fb2fd56899ccde52e94fd74ed7b031381a45a8756668096e3d2bf2e716f57067c2c5f8896ae5cecb498d7124d0f83c212b2732c6cd15
doc/fontforge-of-ocaml/FontForge/index.html
Module FontForge
Source
Lookup Tables
module Script : sig ... end
Languages within Script
module Table : sig ... end
Typography Table
module Feature : sig ... end
Feature classification
module TypedFeature : sig ... end
Typed Feature
module PredefinedFeature : sig ... end
Predefined Features
Fontforge
module type Attr = sig ... end
module PsMat : sig ... end
PsMat
which provides quick access to some useful transformations expressed as PostScript matrices. API: complete (compared to the Python API) except that the type PsMat.t
become abstract.
module Point : sig ... end
Point
API: complete (compared to the Python API) except the Pickling Method reduce
.
Layer
module Layer : sig ... end
A Layer
is a collection of Contours. All the contours must be the same order (all quadratic or all cubic). Currently layers do not contain references. Layers may be compared to see if their contours are similar. API: TODO
module GlyphPen : sig ... end
GlyphPen
Protocol to draw into a Glyph
You create a glyphPen with the GlyphPen
function of a glyph. You then draw into it with the functions below. API: complete (compared to the Python API); a finalize
function has been added.
module Contour : sig ... end
A Contour
is a collection of points. A contour may be either based on cubic or quadratic splines.
module Glyph : sig ... end
Glyph
refers to a fontforge Glyph object. It has no independent life of its own, it always lives within a font. It has all the things you expect to be associated with a glyph: a glyph name, a unicode encoding, a drawing layer, GPOS/GSUB features... This type may not be pickled. This type may not be created directly -- all glyphs are bound to a font and must be created through the font. See Font.createChar
function. API: partialy implemented (compared to the Python API) but all members and functions are listed.
module Selection : sig ... end
Selection
of glyphs. API: complete with some specificities about the selection requests and the iterations (compared to the Python API).
module Font : sig ... end
FontForge Font
object. It generally contains a list of glyphs, an encoding to order those glyphs, a fontname, a list of GPOS/GSUB lookups and many other things. API: almost complete (all listed even the unimplemented ones) compared to the Python API.
module FontForge : sig ... end
FontForge module