Jump to content

support unicode and RTL language


Recommended Posts

  • 3 years later...

It is possible to use RTL languages with ugfx but it's a little more work for the programmer.

1. Use right justification instead of left justification for all your text boxes.

2. Reverse the characters in any string you want to print so they appear in the correct order when displayed. This can either be done programmatically (something like the gtrans module) or simply writing any fixed string with the characters reversed when programming.

Eg. "abc def" would be written as "fed cba" and then right justified.

Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...