diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-05-07 23:36:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 23:36:35 +0200 |
| commit | 6019f0cce07be10ce86156d52dcc94327e9ceea5 (patch) | |
| tree | 4066b2ccc34ea53c8183d78da694567a85c3d682 /lib/lettering | |
| parent | 9bd3f3658ed5038aef79b135890045d0c9d0bf59 (diff) | |
Sample correct font variant (#2883)
Diffstat (limited to 'lib/lettering')
| -rw-r--r-- | lib/lettering/font.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 2aeff3de..fda9141c 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -208,7 +208,7 @@ class Font(object): line = line.strip() letter_group = self._render_line(line, position, glyph_set) - if back_and_forth and self.reversible and i % 2 == 1: + if (back_and_forth and self.reversible and i % 2 == 1) or variant == '←': letter_group[:] = reversed(letter_group) destination_group.append(letter_group) |
