first line indent does't support RTL text
Fahad-Alsaidi opened this issue · 1 comments
Fahad-Alsaidi commented
Fahad-Alsaidi commented
I've tried to look into this issue recently. The current logic for First Line Indent is by offsetting X position of the first line using style.firstIndent(). See here. It shifts X form 0 to X += style.firstIndent() which is the simple way to do it in LTR mode.
In RTL mode, the current logic starts typesetting from text frams 's end poting. See here Thus, we need to subtract firstIndent from current RTL's X starting point.