gaaclarke 31b3a7d8a1
[stable] Fixes rendering text rotated 180 degrees (#165080)
cherry-pick of https://github.com/flutter/flutter/pull/165008

## Impacted Users

Impeller users.

## Impact Description

Text that is rotated 180 degrees exactly will render as if it is scaled by {-1, 1} instead of {-1, -1}.

## Workaround

You can rotate text 180.001 degrees instead but the fidelity will be less.

## Risk

If it's wrong it could break all text rendering.  There are golden tests for it.

## Test Coverage

Golden tests (which are not run on release branches)

## Validation Steps

https://github.com/flutter/flutter/issues/164958 has reproduction code
2025-03-13 02:45:11 +00:00
..

Flutter Engine

gclient bootstrap

Flutter engine uses gclient to manage dependencies.

If you've already cloned the flutter repository:

  1. Copy one of the engine/scripts/*.gclient to the root folder as .gclient:
    1. Googlers: copy rbe.gclient to enable faster builds with RBE
    2. Everyone else: copy standard.gclient
  2. run gclient sync from the root folder