Repository: flutter
Issue: Custom font special characters not rendered correctly on Web with CanvasKit
Labels: engine,platform-web,e: web_canvaskit,has reproducible steps,P2,team-web,triaged-web,found in release: 3.24,found in release: 3.25

### Steps to reproduce

1. Clone the shadcn_ui repo https://github.com/nank1ro/flutter-shadcn-ui
2. Switch to the branch `feat/context-menu`
3. `cd example`
4. `flutter run -d chrome --web-renderer=canvaskit`
5. After the app launched, click on the "ContextMenu" list tile.
6. See error

If you relaunch the app with the html renderer, everything works as expected, like the other platforms.
The font family used is Geist. The error happens only with canvaskit, in other platforms and with the html renderer everything works as expected 

See screenshots below.

Maybe it's related to https://github.com/flutter/flutter/issues/96222, https://github.com/flutter/flutter/issues/90452 and https://github.com/flutter/flutter/issues/56319

### Expected results

The font should work even when using the canvaskit renderer.

### Actual results

The font doesn't show special characters, or they load very slowly. Even when loaded, the characters are not aligned with the others. Like the `⌘`

### Code sample

<details open><summary>Code sample</summary>


</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

With HTML renderer it works correctly
<img width="430" alt="Screenshot 2024-08-31 at 12 45 50" src="https://github.com/user-attachments/assets/18317319-f8f4-4f4f-aaf0-d094e2d50817">

With CanvasKit the error happens
<img width="414" alt="Screenshot 2024-08-31 at 12 45 08" src="https://github.com/user-attachments/assets/71c92a99-0a09-458d-98c8-bc50f3f69cad">

</details>


### Logs

<details open><summary>Logs</summary>

https://pastebin.com/5hhVPPqA

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.5 23F79 darwin-arm64, locale en-IT)
    • Flutter version 3.24.1 on channel stable at /Users/ale/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (11 days ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/ale/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.92.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.94.0

[✓] Connected device (4 available)
    • iPhone di Ale (mobile)          • 00008030-000E39E01EEB802E • ios            • iOS 17.6.1 21G93
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 128.0.6613.113

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>