(path: str, size: int)
| 61 | |
| 62 | |
| 63 | def font(path: str, size: int) -> ImageFont.FreeTypeFont: |
| 64 | try: |
| 65 | return ImageFont.truetype(path, size) |
| 66 | except OSError: |
| 67 | return ImageFont.load_default() |
| 68 | |
| 69 | |
| 70 | F_TITLE = font(BOLD, 44) |
no outgoing calls
no test coverage detected