Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Farsi Display

edited July 2014 in OpenSesame

Hi there
I have downloaded the newest version of OpenSesame (2.8.2) and I found the Bidirectional Text Support in the general Tab. I have tried the Farsi fonts and they shown well in the presentation in "Legacy" mode. The only problem is that unlike the English letters, the Farsi letters are connected in each other and I cannot see this in the presentation.

For example:س ل ا م should be presented as سلام.
Could you please help me with this issue.

Thanks in advance,
Masoud

Please follow the link for further information:
http://img.cogsci.nl/?q=53badf1df0582

Comments

  • edited 12:06PM

    Hi Masoud,

    I think the fastest way of achieving the behaviour that you wish to see, is by using images of the words rather than actual text. To my knowledge, there is no way of connecting the individual characters. That being said, @sebastiaan is our font guru, so he might know more.

    The logic with the images would be relatively simple: create an image of the word you want to display, put the image in the file pool of your experiment, and show the image using a sketchpad.

    Good luck!

  • edited 12:06PM

    Hi Edwin
    Thanks for the comment. Indeed this is what I have done so far. I hope the valued creators of Opensesame can sort this issue out in the new coming versions.

    Peace,
    Masoud

  • edited July 2014

    Hi Masoud,

    Unfortunately, this is not a trivial problem to solve. Text is handled by a font-rendering engine, and if this is a limitation of the font engine (as I suspect it is), then there's little that can be done about it. Except switching to a different font engine, of course, but that would be a major undertaking.

    So for now, like Edwin, I suggest to use images.

    Update: I opened an issue for this. #268.

    Cheers,
    Sebastiaan

    PS. if you happen to have a Python snippet (not necessarily from within OpenSesame) that does render Farsi correctly, please post it here!

Sign In or Register to comment.