# Implementing FontParts

The whole point of FontParts is to present a common API to scripters. So, obviously, the way to implement it is to develop an API that is compliant with the object documentation. That’s going to be a non-trivial amount of work, so we offer a less laborious alternative: we provide a set of base objects that can be subclassed and privately mapped to an environment’s native API. If you don’t want to use these base objects, you can implement the API all on your own. You just have to make sure that your implementation is compatible.

- Testing
  - Testing an environment
- Subclassing fontObjects.base
  - Font
  - Info
  - Groups
  - Kerning
  - Features
  - Lib
  - Layer
  - Glyph
  - Contour
  - Segment
  - BPoint
  - Point
  - Component
  - Anchor
  - Guideline
  - Image
  - Data Normalization
  - Environment Specific Methods, Attributes and Arguments
- Layers
  - Simulating glyph-level layers.
  - Simulating font-level layers.

Previous

fontParts.world

Next

Testing