Skip to content

Commit 55babeb

Browse files
committed
Minor documentation updates
1 parent 3fec333 commit 55babeb

4 files changed

Lines changed: 29 additions & 26 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,15 @@ For a given directory, this script goes through every subfolder and runs `makeOT
1919

2020
### `checkAll.py`
2121

22-
Run `checkOutlines -e` to remove overlaps in all source files (`.ufo`, `.pfa`) contained in a given directory tree.
22+
Run `checkoutlinesufo -e` to remove overlaps in all source files (`.ufo`, `.pfa`) contained in a given directory tree.
2323

2424
`-e`: This option results in changes to outlines. For a PFA file means that overlapping glyphs will be replaced by new ones (therefore may be lost). In a UFO file, new glyphs are written to a new `glyphs.com.adobe.type.processedGlyphs` layer, which does not interfere with the foreground, and is used by `makeotf` to generate font binaries.
2525

2626
---
2727

2828
### `hintAll.py`
2929

30-
Run `autohint -q` to add hints to all glyphs in in all source files (`.ufo`, `.pfa`) contained in a given directory tree.
31-
32-
`-q`: quiet operation
30+
Run `psautohint` to add hints to all glyphs in in all source files (`.ufo`, `.pfa`) contained in a given directory tree.
3331

3432
In a UFO file, hinted glyphs are written to a new `glyphs.com.adobe.type.processedGlyphs` layer, which does not interfere with the foreground, and is used by `makeotf` to generate font binaries.
3533

@@ -149,15 +147,16 @@ Here is a list of the locations from which you may need to get the extra tools a
149147

150148
* [Adobe Font Development Kit for OpenType (AFDKO)](https://github.com/adobe-type-tools/afdko)
151149
* makeotf
152-
* autohint
150+
* psautohint
153151
* tx
154152
* ttx
155153
* detype1
156154
* spot
157155

158156
* [FontTools](https://github.com/fonttools/fonttools)
159157

160-
* [RoboFab](https://github.com/robofab-developers/robofab)
158+
* ~[RoboFab](https://github.com/robofab-developers/robofab)~
159+
* ~[FontParts](https://github.com/robofab-developers/robofab)~
161160

162161
* [Type Supply Tools](https://github.com/typesupply)
163162
* defcon

buildAll.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
__doc__ = """
1010
buildAll v1.2 - Dec 01 2019
1111
12-
This script takes a path to a folder as input, finds all the Type 1 fonts
13-
(.pfa files) or UFO fonts inside that folder and its subdirectories, and
14-
builds the OpenType (.otf) fonts using the FDK's makeotf tool. If a path is
15-
not provided, the script will use the current path as the top-most directory.
16-
The script ignores MM PFA fonts, usually named 'mmfont.pfa'.
12+
This script takes a path to a folder as input, finds all UFO files or Type 1
13+
fonts (.pfa files) inside that folder and its subdirectories, and builds
14+
OpenType (.otf) fonts using the FDK's makeotf tool.
15+
If a path is not provided, the script will use the current path as the topmost
16+
directory.
17+
The script ignores Multiple Master PFA fonts, usually named 'mmfont.pfa'.
1718
The Type 1 fonts can also be in plain text format (.txt) where the Private
18-
and CharStrings dictionaries are not encrypted. These files can be obtained
19+
and CharStrings dictionaries are not encrypted. These files can be created
1920
by using the FDK's detype1 tool.
2021
2122
==================================================
@@ -106,12 +107,13 @@ def run():
106107
return
107108

108109
t2 = time.time()
109-
elapsedSeconds = t2-t1
110+
elapsedSeconds = t2 - t1
111+
elapsedMinutes = elapsedSeconds / 60
110112

111-
if (elapsedSeconds/60) < 1:
112-
print('Completed in %.1f seconds.' % elapsedSeconds)
113-
else:
114-
print('Completed in %.1f minutes.' % (elapsedSeconds/60))
113+
if elapsedMinutes < 1:
114+
print('Completed in %.1f seconds.' % elapsedSeconds)
115+
else:
116+
print('Completed in %.1f minutes.' % elapsedMinutes)
115117

116118

117119
if __name__=='__main__':

checkAll.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
__doc__ = """
1010
checkAll v1.2 - Dec 01 2019
1111
12-
This script takes a path to a folder as input, finds all UFO files (or Type 1
13-
fonts - .pfa files) inside that folder and its subdirectories, and removes
12+
This script takes a path to a folder as input, finds all UFO files or Type 1
13+
fonts (.pfa files) inside that folder and its subdirectories, and removes
1414
their overlaps using the FDK's checkoutlinesufo tool.
1515
If a path is not provided, the script will use the current path as the topmost
16-
directory. The script ignores MM PFA fonts, usually named 'mmfont.pfa'.
17-
Type 1 fonts can also be in plain text format (.txt) where the Private
16+
directory.
17+
The script ignores Multiple Master PFA fonts, usually named 'mmfont.pfa'.
18+
The Type 1 fonts can also be in plain text format (.txt) where the Private
1819
and CharStrings dictionaries are not encrypted. These files can be created
1920
by using the FDK's detype1 tool.
2021

hintAll.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
__doc__ = """
1010
hintAll v1.2 - Dec 01 2019
1111
12-
This script takes a path to a folder as input, finds all the Type 1 fonts
13-
(.pfa files) or UFO fonts inside that folder and its subdirectories, and
14-
hints them using the FDK's psautohint tool. If a path is not provided, the
15-
script will use the current path as the top-most directory.
12+
This script takes a path to a folder as input, finds all UFO files or Type 1
13+
fonts (.pfa files) inside that folder and its subdirectories, and hints them
14+
using the FDK's psautohint tool.
15+
If a path is not provided, the script will use the current path as the topmost
16+
directory.
1617
The script ignores Multiple Master PFA fonts, usually named 'mmfont.pfa'.
1718
The Type 1 fonts can also be in plain text format (.txt) where the Private
18-
and CharStrings dictionaries are not encrypted. These files can be obtained
19+
and CharStrings dictionaries are not encrypted. These files can be created
1920
by using the FDK's detype1 tool.
2021
2122
==================================================

0 commit comments

Comments
 (0)