Problem in Bidirectional Rendering of Hebrew and Arabic

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Problem in Bidirectional Rendering of Hebrew and Arabic

    Hi

    I am green here and this is my first time to post a thread to ask a question here. I am encountering a text rendering problem in the Middle East language.
    I have used emWin graphics library for a few years for my product development. But now my UI development requires to render the Hebrew and Arabic. So I have to use the function "GUI_UC_EnableBIDI()" to let me render the Arabic text. I have downloaded the sample code about the bidirectional rendering in the emWin web and try to play with it in my platform. I found that the Arabic can't be rendered except the English characters and the numbers. But when I disable the bidirectional function by calling "GUI_UC_EnableBIDI(1)", the Arabic text can be rendered on my TFT. It seems that the function "GUI_UC_EnableBIDI(1)" doesn't know how to render the text in this way and just simply skip it ?( . May I ask what's going wrong in my source code and do you have any idea of it? Below is the information about my platform


    Target MCU : STM32F429
    Development Patform : IAR
    emWin Version : STemWin V5.32



  • Hi,

    To be clear, the sample application from our website is working?

    Have you changed the text which should be displayed?
    The problem might be that the characters you want use are not inluded in the sample. The character set is limited to the characters required by the original application.

    The function GUI_UC_EnableBIDI() doesn't 'know' anything about rendering a font. It simply turns bidirectional language support on or off, depending on the parameter passed (1 - on, 0 - off).

    Regards,
    Sven
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.