fontTools
afmLib: Read and write Adobe Font Metrics files
agl: Interface to the Adobe Glyph List
cffLib: Read and write Adobe CFF fonts
colorLib.builder: Build COLR/CPAL tables from scratch
config: Configure fontTools
cu2qu: Convert cubic curves to quadratic
designspaceLib: Read, write, and edit designspace files
encodings: Support for OpenType-specific character encodings
feaLib: Read and write OpenType feature files
merge: Merge multiple fonts into one
misc: Miscellaneous libraries helpful for font engineering
mtiLib: Read Monotype FontDame source files
otlLib: Routines for working with OpenType Layout
pens: Inspect and manipulate glyph outlines
areaPen
AreaPen
basePen
boundsPen
cocoaPen
cu2quPen
filterPen
freetypePen
momentsPen
perimeterPen
pointInsidePen
pointPen
qtPen
recordingPen
reportLabPen
reverseContourPen
roundingPen
statisticsPen
svgPathPen
t2CharStringPen
teePen
transformPen
ttGlyphPen
wxPen
qu2cu: Convert quadratic curves to cubic
subset: Generate subsets of fonts or optimize file sizes
svgLib: Read and write SVG-in-OpenType fonts
t1Lib: Read and write PostScript Type 1 fonts
tfmLib: Read TeX Font Metrics files
ttLib: Read and write OpenType and TrueType fonts
ttx: Convert fonts to XML and back
ufoLib: Read and write Unified Font Object files
unicodedata
varLib: Support for OpenType Variations
voltLib: Read and write MS VOLT projects
fontTools
pens: Inspect and manipulate glyph outlines
areaPen
View page source
areaPen
Calculate the area of a glyph.
class
fontTools.pens.areaPen.
AreaPen
(
glyphset
=
None
)
[source]
Bases:
BasePen