Arabic Keyboard

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

    • Arabic Keyboard

      Dear Sir,
      I am try to create an Arabic keyboard in emWin 6.16.

      When i use :
      KEYBOARD_SetLayout(hItem, &KEYBOARD_ENG);
      it is good,

      but when i change it to
      KEYBOARD_SetLayout(hItem, &KEYBOARD_ARA);
      all keyboard letters are cleared.

      I have attached its photo.

      I would be glad to hear from you.

      Kind regards
      Saeed
      Images
      • Arabic-Key.jpg

        23.38 kB, 601×545, viewed 461 times
    • Hi Saeed,

      the default font does not contain Arabic letters. You have to change the keyboard's fonts to a font, that contains Arabic letters, otherwise they won't be displayed.

      Using the Font Converter, you can create an emWin font from a font that contains Arabic letters (e.g. Arial).

      The keyboard has two fonts, one for the keys and one for the small letters that are longpress keys. Refer to KEYBOARD_SetFont() and the keyboard widget chapter in the manual for more information.

      Best regards,
      Florian
      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.