speedread icon indicating copy to clipboard operation
speedread copied to clipboard

Fix for Arabic alphabets

Open florisre opened this issue 2 years ago • 3 comments

I have a lot of reading in Persian to do. The files are available as txt, but speedread seems to have some hiccups with Arabic alphabets.

Well, actually it's somewhat working out of the box, only that the current reading speed and the word to read change positions for some reason. Can someone point me into the right direction for fixing this?

grafik

florisre avatar Dec 12 '23 17:12 florisre

Well, actually it's somewhat working out of the box, only that the current reading speed and the word to read change positions for some reason. Can someone point me into the right direction for fixing this?

Only if you are comfortable sharing much information beyond that you have already posted.

adlai avatar Jan 28 '25 16:01 adlai

Reproduced this problem using Konsole

adlai avatar Feb 02 '25 14:02 adlai

938f4a7 is a step towards fixing this; Konsole seems to have a better time with lines that begin LTR and end RTL, than ones that begin RTL and end LTR, like the original code produced.

There is still a problem; the pivot does not land below the ORP for some words, and I've not isolated whether this is dependent only on word length, or involves some quirk of the specific characters.

adlai avatar Feb 02 '25 15:02 adlai