Closed emilyyyylime closed 9 months ago
There is currently no way to query Typst for the text direction, so this can not yet get fixed. The canvas
function could call set text(direction: ltr)
, maybe that is an option for now?
The
canvas
function could callset text(direction: ltr)
That would effect any content elements though. I would suggest using scale((x: -1))
but it seems to not work in this case...
There is currently no way to query Typst for the text direction, so this can not yet get fixed. The
canvas
function could callset text(direction: ltr)
, maybe that is an option for now?
I don't quite know how the library works, perhaps there's an inappropriate use of start
or end
somewhere, or one of plenty of other constructs that could be rewritten in a more 'absolute' sense; but in the case that there truly is no better solution, I would prefer an automatic set text(dir: ltr)
. If CeTZ itself isn't working, I sure won't be putting any content inside of it, so we should at the very least get CeTZ working.
Should be fixed with the linked PR.
You've been hit by- You've been struck by- RTL DOCUMENTS
NOBODY EXPECTS Right-To-Left documents
I can continue all day
But I probably shouldn't
This at first looks intended but indeed it makes no sense, as both should be 180 degrees from the positive X axis. Additionally, in right-to-left documents, 0deg appears the exact same as above, so indeed polar points are very much Broken™