errors¶
-
exception
fontTools.varLib.errors.
FoundANone
(merger=None, **kwargs)[source]¶ one of the values in a list was empty when it shouldn’t have been
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
InconsistentExtensions
(merger=None, **kwargs)[source]¶ the masters use extension lookups in inconsistent ways
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
InconsistentGlyphOrder
(merger=None, **kwargs)[source]¶ the glyph order was inconsistent between masters
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
KeysDiffer
(merger=None, **kwargs)[source]¶ a list of objects had different keys
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
LengthsDiffer
(merger=None, **kwargs)[source]¶ a list of objects had inconsistent lengths
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
MismatchedTypes
(merger=None, **kwargs)[source]¶ data had inconsistent types
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
ShouldBeConstant
(merger=None, **kwargs)[source]¶ some values were different, but should have been the same
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
UnsupportedFormat
(merger=None, **kwargs)[source]¶ an OpenType subtable (%s) had inconsistent formats between masters
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
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.
VarLibCFFHintTypeMergeError
(hint_type, cmd_index, m_index, default_type, glyph_name)[source]¶ Raised when a CFF glyph cannot be merged because of hint type differences.
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fontTools.varLib.errors.
VarLibCFFMergeError
[source]¶ -
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 because of point type differences.
-
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
(merger=None, **kwargs)[source]¶ Raised when input data cannot be merged into a variable font.
-
args
¶
-
property
details
¶
-
property
offender
¶
-
property
reason
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-