diff --git a/engine/src/flutter/third_party/txt/src/skia/paragraph_builder_skia.cc b/engine/src/flutter/third_party/txt/src/skia/paragraph_builder_skia.cc index 1b3dedb5474..d619697de6e 100644 --- a/engine/src/flutter/third_party/txt/src/skia/paragraph_builder_skia.cc +++ b/engine/src/flutter/third_party/txt/src/skia/paragraph_builder_skia.cc @@ -75,6 +75,8 @@ skt::ParagraphStyle TxtToSkia(const ParagraphStyle& txt) { skia.setTextDirection(static_cast(txt.text_direction)); skia.setMaxLines(txt.max_lines); skia.setEllipsis(txt.ellipsis); + skia.setTextHeightBehavior( + static_cast(txt.text_height_behavior)); skia.turnHintingOff();