From 1d366fa345ccbdacac4c00fc9703d3b5b7b752f6 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 3 Sep 2020 14:12:49 +0100 Subject: [PATCH] Address feedback --- Lib/fontTools/mtiLib/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/fontTools/mtiLib/__init__.py b/Lib/fontTools/mtiLib/__init__.py index 83664c5da..8525754f2 100644 --- a/Lib/fontTools/mtiLib/__init__.py +++ b/Lib/fontTools/mtiLib/__init__.py @@ -1146,10 +1146,11 @@ class Tokenizer(object): return line def build(f, font, tableTag=None): - """Parse a Monotype font layout file. + """Convert a Monotype font layout file to an OpenType layout object A font object must be passed, but this may be a "dummy" font; it is only - used for sorting glyph sets when making coverage tables. + used for sorting glyph sets when making coverage tables and to hold the + OpenType layout table while it is being built. Args: f: A file object. @@ -1171,7 +1172,6 @@ def main(args=None, font=None): Args: args: Command line arguments (``--font``, ``--table``, input files). - font (TTFont): If passed, used for sorting glyph sets. """ import sys from fontTools import configLogger