diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-01-08 17:16:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 17:16:02 +0100 |
| commit | cf579e4f3ccbe13152c81957b43d4c34190529c3 (patch) | |
| tree | 2c9059bb2cdf28611e9191fe772363477e220019 /lib/lettering/font.py | |
| parent | e6a30990a17f89764f62f1d041772ad8fa2a9abe (diff) | |
lettering: fix back and forth (#3419)
Diffstat (limited to 'lib/lettering/font.py')
| -rw-r--r-- | lib/lettering/font.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 93e550d8..9f4d335a 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -227,6 +227,8 @@ class Font(object): letter_group = self._render_line(destination_group, line, position, glyph_set) if (back_and_forth and self.reversible and i % 2 == 1) or variant == '←': letter_group[:] = reversed(letter_group) + for group in letter_group: + group[:] = reversed(group) position.x = 0 position.y += self.leading |
