Answers the font ID for the font associated with this path. If the path does not exist, or if the font name is invalid, then answer None.
(path)
| 688 | return path2FormatPath(path, 'autohint.ttf') |
| 689 | |
| 690 | def path2FontId(path): |
| 691 | """Answers the font ID for the font associated with this path. If the path |
| 692 | does not exist, or if the font name is invalid, then answer None.""" |
| 693 | if path is not None: |
| 694 | name = path2Name(path) |
| 695 | return name |
| 696 | return None |
| 697 | |
| 698 | def path2FileName(path): |
| 699 | fileName = path.split('/')[-1] |
nothing calls this directly
no test coverage detected