Add .typesettingLanguage
view modifier to post/comment content
#1800
Labels
.typesettingLanguage
view modifier to post/comment content
#1800
We attach
.typesettinglanguage
to theText
view in post/comment content, passing in the language for that post/comment.This makes
Text
render it in the ideal way for that language. If this isn't set, it uses the language of the app UI as the default typesetting language. This might become a problem if we offer the app in languages where line spacing is different (e.g. Urdu, maybe some others), because that taller line spacing will be applied to all text in the app, including post/comment text in English and other languages.The text was updated successfully, but these errors were encountered: