Repository: flutter
Issue: Some Custom fonts are not properly displayed
Labels: engine,a: typography,has reproducible steps,P2,team-engine,triaged-engine,found in release: 3.19,found in release: 3.22

### Steps to reproduce

An example from [signwriting_flutter](https://pub.dev/packages/signwriting_flutter) which uses custom [signwriting](https://signwriting.org/) TTF fonts from https://github.com/sutton-signwriting/font-ttf

### Expected results

In Windows it's alright, rendering actual visualization of FSW string

### Actual results

But in Android and Web it is just throwing emojis or nothing, maybe because of `noto-font` ?


### Code sample

<details open><summary>Code sample</summary>

```dart
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:signwriting_flutter/signwriting_flutter.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SignWriting Image Test',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('SignWriting Image Test'),
        ),
        backgroundColor: Colors.black,
        body: Center(
          child: FutureBuilder<Uint8List>(
            future: signwritingToImage(
              'AS10011S10019S2e704S2e748M525x535S2e748483x510S10011501x466S20544510x500S10019476x475',
              trustBox: false,
              lineColor: Colors.deepOrange,
              fillColor: Colors.white,
            ),
            builder: (BuildContext context, AsyncSnapshot<Uint8List> snapshot) {
              if (snapshot.connectionState == ConnectionState.done) {
                if (snapshot.hasData) {
                  return Image.memory(snapshot.data!);
                } else {
                  return const Text('Failed to render SignWriting image');
                }
              } else {
                return const CircularProgressIndicator();
              }
            },
          ),
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

<div style="display: flex;">
    <div style="flex: 1;">
        <h2>Windows:</h2>
        <img src="https://github.com/flutter/flutter/assets/87369440/1e40658a-ecec-4a1f-8208-185598dab930" alt="windows" width="200" />
    </div>
    <div style="flex: 1;">
        <h2>Android:</h2>
        <img src="https://github.com/flutter/flutter/assets/87369440/d97e3364-e75c-48cf-91e5-6311429a9bad" alt="android" width="200" />
    </div>
    <div style="flex: 1;">
        <h2>Web:</h2>
        <img src="https://github.com/flutter/flutter/assets/87369440/5d192390-b909-48b4-b742-6cb756622edc" alt="web" width="200" />
    </div>
</div>

</details>


### Logs

<details open><summary>Logs</summary>

```console
Launching lib\main.dart on Chrome in debug mode...
This app is linked to the debug service: ws://127.0.0.1:57165/er9FDGf5wwQ=/ws
Debug service listening on ws://127.0.0.1:57165/er9FDGf5wwQ=/ws
Connecting to VM Service at ws://127.0.0.1:57165/er9FDGf5wwQ=/ws
Could not find a set of Noto fonts to display all missing characters. Please add a font asset for the missing characters. See: https://flutter.dev/docs/cookbook/design/fonts
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.19045.2311], locale en-US)
    • Flutter version 3.19.5 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (2 weeks ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Bipin\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = C:\Users\Bipin\AppData\Local\Android\Sdk
    • Java binary at: D:\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34018.315
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2022.3)
    • Android Studio at D:\Android Studio
    • 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.6+0-b2043.56-10027231)

[√] VS Code (version 1.88.1)
    • VS Code at C:\Users\Bipin\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.86.0

[√] Connected device (4 available)
    • RMX3395 (mobile)  • 192.168.1.3:43355 • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows           • windows-x64    • Microsoft Windows [Version 10.0.19045.2311]
    • Chrome (web)      • chrome            • web-javascript • Google Chrome 123.0.6312.122
    • Edge (web)        • edge              • web-javascript • Microsoft Edge 122.0.2365.52

[√] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>