Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font Source_Sans_Pro not supported on version 13.4.12, but supported on 13.4.2 #53224

Open
1 task done
mateopineiroa opened this issue Jul 26, 2023 · 2 comments
Open
1 task done
Labels
bug Issue was opened via the bug report template. Font (next/font) Related to Next.js Font Optimization. linear: next Confirmed issue that is tracked by the Next.js team.

Comments

@mateopineiroa
Copy link

mateopineiroa commented Jul 26, 2023

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Next versions 13.4.2 and 13.4.12

Which area(s) of Next.js are affected? (leave empty if unsure)

Font optimization (next/font)

Link to the code that reproduces this issue or a replay of the bug

doesn't apply

To Reproduce

This is the path of the file that contains the font export/node_modules/next/dist/compiled/@next/font/dist/google/index

Describe the Bug

The named export Source_Sans_Pro doesn't exist anymore on version 13.4.12

I use next@13.4.2. Since I use the font Source_Sans_Pro, the update to 13.4.12 implies a breaking change for me. Shouldn't the last digit of the versioning mean non-breaking changes?

Expected Behavior

/node_modules/next/dist/compiled/@next/font/dist/google/index Shouldn't stop having the font on a non-breaking version change

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

NEXT-1480

@mateopineiroa mateopineiroa added the bug Issue was opened via the bug report template. label Jul 26, 2023
@github-actions github-actions bot added the Font (next/font) Related to Next.js Font Optimization. label Jul 26, 2023
@smcg468
Copy link

smcg468 commented Jul 27, 2023

I believe Source Sans Pro font was renamed to Source Sans 3 - #53270

@balazsorban44
Copy link
Member

balazsorban44 commented Jul 28, 2023

Thanks for reporting! Adding some context here, while we are investigating the solution. The font was removed from Google Fonts, and our last sync removed it here: https://github.com/vercel/next.js/pull/49969/files#diff-a7776442eb01a5e6da68a5401b18a114f2318662223daad38a369f8a4e8d9a7cL11709-L11721

The font file can still be reached at https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200&display=swap

but the search page does not yield a result https://fonts.google.com/?query=Source+Sans+Pro

@balazsorban44 balazsorban44 added type: needs investigation linear: next Confirmed issue that is tracked by the Next.js team. labels Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Font (next/font) Related to Next.js Font Optimization. linear: next Confirmed issue that is tracked by the Next.js team.
Projects
None yet
Development

No branches or pull requests

3 participants