diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2022-04-24 08:27:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-24 08:27:42 +0200 |
| commit | f9d57f6ea51ea8da186c41b70950b7d87fa2c20b (patch) | |
| tree | 7c2664fc201933b64cc224adb28ff717e6f08c61 /lib/lettering | |
| parent | 4058712139b56a2419e01db700581b3c9554a88a (diff) | |
Fix lettering scale, etc. (#1620)
* fix lettering scale
* adapt to updated inkex: transform operator, selections
* fix #1597
* no traceback error message on broken satin columns
* highlight troubleshoot "steps to solve" through additional headline
* set a minimum value for running stitch repeats
* rename "import" thread list to "apply" thread list
Diffstat (limited to 'lib/lettering')
| -rw-r--r-- | lib/lettering/font.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 104e4b29..24ca86bf 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -87,14 +87,14 @@ class Font(object): def _load_metadata(self): try: - with open(os.path.join(self.path, "font.json"), encoding="utf-8") as metadata_file: + with open(os.path.join(self.path, "font.json"), encoding="utf-8-sig") as metadata_file: self.metadata = json.load(metadata_file) except IOError: pass def _load_license(self): try: - with open(os.path.join(self.path, "LICENSE"), encoding="utf-8") as license_file: + with open(os.path.join(self.path, "LICENSE"), encoding="utf-8-sig") as license_file: self.license = license_file.read() except IOError: pass |
