(self, none_ok=False)
| 445 | other.frozen = False |
| 446 | |
| 447 | def font(self, none_ok=False): |
| 448 | from ST2.importer import ct |
| 449 | |
| 450 | font = None |
| 451 | if self.font_path: |
| 452 | try: |
| 453 | font = ct.Font.Cacheable(self.font_path) |
| 454 | except Exception as e: |
| 455 | print(">>>", e) |
| 456 | |
| 457 | if font: |
| 458 | return font |
| 459 | else: |
| 460 | if none_ok: |
| 461 | return None |
| 462 | else: |
| 463 | return ct.Font.RecursiveMono() |
| 464 | |
| 465 | def visible_variation_axes(self, font): |
| 466 | variations = {} |
no outgoing calls
no test coverage detected