Skip to main content
MHase
Associate III
November 18, 2020
Solved

Selection best font for arabic texts

  • November 18, 2020
  • 8 replies
  • 3177 views

I have a problem, to present arabic texts on the screen.

At the moment I use the font Janna LT Regular.

Isolated letters seems not to be a problem. But if I want to write longer texts/words, then I see on the screen many "?"

Is there an other font, which supports better arabic texts?

BR

Margret

This topic has been closed for replies.
Best answer by Martin KJELDSEN

Just to let everyone know, the issue was handled offline and was due to a font that did not cover all the right glyphs in the unicode range for arabic.

8 replies

Martin KJELDSEN
Principal III
November 18, 2020

Try this

MHase
MHaseAuthor
Associate III
November 23, 2020
Hello Martin Kjeldsen,
as I have written in previous mails, I assume, that the solution of my problem could be in the ruby-script unicodes_txt.rb.
Is it possible to have a telco or a skype meeting with you?
Best regards / Mit freundlichen Grüßen
Margret Hasenmaile
MHase
MHaseAuthor
Associate III
November 20, 2020

The font arabtype is a little bit better. I can see now 1 more symbol instead of "?".

Could it be, that touchGFX can not all symbol-variants for arabic ligatur?

Is it limited in the unicodes_txt.rb file?

In this part of code?

 def convert_to_contextual_forms(unicodes)

  unicodes.sort!

  [

   [[0x0621],[0xFE80]], # ARABIC LETTER HAMZA

   [[0x0622],[0xFE81,0xFE82]], # ARABIC LETTER ALEF WITH MADDA ABOVE

   [[0x0622,0x0644],[0xFEF5,0xFEF6]], # ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE

   [[0x0623],[0xFE83,0xFE84]], # ARABIC LETTER ALEF WITH HAMZA ABOVE

   [[0x0623,0x0644],[0xFEF7,0xFEF8]], # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE

   [[0x0624],[0xFE85,0xFE86]], # ARABIC LETTER WAW WITH HAMZA ABOVE

   [[0x0625],[0xFE87,0xFE88]], # ARABIC LETTER ALEF WITH HAMZA BELOW

  .......

MHase
MHaseAuthor
Associate III
November 20, 2020

Hello Martin Kjeldsen,

I want to send you some example-words which didn't work on my Application.

عناية سهلة

البرامج

The one word, which was better with font arabtype was.

عربى

Could you please make your own simple Application with 3 TextAreas. Write the 3 Words in it. And let it run. Then regard the outcoming Window with the designer and answer me, what you see.

This would really help me. Because our customer waits impatiently.

Best regards

Margret

MHase
MHaseAuthor
Associate III
November 23, 2020

Hello Martin Kjeldsen,

this topic is very urgent for me, therefore I want to send you more hints from my problem.

This picture is, what I see in the designer:

and this is the picture, what's the outcoming from the simulator:

Have you any idee?

best regards

Margret

MHase
MHaseAuthor
Associate III
November 23, 2020

0693W000005CGglQAG.png

MHase
MHaseAuthor
Associate III
November 23, 2020

0693W000005CGheQAG.png

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
November 25, 2020

Just to let everyone know, the issue was handled offline and was due to a font that did not cover all the right glyphs in the unicode range for arabic.