Skip to content

fontgate.fgGroup

fgGroup

Kerning/Metrics group

Constructors: fgGroup() - default fgGroup(fgGroup) - copy fgGroup( tuple('name', list(ids), mode, 'mainglyphname') ) - parametric possible values for mode are 'FeaClassGroupMode', 'KernLeftGroupMode', 'KernRightGroupMode', 'KernBothSideGroupMode'

Native bases: object

Captured native MRO: fgGroup, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Supplemental documentation: A kerning or metrics group with an int id, a string name and a mode. The captured mode values are 'FeaClassGroupMode', 'KernLeftGroupMode', 'KernRightGroupMode' and 'KernBothSideGroupMode'. The captured declaration exposes isBoth, isFeaGroup, isLeft and isRight. It is created as fgGroup(), as a copy fgGroup(fgGroup) or as fgGroup(('name', [ids], mode, 'mainglyphname')).

Source: generated/fontgate.py: fgGroup captured declaration

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)
id attribute Any (int) group id
isBoth function (self, *args: Any, **kwargs: Any) -> Any True if group mode is 'KernBothSideGroupMode'
isFeaGroup function (self, *args: Any, **kwargs: Any) -> Any True if group mode is 'FeaClassGroupMode'
isLeft function (self, *args: Any, **kwargs: Any) -> Any True if group mode is 'KernLeftGroupMode' or 'KernBothSideGroupMode'
isRight function (self, *args: Any, **kwargs: Any) -> Any True if group mode is 'KernRightGroupMode' or 'KernBothSideGroupMode'
mode attribute Any ('FeaClassGroupMode'/'KernLeftGroupMode'/'KernRightGroupMode'/'KernBothSideGroupMode') group mode
name attribute Any (string) group name