Skip to content
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

🐛 Continuous OTS Parsing and Font Download Warnings in Console #2890

Open
kneerose opened this issue Feb 4, 2025 · 1 comment
Open

🐛 Continuous OTS Parsing and Font Download Warnings in Console #2890

kneerose opened this issue Feb 4, 2025 · 1 comment
Assignees

Comments

@kneerose
Copy link
Contributor

kneerose commented Feb 4, 2025

Area

Other

Domain

gov.tools

Which wallet were you using?

No response

Context

The console displays persistent warnings related to OTS (OpenType Sanitizer) parsing errors and failed font downloads, leading to continuous request attempts and failures. Additionally, a warning message appears regarding the React Router Future Flag:

React Router Future Flag Warning: React Router will begin wrapping state updates in React.startTransition in v7. You can use the v7_startTransition future flag to opt-in early.

Steps to reproduce

  1. Navigate to gov.tools.
  2. Open the browser console and observe the repeated warnings and failed requests.

https://www.loom.com/share/5ac86a3fa8034de39989b0390c27eaa3?sid=f5a1496f-3d05-4972-9472-39e9dee9a815

Actual behavior

  • Continuous repeated warnings appear for OTS parsing errors and failed font downloads.

Image

  • The console logs numerous repeated requests attempting to decode and download fonts unsuccessfully.

Image

Expected behavior

  • The console should not continuously log repeated warnings and requests.
  • Font download issues should be resolved to prevent excessive failed requests.
@MSzalowski
Copy link
Contributor

Fonts should be listed as peer deps in PDF. That issue and explanation has been reported somewhere. I'll update my comment once I find it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: No status
Development

No branches or pull requests

2 participants