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

RuntimeError: "unreachable" when rendering PDF with floating-point scale in WASM build #145

Open
shinenic opened this issue Dec 28, 2024 · 0 comments

Comments

@shinenic
Copy link

Describe the bug
RuntimeError: "unreachable" when rendering PDF with floating-point scale in WASM build

To Reproduce
Steps to reproduce the behavior:

  1. update the scale value into a floating number in the released wasm package
  2. start a HTTP server
  3. load the PDF file and check the error

Expected behavior
render the PDF with the correct scale

Screenshots
image
image

System (please complete the following information):

  • OS: Mac
  • Version 15.1
  • Target WASM

Additional context
First of all, thank you for creating such an amazing project for PDF processing!

I encountered an issue and wanted to check if it might be specific to the WASM build. Here's the scenario:

I downloaded the release example and tried rendering a PDF with different scale values. However, when I use a floating-point number for the scale, I receive the following error:

(index):489 RuntimeError: unreachable

I’m not entirely sure if this issue is limited to the WASM build, but I tagged it as "WASM" for now as a starting point.

Thank you for your help!

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

No branches or pull requests

1 participant