Jump to content

support unicode and RTL language


vahid4134

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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...