Skip to content

fontlab_pens.rounding

rounding

Filter pens that round coordinates and component offsets.

Classes

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
noRound function (value: float) -> float Return value unchanged.
otRound function (value: float) -> int Round half up (towards +infinity), as the OpenType spec requires.