errors

exception fontTools.varLib.errors.VarLibCFFDictMergeError(key, value, values)[source]

Raised when a CFF PrivateDict cannot be merged.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception fontTools.varLib.errors.VarLibCFFPointTypeMergeError(point_type, pt_index, m_index, default_type, glyph_name)[source]

Raised when a CFF glyph cannot be merged.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception fontTools.varLib.errors.VarLibError[source]

Base exception for the varLib module.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception fontTools.varLib.errors.VarLibMergeError[source]

Raised when input data cannot be merged into a variable font.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception fontTools.varLib.errors.VarLibValidationError[source]

Raised when input data is invalid from varLib’s point of view.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception fontTools.varLib.errors.VariationModelError[source]

Raised when a variation model is faulty.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.