11/20/2015 6:58 PM | |
Joined: 6/3/2014 Last visit: 9/26/2024 Posts: 660 Rating: (194) |
Hello hiaxis, did you already read through this forum post: https://support.industry.siemens.com/tf/ww/en/posts/72878/ ? Maybe it helps. They found some solution for WinCE Panels. |
Last edited by: H.J. at: 11/20/2015 6:59:34 PM~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ★ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
|
7/19/2018 8:20 PM | |
Posts: 8 Rating: (3) |
All, I just wanted to provide you with an update. I was able to find a workaround in order to display Arabic as text instead of hard coding as an image on the TP700 Outdoor panel. Here is an explanation of my solution (which has been provided to Siemens by way of my local rep.):
Here is what I started with: Image1 Obvious problem here. No Arabic characters on screen Here's the fix. Step 1: Load an alternate font in the TP700. To display the Arabic characters, I used "Bahij Bassan", a free true type font. This can be done by USB or by TIA Portal Step 2: As Siemens pointed out earlier in this discussion, the selection of a second language is just a pointer to a second column in the text list so which language you use to display Arabic text doesn't matter. However, as we all know, the Siemens runtime in Windows CE6 does not support right to left languages. This is a BIG problem because Arabic is written in right to left. In addition, the letters in each word must be connected properly from right to left when displayed on screen to form a script similar to our cursive writing. Characters that are not connected correctly have no meaning and are therefore not readable as Arabic script. I used "Afrikaans" as the second project language, a left-to-right language in TIA Portal, but what you actually use doesn't matter. Here is the result when switching to Afrikaans: Image2 New problem. We now have Arabic characters on screen, but they are not connected. This is invalid and not readable as Arabic script Step 3: When you add your Arabic written in right to left format to the text list and attempt to display the font in runtime, the order is reversed on screen, changing the word's meaning. When you write "Arabic Word" in your Project text list in TIA Portal, it displays on screen in runtime as "droW cibarA" which is not valid. This is because the RTL text pasted into the text list has been drawn on screen in LTR. The order is reversed and the connectors are missing. It's gibberish to the people that read Arabic. The workaround for this is to reverse the order of the words and all letters in each word BEFORE runtime. That way, when runtime reorders them, they display in the correct order and connected correctly. You can do this manually character by character, word by word or write a script in Excel to do this for you. For the Arabic word above, rather than starting with the correct format in the text list, I used the word that is backwards. Runtime displays the word "backwards" but because we started with it backwards, it displays in the correct order from right to left and the font takes care of the character connections for you to make it readable as Arabic script. Here is the final result: Image3 The final result. Readable, connected Arabic that actually makes sense. Done with text, not images or graphic lists.
AttachmentImages.zip (547 Downloads) |
Last edited by: Jen_Moderator at: 7/20/2018 10:26:45 AMRemoved links and added files as an attachment. Last edited by: hiaxis at: 7/20/2018 9:48:17 PM |
|
This contribution was helpful to3 thankful Users |
Follow us on