Fix incorrect hyphenation frequency in TextLayoutManagerMapBuffer
Summary: Changelog: [Android][Fixed] Fixed text measurement issue related to hyphenation frequency Reviewed By: makovkastar Differential Revision: D44093758 fbshipit-source-id: 71b7b6cd862586b673a49f5e6efaf9aeeb25c6e1
This commit is contained in:
Родитель
b07cf33279
Коммит
01e7ff5513
|
@ -377,7 +377,7 @@ public class TextLayoutManagerMapBuffer {
|
|||
? paragraphAttributes.getBoolean(PA_KEY_INCLUDE_FONT_PADDING)
|
||||
: DEFAULT_INCLUDE_FONT_PADDING;
|
||||
int hyphenationFrequency =
|
||||
TextAttributeProps.getTextBreakStrategy(
|
||||
TextAttributeProps.getHyphenationFrequency(
|
||||
paragraphAttributes.getString(PA_KEY_HYPHENATION_FREQUENCY));
|
||||
|
||||
if (text == null) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче