> Message: 1 > Date: Wed, 13 Nov 2013 16:33:04 +0200 > From: "Tzippy Yarom" <zpyarom at gmail.com> > To: <scribus at lists.scribus.net> > Subject: [scribus] Scribus and Hebrew > Message-ID: <9C76E355537047CBA2C4188BEC2C192D at tPC> > Content-Type: text/plain; charset="utf-8" > > While looking to solve my problems with Hebrew and Scribus, I found the > issue enclosed. > > http://lists.scribus.net/pipermail/scribus/2012-December/048116.html > > 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". > > 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. > > 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. > > Here is the script: > > from scribus import * > if haveDoc(): > nbrSelected = selectionCount() > objList = [] > for i in range(nbrSelected): > objList.append(getSelectedObject(i)) > for i in range(nbrSelected): > try: > obj = objList[i] > setProperty(obj, "m_ImageIsFlippedH", True) > setProperty(obj, "reversed", True) > moveObject(1, 0, obj) > moveObject(-1, 0, obj) > docChanged(1) > setRedraw(True) > except: > nothing = "nothing" > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.scribus.net/pipermail/scribus/attachments/20131113/b1a3edd8/attachment.html > > > > Hi Tzippy, Cool script! Synchronistically enough, I just commented on an open issue related to hebrew fonts with in the Scribus Bugtracker. http://bugs.scribus.net/view.php?id=1726 I'm not sure what the status is (hence my comment). Would you be interested in digging deeper in to this?
Kunda -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.scribus.net/pipermail/scribus/attachments/20131122/e9762a0e/attachment.html>
