Here’s a first little script that loads the fontforge Python module from within FontLab, opens an. We intend to publish some little scripts and snippets, and more info here. But many objects and classes will work, though some may work slightly differently.
#FONTLAB STUDIO TUTORIAL FULL#
However, this module will not be fully compatible with the FLS5 API - since FontLab is a complete rewrite with a different internal structure, it’s not possible for us to provide full compatibility. FL »įontLab also has an FL module that aims to be backwards-compatible with the Python API of FontLab Studio 5. The relationship between fontlab and fontgate APIs will be clarified in the future. (In early pre-release versions of the app, this was called pyfontgate.) The fontgate module operates on a slightly lower level, the FontGate library, which is our shared “font engine” that apps like FontLab or TransType use. (In early pre-release versions of the app, this was called fg_world.) fontgate » It has some compatibility with the RoboFab API. The fontlab module allows access to the high-level font objects within FontLab, including access to some user interface elements. The API docs are not complete, but they give you a broad overview of what’s possible. We currently consider the Python scripting functionality within FontLab experimental. The FontLab Python API docs are in “early draft” state, and is available at: /fontlab-python/ Glyph names, OT features, text, layers, color, files, UI, Python, variaĭetecting Element References or Composites Variation, imported artwork, components, auto layers, elements Metrics, kerning, Font window, Font Info, hints, guides, classes General, editing, anchors, actions, FontAudit, copy-paste