Repository: flutter
Issue: Linux desktop font rendering is different from Chromium.
Labels: e: device-specific,engine,dependency: skia,c: rendering,P2,team-engine,triaged-engine

### Steps to reproduce

Hi, I'm a developer working on LG TV apps.
Migrating a web app to Flutter, I have notice that Flutter renders one of our font differently from web (Chromium).

[LG_Smart_UI_JP font sample.zip](https://github.com/user-attachments/files/15831504/LG_Smart_UI_JP.font.sample.zip)

Number "6" is rendered bigger than other numbers, (top of 6 is higher than others), particularly with fontSize (20, 21, 22).

### Expected results

"Height of the numbers should be the same."

![image](https://github.com/flutter/flutter/assets/68142773/ecd142c9-95e0-4bcb-9786-eb3861c8abe4)


### Actual results

"The number 6 is taller than the others."

![image](https://github.com/flutter/flutter/assets/68142773/e05d318f-1f9b-4985-bb27-d97bd79aa8a0)

### Code sample

<details open><summary>Code sample</summary>

[Use this font file for sample code_LG_Smart_UI_JP font sample.zip](https://github.com/user-attachments/files/15831358/LG_Smart_UI_JP.font.sample.zip)


```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Container(
        color: Colors.black,
        child: const Center(
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text(
                'Flutter font test',
                style: TextStyle(
                  color: Colors.white,
                  fontSize: 24,
                ),
              ),
              Text(
                'font size 12 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 12,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 14 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 14,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 16 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 16,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 18 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 18,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 20 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 20,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 21 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 21,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 22 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 22,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 23 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 23,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 24 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 24,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 36 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 36,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 48 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 48,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 52 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 52,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
              Text(
                'font size 64 : 0123456789',
                style: TextStyle(
                    color: Colors.white,
                    fontSize: 64,
                    fontFamily: 'LG_Smart_UI_JP'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

### Web app Screenshot
![web_app_font](https://github.com/flutter/flutter/assets/68142773/9f6efdd7-3987-4855-9970-ed0cd0247106)

### Flutter app Screenshot
![image](https://github.com/flutter/flutter/assets/68142773/7c66bf90-96be-4014-bd36-6f697ce37047)

</details>


### Logs

N/A

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
$ flutter doctor
Doctor summary (to see all details, run flutter
doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on Ubuntu
    20.04.6 LTS 5.18.0-051800-generic, locale
    en_US.UTF-8)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!
```

</details>