You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a string with "some latin chars ... some arabic chars.. " you probably have to use multiple fonts, but also change left-to-right and right-to-left rendering.
Also, beside LTR/RTL, you may also want to change style (italic bold etc), size, breaking, hyphenation, or justification
I've updated SDL_ttf's right-to-left language support. It doesn't do the full BiDi algorithm, but if you've split your text into multiple single-direction runs it should handle them correctly. You can call TTF_SetTextDirection() to explicitly set the direction if you're using text objects, but if you've split them properly HarfBuzz should be able to detect the correct flow direction.
Originally posted by @1bsyl in #362
The text was updated successfully, but these errors were encountered: