From 1344bc9b6208d9f779ac67bd8121c82de0eb085f Mon Sep 17 00:00:00 2001 From: pabs3 Date: Sat, 9 Jan 2010 09:12:11 +0000 Subject: [PATCH] Fix typos: 'neccesary' should be 'necessary'. git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@581 4cde692c-a291-49d1-8350-778aa11640f8 --- Doc/documentation.html | 2 +- Doc/ttx.1 | 2 +- Lib/fontTools/fondLib.py | 2 +- Lib/fontTools/ttLib/__init__.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/documentation.html b/Doc/documentation.html index 3a42184bd..ccb9a7d9f 100644 --- a/Doc/documentation.html +++ b/Doc/documentation.html @@ -24,7 +24,7 @@ The TTX application works can be used in two ways, depending on what platform yo

-TTX detects what kind of files it is fed: it will output a .ttx file when it sees a .ttf or .otf, and it will compile a .ttf or .otf when the input file is a .ttx file. By default, the output file is created in the same folder as the input file, and will have the same name as the input file but with a different extension. TTX will never overwrite existing files, but if neccesary will append a unique number to the output filename (before the extension), eg.: "Arial#1.ttf". +TTX detects what kind of files it is fed: it will output a .ttx file when it sees a .ttf or .otf, and it will compile a .ttf or .otf when the input file is a .ttx file. By default, the output file is created in the same folder as the input file, and will have the same name as the input file but with a different extension. TTX will never overwrite existing files, but if necessary will append a unique number to the output filename (before the extension), eg.: "Arial#1.ttf".

When using TTX from the command line there are a bunch of extra options, these are explained in the help text, as displayed when typing "ttx -h" at the command prompt. These additional options include: diff --git a/Doc/ttx.1 b/Doc/ttx.1 index 2b64c47d0..db463a22a 100644 --- a/Doc/ttx.1 +++ b/Doc/ttx.1 @@ -55,7 +55,7 @@ By default, every output file is created in the same directory as the corresponding input file and with the same name except for the extension, which is substituted appropriately. .Nm -never overwrites existing files; if neccesary, it appends a suffix to +never overwrites existing files; if necessary, it appends a suffix to the output file name before the extension, as in .Pa Arial#1.ttf . .Ss "General options" diff --git a/Lib/fontTools/fondLib.py b/Lib/fontTools/fondLib.py index 017f9d41d..a9d03e143 100644 --- a/Lib/fontTools/fondLib.py +++ b/Lib/fontTools/fondLib.py @@ -396,7 +396,7 @@ class FontFamily: def _updatestylemappingtable(self): # Update the glyphTableOffset field. - # This is neccesary since we have to build this table to + # This is necessary since we have to build this table to # know what the glyphTableOffset will be. # And we don't want to build it twice, do we? data = self._rawstylemappingtable diff --git a/Lib/fontTools/ttLib/__init__.py b/Lib/fontTools/ttLib/__init__.py index 39c1e5517..69e90a5c7 100644 --- a/Lib/fontTools/ttLib/__init__.py +++ b/Lib/fontTools/ttLib/__init__.py @@ -64,7 +64,7 @@ class TTFont: """The main font object. It manages file input and output, and offers a convenient way of accessing tables. - Tables will be only decompiled when neccesary, ie. when they're actually + Tables will be only decompiled when necessary, ie. when they're actually accessed. This means that simple operations can be extremely fast. """