feat(appliedFontsStore): explicidly state usage of woff2
This commit is contained in:
1 parent
1eef9eff07
commit
7aa9fbd394
2 files changed
+53
-33
No files matched your search
@@ -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