Skip to content

Fix/#18 firefox font face bug#19

Open
luii wants to merge 3 commits intoShemesh:masterfrom
luii:fix/#18-firefox_font-face_bug
Open

Fix/#18 firefox font face bug#19
luii wants to merge 3 commits intoShemesh:masterfrom
luii:fix/#18-firefox_font-face_bug

Conversation

@luii
Copy link
Copy Markdown

@luii luii commented Apr 13, 2023

Wrapped the font cloning into a try catch block to gracefully and silently fail with a warning.
Like the Issue of the w3c tracker explained, every browser seems to do this differently and there is currently no good fix for this other that wrapping it in a try/catch block

Version was bumped to 4.0.1 accordingly and new docs/demo were generated.

Fixes #18

luii added 3 commits April 13, 2023 23:50
in case that it fails, it skips the font cloning and only shows a warning that it's unable to clone them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(firefox): FontFaceSet's that come from an @font-face rule cant be added to the Popout Windows FontFaceSet

1 participant