| 1 |
################################################################### |
| 2 |
ttVisitor: Specialization of the visitor module to work with TTFont |
| 3 |
################################################################### |
| 4 |
|
| 5 |
.. rubric:: Overview |
| 6 |
:heading-level: 2 |
| 7 |
|
| 8 |
The :mod:`ttLib.ttVisitor <fontTools.ttLib.ttVisitor>` module is a helper for |
| 9 |
:mod:`ttLib.ttFont <fontTools.ttLib.ttFont>`. |
| 10 |
|
| 11 |
It supports the use of the :mod:`fontTools.misc.visitor` module by extending |
| 12 |
:class:`Visitor <fontTools.misc.visitor.Visitor>` to handle common |
| 13 |
:class:`TTFont <fontTools.ttLib.ttFont.TTFont>` edge-cases. Primarily, the extra |
| 14 |
handling is to avoid traversing cyclical back-references to the root font |
| 15 |
object. |
| 16 |
|
| 17 |
|
| 18 |
Package contents |
| 19 |
---------------- |
| 20 |
|
| 21 |
.. automodule:: fontTools.ttLib.ttVisitor |
| 22 |
:members: |
| 23 |
:undoc-members: |