<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Message: 1<br>
Date: Wed, 13 Nov 2013 16:33:04 +0200<br>
From: "Tzippy Yarom" <<a href="mailto:zpyarom@gmail.com" target="_blank">zpyarom@gmail.com</a>><br>
To: <<a href="mailto:scribus@lists.scribus.net" target="_blank">scribus@lists.scribus.net</a>><br>
Subject: [scribus] Scribus and Hebrew<br>
Message-ID: <9C76E355537047CBA2C4188BEC2C192D@tPC><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
While looking to solve my problems with Hebrew and Scribus, I found the issue enclosed.<br>
<br>
<a href="http://lists.scribus.net/pipermail/scribus/2012-December/048116.html" target="_blank">http://lists.scribus.net/pipermail/scribus/2012-December/048116.html</a><br>
<br>
The general problem is that when you flip the Hebrew (with the flipped "R" in the options of the text box) it also flips the text itself into a mirror-text. So I used the following script to do both: flip the text and have it straight and not "mirrored".<br>
<br>
Enclosed is the script, for anybody who would like to use it. It still have the problem with paranthesis, brackets and numbers, but this is a start. I hope to have time to do more, when I would - I'll post what I'll do.<br>
<br>
If anybody have any ideas for more issues to solve with Hebrew and Scribus, please let me know and I'll try to put time for it.<br>
<br>
Here is the script:<br>
<br>
from scribus import *<br>
if haveDoc():<br>
nbrSelected = selectionCount()<br>
objList = []<br>
for i in range(nbrSelected):<br>
objList.append(getSelectedObject(i))<br>
for i in range(nbrSelected):<br>
try:<br>
obj = objList[i]<br>
setProperty(obj, "m_ImageIsFlippedH", True)<br>
setProperty(obj, "reversed", True)<br>
moveObject(1, 0, obj)<br>
moveObject(-1, 0, obj)<br>
docChanged(1)<br>
setRedraw(True)<br>
except:<br>
nothing = "nothing"<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.scribus.net/pipermail/scribus/attachments/20131113/b1a3edd8/attachment.html" target="_blank">http://lists.scribus.net/pipermail/scribus/attachments/20131113/b1a3edd8/attachment.html</a>><br>
<br></blockquote><div><br></div><div>Hi Tzippy,</div><div>Cool script! Synchronistically enough, I just commented on an open issue related to hebrew fonts with in the Scribus Bugtracker. <a href="http://bugs.scribus.net/view.php?id=1726" target="_blank">http://bugs.scribus.net/view.php?id=1726</a> </div>
<div>I'm not sure what the status is (hence my comment). Would you be interested in digging deeper in to this?</div><div><br></div><div>Kunda</div></div></div></div>