Skip to content

Commit

Permalink
Clarify user expectations for getStatNames
Browse files Browse the repository at this point in the history
Closes #2890
  • Loading branch information
madig committed Nov 16, 2022
1 parent 8e9bf42 commit 820ba9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/fontTools/designspaceLib/statNames.py
Expand Up @@ -60,6 +60,10 @@ def getStatNames(
localized names will be empty (family and style names), or the name will be
None (PostScript name).
Note: this method does not consider info attached to the instance, like
family name. The user needs to override all names on an instance that STAT
information would compute differently than desired.
.. versionadded:: 5.0
"""
familyNames: Dict[str, str] = {}
Expand Down

0 comments on commit 820ba9d

Please sign in to comment.