-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fontTools.misc.* documentation, part 2 (#1981)
* Document misc.filenames * Document misc.fixedTools * Document misc.intTools * Document misc.loggingTools * Document misc.macCreatorType * Document misc.macRes * Document misc.plistlib
- Loading branch information
1 parent
80dac9c
commit 775dc60
Showing
15 changed files
with
530 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
######### | ||
filenames | ||
######### | ||
########################################################## | ||
filenames: Implements UFO User Name to File Name Algorithm | ||
########################################################## | ||
|
||
.. automodule:: fontTools.misc.filenames | ||
:inherited-members: | ||
:members: | ||
:members: userNameToFileName | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
######## | ||
intTools | ||
######## | ||
############################################### | ||
intTools: Tools for working with integer values | ||
############################################### | ||
|
||
.. automodule:: fontTools.misc.intTools | ||
:inherited-members: | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
############ | ||
loggingTools | ||
############ | ||
################################################################### | ||
loggingTools: tools for interfacing with the Python logging package | ||
################################################################### | ||
|
||
.. automodule:: fontTools.misc.loggingTools | ||
:inherited-members: | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
############## | ||
macCreatorType | ||
############## | ||
############################################################## | ||
macCreatorType: Functions for working with Mac file attributes | ||
############################################################## | ||
|
||
This module requires the `xattr <https://pypi.org/project/xattr/>`_ module | ||
to be installed in order to function correctly. | ||
|
||
.. automodule:: fontTools.misc.macCreatorType | ||
:inherited-members: | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
###### | ||
macRes | ||
###### | ||
############################################ | ||
macRes: Tools for reading Mac resource forks | ||
############################################ | ||
|
||
Classic Mac OS files are made up of two parts - the "data fork" which contains the file contents proper, and the "resource fork" which contains a number of structured data items called "resources". Some fonts, such as Mac "font suitcases" and Type 1 LWFN fonts, still use the resource fork for this kind of structured data, and so to read them, fontTools needs to have access to resource forks. | ||
|
||
The Inside Macintosh volume `More Macintosh Toolbox <https://developer.apple.com/library/archive/documentation/mac/pdf/MoreMacintoshToolbox.pdf#page=34>`_ explains the structure of resource and data forks. | ||
|
||
.. automodule:: fontTools.misc.macRes | ||
:inherited-members: | ||
:members: | ||
:undoc-members: | ||
:members: ResourceReader, Resource | ||
:member-order: bysource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
######################################### | ||
plistlib: Tools for handling .plist files | ||
######################################### | ||
|
||
.. automodule:: fontTools.misc.plistlib | ||
:members: totree, fromtree, load, loads, dump, dumps | ||
|
||
.. autoclass:: fontTools.misc.plistlib.Data | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.