From 83ed0b4feb3211f529d8aaa3d5c757f8f5de2153 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Mon, 5 Jul 2021 16:08:04 +0200 Subject: [PATCH] [Doc] Add tfmLib --- Doc/source/index.rst | 2 ++ Doc/source/tfmLib.rst | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 Doc/source/tfmLib.rst diff --git a/Doc/source/index.rst b/Doc/source/index.rst index 2162cc130..83bb8504f 100644 --- a/Doc/source/index.rst +++ b/Doc/source/index.rst @@ -79,6 +79,7 @@ libraries in the fontTools suite: - :py:mod:`fontTools.subset`: OpenType font subsetting and optimization - :py:mod:`fontTools.svgLib.path`: Library for drawing SVG paths onto glyphs - :py:mod:`fontTools.t1Lib`: Tools for PostScript Type 1 fonts (Python2 only) +- :py:mod:`fontTools.tfmLib`: Module for reading TFM files - :py:mod:`fontTools.ttx`: Module for converting between OTF and XML representation - :py:mod:`fontTools.ufoLib`: Module for reading and writing UFO files - :py:mod:`fontTools.unicodedata`: Convert between Unicode and OpenType script information @@ -130,6 +131,7 @@ Table of Contents subset/index svgLib/index t1Lib + tfmLib ttLib/index ttx ufoLib/index diff --git a/Doc/source/tfmLib.rst b/Doc/source/tfmLib.rst new file mode 100644 index 000000000..daa4125c2 --- /dev/null +++ b/Doc/source/tfmLib.rst @@ -0,0 +1,8 @@ +########################################### +tfmLib: Read TeX Font Metrics files +########################################### + +.. automodule:: fontTools.tfmLib + +.. autoclass:: fontTools.tfmLib.TFM + :members: