Jump to content

Recommended Posts

  • 3 years later...
Posted

@vahid4134  could you implement RTL languages with ugfx? 
I'm trying to show Arabic using Google NotoSans Arabic font. 

Posted

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.

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...