Scribus > General Discussion

rtl tabs and indentation

(1/2) > >>

Mghaleb:
Hello,
In tabs and indentation the default direction is left and no other option shown, is there any solution to make it right, look at the image in attachment?
thanks.

Mghaleb:
I am still waiting! :)

utnik:
hi mghaleb

just put a tabstop where you need it (by clicking on the ruler). as long as this tabstop is selected (marked in red), you may configure it (set its orientation, its position, andselect a fill character, if needed).

utnik

a.l.e:
while you wait, please have a short read

http://forums.scribus.net/index.php/topic,3681.msg17351.html#msg17351

in short: you need to define the tabs as if your text was LTR and it will behave correctly in RTL (but all rulers are wrong).

the question is: how should it work for RTL languages?
should we invert the content of the "widget"?
what should happen with the existing tabs, when one switches from LTR to RTL (and vice versa)?

if you or somebody you know can help with that maybe scribus can improve...
if you know somebody who could write a patch, that would be wonderful!

p.s.: what you are marking in your screenshot is just the setting if the tab itself will be a left or a right one.

a.l.e:
btw, if somebody wants to help with the code:

here is a good place for starting: https://gitlab.com/scribus/scribus/-/blob/master/scribus/ui/hruler.cpp#L446

the first step would be to draw the ruler inverted when the user is in text edit mode...

Navigation

[0] Message Index

[#] Next page

Go to full version