We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Some files are missing, or referenced wrongly.
To Reproduce Steps to reproduce the behavior:
Install fontsource-public-sans
fontsource-public-sans
Import fontsource-public-sans/variable-full.css
fontsource-public-sans/variable-full.css
Build project
See error
./node_modules/fontsource-public-sans/variable-full.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-5-1!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ref--5-oneOf-5-2!./node_modules/fontsource-public-sans/variable-full.css) Error: Can't resolve './files/public-sans-latin-variable-full-italic.woff2' in '<...>/node_modules/fontsource-public-sans'
Expected behavior File is found, font loads.
Additional context The published package has these files containing variable in their name in its files directory:
variable
Yet the variable-full.css file is referencing
This problem appears to exist in other variable fonts too, such as fontsource-work-sans.
fontsource-work-sans
The text was updated successfully, but these errors were encountered:
One additional artifact I've found is that obviously invalid filename references are being generated in some cases by some variable font families e.g.
src: url('./files/inter-cyrillic-variable-full-oblique 0deg 10deg.woff2') format('woff2'); https://github.com/fontsource/fontsource/blob/master/packages/inter/variable-full-normal.css#L7
src: url('./files/inter-cyrillic-variable-full-oblique 0deg 10deg.woff2') format('woff2');
Seems most related to oblique variants.
Sorry, something went wrong.
Resolved in #110. There no longer is any 'full' variant generated for fonts that do not need it since they only have a wght and ital axis.
No branches or pull requests
Describe the bug
Some files are missing, or referenced wrongly.
To Reproduce
Steps to reproduce the behavior:
Install
fontsource-public-sans
Import
fontsource-public-sans/variable-full.css
Build project
See error
Expected behavior
File is found, font loads.
Additional context
The published package has these files containing
variable
in their name in its files directory:Yet the variable-full.css file is referencing
This problem appears to exist in other variable fonts too, such as
fontsource-work-sans
.The text was updated successfully, but these errors were encountered: