Closed ghost closed 6 years ago
It is quite a big addtion. The publisher handles the font substystem on its own and shares no code with LaTeX or other systems. The Arabic and Persian script (I don't know about hebrew) need special treatment of font-shaping (IIRC each glyph in Arabic script can have four different shape, depending on the position of each glyph in a word). This is a non-trivial task, but luckily there are libraries out there that handle font shaping. So there are a few steps to be done:
There is harfbuzz that handles these shapings, so in theory it is possible to typeset Arabic text. But some obstacles remain:
I am grateful for whatever you can do and certainly seems like you have a handle on what is needed.
Addition of these features would certainly make your software on par with SILE and even better for me because your distribution of compiled executables is very handy for people like myself who are not experts in that.
Will the addition of harfbuzz be possible in the compiled executable distribution of Speedata? Harfbuzz was one of the reasons I could not get SILE to compile in my system and so turned to Speedata. Hopefully if you can figure out the compile and dependency issues you will be able to deliver a simple compiled exe that has all that already figured out.
Re: harfbuzz - The ready to run packages will include harfbuzz. If it is not possible to include such a library in the ready-to-run packages, I will not add that dependency. However I doubt that this will be showstopper. In other words: speedata will always be a simple to install package.
I will close this issue. I have this on my radar and I will implement this.
There are a number of existing LaTeX modules and implementations that support RTL languages. My languages of concern are Arabic, Hebrew, and Persian. I know we've discussed that this is a big addition. Just creating a ticket so that we can discuss the progress here at github.