-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOMException: A network error occurred while loading sans-serif font face #284
Comments
It appears that the variable The |
Need to retest if this still happens with #319 |
@wouterlucas |
@wouterlucas I was investigating it and indeed as @suresh-gangumalla pointed out, the It is harmless in itself but unnecessary. I presume we could avoid calling Also regarding system fonts in general, L3 has a copy of some L2 code which include a bug/limitation fixed since in L2: rdkcentral/Lightning#539 |
Generally canvas font loading needs to be revisited: the systematic call to |
Let's do a temp fix on the current code base until #322 is mature enough to move along. |
I'm concerned about whether #322 will progress while Frank is away. Some improvements should be extracted into granular PRs. |
It will, I just want a stopgap solution in there so that the error is gone and so we can do our due diligence on #322 Agree that chopping it up in smaller PRs is a good idea. |
Observed an exception while loading sans-serif as default font face.
https://github.com/lightning-js/renderer/blob/main/src/core/text-rendering/renderers/CanvasTextRenderer.ts#L148
The text was updated successfully, but these errors were encountered: