-
Committer:
Corentin Noël
-
Author(s):
Daniel Kahn Gillmor
-
Date:
2022-06-22 07:22:17 UTC
-
Revision ID:
git-v1:efd617958e26849ee2c518159f875a7f493f8b24
Invert alignment for RTL symbols to place them correctly
https://docs.gtk.org/Pango/method.Layout.set_auto_dir.html says:
> When the auto-computed direction of a paragraph differs from the
> base direction of the context, the interpretation of
> PANGO_ALIGN_LEFT and PANGO_ALIGN_RIGHT are swapped.
Now that symbols are placed based using alignment, we don't want RTL
symbols placed on the wrong side of the key rendering. To do this, we
invert the alignment for RTL symbols.
Closes: #8