Skip to content

LayoutProcessor RTL doesn't work when FontSelector is used. #1217

Closed Answered by teoshibin
teoshibin asked this question in Q&A
Discussion options

You must be logged in to vote

What I realized is that the RTL is actually working but FontSelector will attempt to chunk word because the white space can be rendered with a different font prior to the previously selected font to render the word, so in this case white space can be rendered with the first font and if we're using the second font which is a different language it will actually render that space using the first font which is the first language, result in fragmented chunks that render space using the first language font and words with second language font. One solution to my hacky way of doing this, is to properly detect the language of a given string and use specific font or I could just extend and modify F…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by teoshibin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant