Jump to content
vahid4134

support unicode and RTL language

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
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.


×