Could any one provide any additional references or solutions for adjusting word-spacing in RTL layout?
As it's mention it works on LTR layout only.
/** * Space between words. * * Only effective when: * - the publication is reflowable * - the layout is LTR */ val wordSpacing: RangePreference = RangePreferenceDelegate( getValue = { preferences.wordSpacing }, getEffectiveValue = { state.settings.wordSpacing ?: 0.0 }, getIsEffective = ::isWordSpacingEffective, updateValue = { value -> updateValues { it.copy(wordSpacing = value) } }, supportedRange = 0.0..1.0, progressionStrategy = DoubleIncrement(0.1), valueFormatter = percentFormatter(), )
Could any one provide any additional references or solutions for adjusting word-spacing in RTL layout?
As it's mention it works on LTR layout only.
/** * Space between words. * * Only effective when: * - the publication is reflowable * - the layout is LTR */ val wordSpacing: RangePreference = RangePreferenceDelegate( getValue = { preferences.wordSpacing }, getEffectiveValue = { state.settings.wordSpacing ?: 0.0 }, getIsEffective = ::isWordSpacingEffective, updateValue = { value -> updateValues { it.copy(wordSpacing = value) } }, supportedRange = 0.0..1.0, progressionStrategy = DoubleIncrement(0.1), valueFormatter = percentFormatter(), )