summaryrefslogtreecommitdiff
path: root/lib/lettering
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-05-07 23:36:35 +0200
committerGitHub <noreply@github.com>2024-05-07 23:36:35 +0200
commit6019f0cce07be10ce86156d52dcc94327e9ceea5 (patch)
tree4066b2ccc34ea53c8183d78da694567a85c3d682 /lib/lettering
parent9bd3f3658ed5038aef79b135890045d0c9d0bf59 (diff)
Sample correct font variant (#2883)
Diffstat (limited to 'lib/lettering')
-rw-r--r--lib/lettering/font.py2
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)