material-foundation/flutter-packages

Google Font Renders differently to font asset file

SamuelMTDavies opened this issue · 0 comments

Package

google_fonts

Existing issue?

What happened?

I am trying to use a custom font in a flutter application. However using the custom font file from google produces a different looking font to the google font package. My design files are the same as the Google Font Package and I have no clue why the font file displays differently.

Expected vs actual result:

This is a screenshot using the PlusJakartaSans font file.

Simulator Screenshot - iPhone SE (3rd generation) - 2023-11-22 at 15 15 26

This is the same font styling but using the GoogleFonts package.

Simulator Screenshot - iPhone SE (3rd generation) - 2023-11-22 at 15 16 24

Steps to reproduce:

  1. git clone https://github.com/SamuelMTDavies/fonts.git
  2. Run project

Relevant log output

No response