fontTools
Library
afmLib: Read/write Adobe Font Metrics files
agl: Interface to the Adobe Glyph List
cffLib: read/write Adobe CFF fonts
colorLib.builder: Build COLR/CPAL tables from scratch
cu2qu: Cubic to quadratic curve conversion
designspaceLib
encodings: Support for OpenType-specific encodings
feaLib: Read/write OpenType feature files
merge: Merge multiple fonts into one
misc: Miscellaneous libraries helpful for font engineering
arrayTools: Various array and rectangle tools
bezierTools: Routines for working with Bezier curves
classifyTools
cliTools: Utilities for command-line interfaces and console scripts
eexec: PostScript charstring encryption and decryption routines
encodingTools
etree
filenames
fixedTools
intTools
loggingTools
macCreatorType
macRes
psCharStrings
psLib
psOperators
py23
sstruct
symfont
testTools
textTools
timeTools
transform
xmlReader
xmlWriter
mtiLib
otlLib
pens
subset
svgLib
t1Lib
ttLib
ttx
ufoLib
unicode
unicodedata
varLib
voltLib
fontTools
Docs
»
misc: Miscellaneous libraries helpful for font engineering
»
intTools
View page source
intTools
¶
Misc integer tools.
fontTools.misc.intTools.
popCount
(
v
)
[source]
¶
Return number of 1 bits in an integer.