For non-embedded fonts, don't generate the fallback several times
This commit is contained in:
parent
107874fcd4
commit
4e8dd54e8e
@ -1001,6 +1001,8 @@ class Font {
|
||||
}
|
||||
|
||||
if (this.systemFontInfo?.guessFallback) {
|
||||
// Once the fallback name is guessed, we don't want to guess it again.
|
||||
this.systemFontInfo.guessFallback = false;
|
||||
this.systemFontInfo.css += `,${this.fallbackName}`;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user