rsnext/test/integration/font-optimization/fixtures
Janicklas Ralph 7fba48ef70
Adding experimentalAdjustFallback feature to font optimization (#40185)
<!--


## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [x] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
- [ ] -->
## Feature

- [x] Implements https://github.com/vercel/next.js/discussions/40112
- [x] Integration tests added

Adds a new option to the current font optimization to enable
experimental font size adjust

The new `optimizeFonts` config will be 
```
optimizeFonts: {
    inlineFonts: true,
    experimentalAdjustFallbacks: false,
  },
```

To enable the feature, set `experimentalAdjustFallbacks: true`

`optimizeFonts: false` will disable the entire feature (including
inlining google font definition)

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-09-16 14:13:21 -07:00
..
font-override Adding experimentalAdjustFallback feature to font optimization (#40185) 2022-09-16 14:13:21 -07:00
make-stylesheet-inert-regression/pages Fixes issue with makeStylesheetInert (#32027) 2022-01-03 20:35:57 +00:00
spread-operator-regression/pages Add check for ObjectExpression when iterating on <link> tags for font optimization (#26608) 2021-06-25 14:51:53 +00:00
with-google Fix font-optimization snapshot test (#37432) 2022-06-03 15:59:27 +00:00
with-typekit Enable html post optimization for react 18 (#36837) 2022-05-12 17:41:37 +00:00