Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let HarfBuzz decide which script, direction and language to use in ca…
…se not set Text has rules and settings needed for its rendering depending on its characters. Scripts, text direction and language are settings that should be changed depending on the characters and their context. These change the visual effect on the rendered text. At the moment SDL_TTF provides us the possibility to set any of these three settings but always defaults to an invalid setting on each. With hb_buffer_guess_segment_properties() these could be deducted if not set and it should be the default for rendering text correctly. (cherry picked from commit 7b3d839)
- Loading branch information