material-foundation/flutter-packages

Fontweight issue with Cabin Sketch

Zeroupper opened this issue · 0 comments

Package

google_fonts

Existing issue?

What happened?

Expected vs actual result:

Google Fonts Cabin Sketch bold doesn't look the same as when you get that from font files.

Steps to reproduce:

  1. Import google_fonts and cabin sketch fonts individually
Column(
        mainAxisSize: MainAxisSize.min,
        children: <Widget>[
          Text(
            text,
            style: const TextStyle(
              fontFamily: 'Cabin Sketch',
              fontWeight: FontWeight.bold,
              fontSize: 40,
            ),
          ),
          Text(
            text,
            style: GoogleFonts.cabinSketchTextTheme()
                .bodyLarge
                ?.copyWith(fontSize: 40, fontWeight: FontWeight.bold),
          ),
        ],
      ),

image

Flutter version: 3.13.6
Google_fonts: 6.1.0

Relevant log output

No response