feat(appliedFontsStore): explicidly state usage of woff2
This commit is contained in:
@@ -112,7 +112,7 @@ export class AppliedFontsManager {
|
||||
const internalName = `f_${config.id}`;
|
||||
const weightRange = config.isVariable ? '100 900' : `${config.weight}`;
|
||||
|
||||
const font = new FontFace(config.name, `url(${config.url})`, {
|
||||
const font = new FontFace(config.name, `url(${config.url}) format('woff2')`, {
|
||||
weight: weightRange,
|
||||
style: 'normal',
|
||||
display: 'swap',
|
||||
|
||||
Reference in New Issue
Block a user