-
Notifications
You must be signed in to change notification settings - Fork 274
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
HTML doesn't handle oversize pages gracefully #33
Comments
At that size it tries using a base width of 38400 pixels. Even at the default resolution of x1 that's going to be too large for JavaFX to handle. So you should see it fail to capture twice in the logs (once at zoom and again at default). You mention that no other printing works after this. I'm not able to reproduce that. Are you getting any logs when attempting other prints after the failed html? Or did the system stop the program entirely? |
Yes, I see two image capture failures. Immediately after this crash I am able to do things like search for a printer, or list the network information. However, if I try to print the logs freeze at
|
Turns out after a print fails from an exception, the processor was never returned to the pool. |
options: { pageWidth: 400 }
to 400 inches (e.g. incorrectly assuming it's pixels)UnsupportedOperationException
It appears since 9fc9277, the oversize page handling is a bit non-ideal. Perhaps this is intended, but after this occurs, Pixel printing (PDFs, HTML) fails to work properly.
The text was updated successfully, but these errors were encountered: