Skip to content

Commit

Permalink
fix typo in FontList doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
typemytype committed Jul 23, 2024
1 parent 243e53f commit 5976e28
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions Lib/fontParts/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,23 +343,23 @@ def sortBy(self, sortOptions, reverse=False):
The sort description strings, and how they modify the sort, are:
+--------------------+--------------------------------------+
| ``"familyName"`` | Family names by alphabetical order. |
+--------------------+--------------------------------------+
| ``"styleName"`` | Style names by alphabetical order. |
+--------------------+--------------------------------------+
| ``"isItalic"`` | Italics before romans. |
+--------------------+--------------------------------------+
| ``"isRoman"`` | Romans before italics. |
+--------------------+--------------------------------------+
| ``"widthValue"`` | Width values by numerical order. |
+--------------------+--------------------------------------+
| ``"weightValue"`` | Weight values by numerical order. |
+--------------------+--------------------------------------+
| ``"monospace"`` | Monospaced before proportional. |
+--------------------+--------------------------------------+
| ``"proportional"`` | Proportional before monospaced. |
+--------------------+--------------------------------------+
+----------------------+--------------------------------------+
| ``"familyName"`` | Family names by alphabetical order. |
+----------------------+--------------------------------------+
| ``"styleName"`` | Style names by alphabetical order. |
+----------------------+--------------------------------------+
| ``"isItalic"`` | Italics before romans. |
+----------------------+--------------------------------------+
| ``"isRoman"`` | Romans before italics. |
+----------------------+--------------------------------------+
| ``"widthValue"`` | Width values by numerical order. |
+----------------------+--------------------------------------+
| ``"weightValue"`` | Weight values by numerical order. |
+----------------------+--------------------------------------+
| ``"monospace"`` | Monospaced before proportional. |
+----------------------+--------------------------------------+
| ``"isProportional"`` | Proportional before monospaced. |
+----------------------+--------------------------------------+
::
Expand Down Expand Up @@ -387,9 +387,9 @@ def sortBy(self, sortOptions, reverse=False):
::
def glyphCountSortValue(font):
return len(font)
>>> def glyphCountSortValue(font):
>>> return len(font)
>>>
>>> fonts.sortBy(glyphCountSortValue)
A list of sort description strings and/or sort functions
Expand Down

0 comments on commit 5976e28

Please sign in to comment.