Repository: flutter
Issue: [Web][Desktop] Bottom text is cut-off / truncated upon resizing window / viewport.
Labels: engine,a: typography,platform-web,c: rendering,a: desktop,has reproducible steps,P2,customer: going,found in release: 2.8,found in release: 2.9,team-engine,triaged-engine

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->
2. Resize the view port to make the text overflow and as a result clip
3. The bottom of the 'gg''s are cut off 

**Expected results:** <!-- what did you want to see? -->

![image](https://user-images.githubusercontent.com/11312180/148622380-fb4ffaf5-63a4-4a38-ab95-6fa8af69915a.png)

There should be no difference to the bottom of the line of text when truncating due to overflow

**Actual results:** <!-- what did you see? -->

![image](https://user-images.githubusercontent.com/11312180/148622359-2b24b5a1-bde4-4281-b7ca-661bfd4a6aec.png)

https://user-images.githubusercontent.com/11312180/148622428-e8b19bc1-4ceb-4aaf-b4a8-76b3d0fe9594.mov


The bottom of the 'gg''s are cut off 



<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```
class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: Column(
          children: const [
            Text(
              'The egg left home',
              style: TextStyle(
                fontSize: 140,
                height: 0.9, // does the same with 1.0 but easier to see with 0.9
              ),
              maxLines: 1,
              overflow: TextOverflow.ellipsis,
            ),
          ],
        ));
  }
}
```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
[ +147 ms] executing: sysctl hw.optional.arm64
[  +37 ms] Exit code 0 from: sysctl hw.optional.arm64
[   +3 ms] hw.optional.arm64: 1
[  +10 ms] executing: [/Users/hugo.pretorius/fvm/versions/2.8.0-3.3.pre/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +44 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 262b70ece1aebf84f132c51ec4cf90be605ce61b
[        ] executing: [/Users/hugo.pretorius/fvm/versions/2.8.0-3.3.pre/] git
tag --points-at 262b70ece1aebf84f132c51ec4cf90be605ce61b
[  +60 ms] Exit code 0 from: git tag --points-at
262b70ece1aebf84f132c51ec4cf90be605ce61b
[        ] 2.8.0-3.3.pre
[  +12 ms] executing: [/Users/hugo.pretorius/fvm/versions/2.8.0-3.3.pre/] git
rev-parse --abbrev-ref --symbolic @{u}
[  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/hugo.pretorius/fvm/versions/2.8.0-3.3.pre/] git
ls-remote --get-url origin
[  +24 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +150 ms] Unable to locate an Android SDK.
[   +9 ms] executing: [/Users/hugo.pretorius/fvm/versions/2.8.0-3.3.pre/] git
rev-parse --abbrev-ref HEAD
[  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[   +8 ms] executing: sw_vers -productName
[  +30 ms] Exit code 0 from: sw_vers -productName
[   +1 ms] macOS
[        ] executing: sw_vers -productVersion
[  +22 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.6.1
[        ] executing: sw_vers -buildVersion
[  +21 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20G224
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing text_style_bug...
No issues found! (ran in 11.9s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
hugo.pretorius@TC-4000299 text_style_bug % flutter doctor -v
[✓] Flutter (Channel beta, 2.8.0-3.3.pre, on macOS 11.6.1 20G224 darwin-arm, locale en-US)
    • Flutter version 2.8.0-3.3.pre at /Users/hugo.pretorius/fvm/versions/2.8.0-3.3.pre
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 262b70ece1 (5 weeks ago), 2021-12-01 13:00:48 -0800
    • Engine revision 06a7363b0c
    • Dart version 2.15.0 (build 2.15.0-268.18.beta)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 11.6.1 20G224 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.110

! Doctor found issues in 3 categories.
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->