Set the filename of the fontfile to use. In this case, all other properties will be ignored.
(self, file)
| 1051 | self._size = size |
| 1052 | |
| 1053 | def set_file(self, file): |
| 1054 | """ |
| 1055 | Set the filename of the fontfile to use. In this case, all |
| 1056 | other properties will be ignored. |
| 1057 | """ |
| 1058 | self._file = os.fspath(file) if file is not None else None |
| 1059 | |
| 1060 | def set_fontconfig_pattern(self, pattern): |
| 1061 | """ |