String

Unicode (unencoded) or string. Internally everything is a unicode string.

Integer/Float

Integers and floats are interchangable in FontParts (unless the specification states that only one is allowed).

Coordinate

An immutable iterable contaning two Integer/Float representing:

x y

Angle

define the angle specifications here. Direction, degrees, etc. This will always be a float.

Identifier

A String following the UFO identifier conventions.

Color

An immutable iterable containing four Integer/Float representing:

red green blue alpha

Values are from 0 to 1.0.

Transformation Matrix

An immutable iterable defining a 2x2 transformation plus offset (aka Affine transform). The default is (1, 0, 0, 1, 0, 0).

Immutable List

This must be an immutable, ordered iterable like a tuple.

Last edited on 28/10/2017