Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Not able to load some PDF files due to some font issues - Warning: loadFont - translateFont failed: "TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Failed to parse URL from undefinedAdobe-Korea1-UCS2.bcmap". #1939

Open
3 of 4 tasks
ankitmsvgo opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ankitmsvgo
Copy link

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

Warning: Error during font loading: Failed to execute 'fetch' on 'WorkerGlobalScope': Failed to parse URL from undefinedAdobe-Korea1-UCS2.bcmap

Steps to reproduce

Try with upload different PDF files for different fonts

Expected behavior

All pdf files fonts should be supported

Actual behavior

Failed to load PDF file

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version:
  • React version:
  • Bundler name and version (if applicable):
@ankitmsvgo ankitmsvgo added the bug Something isn't working label Jan 24, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant