Docs: pens; formatting.

This commit is contained in:
Nathan Williis 2024-09-17 17:36:33 +01:00
parent 909da9680b
commit 499101df90

View File

@ -12,14 +12,14 @@ Some pens trace through the outlines and generate graphical output,
such as a new glyph outline or a formatted image, but other such as a new glyph outline or a formatted image, but other
pens analyze the outlines and return information about the glyph. pens analyze the outlines and return information about the glyph.
Pens that alter or produce a pen-compatile ``ttGlyph`` object can Pens that alter or produce a pen-compatible :class:`.ttGlyph` object can
be chained together. be chained together.
New pens can be written by subclassing the ``AbstractPen`` or, New pens can be written by sub-classing the :class:`.AbstractPen` or,
somewhat more practically, ``BasePen`` classes. The Pen Protocol is somewhat more practically, :class:`.BasePen` classes. The Pen Protocol is
documented on the ``BasePen`` page. documented on the :ref:`basePen` page.
.. rubric:: Pens: .. rubric:: Pen modules:
:heading-level: 3 :heading-level: 3
.. toctree:: .. toctree::