Description
Heya,
I'm working on an app that needs to generate PDFs with occasional arabic text in it, and I'm trying to figure out what the best way to do it is.
By looking at the occasional issues in this repo I've managed to gather together most of what I need, but one thing seems to still be going wrong. I'm aligning to the right, but it seems the text starts at random offsets.
I've made a code sandbox to illustrate the problem.
It is worth noting that doing the same with hebrew text and a hebrew-compatible font seems to work fine, so it's definitely something with arabic that's messing it up. I've tried it with different fonts, but no luck, and the documentation around RTL and options like isInputRtl
and isInputRtl
is non-existent :(
Am I doing something wrong, or have I stumbled upon an issue with the library?