-
Notifications
You must be signed in to change notification settings - Fork 286
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
Bring forward 2.0 html raster refactoring with Monocle #632
Conversation
+ fix existing zoom/scaling issues
… blanks on successive pages
try { Thread.sleep(SLEEP); } catch(Exception ignore) {} | ||
//software rendering required headless environments | ||
if (PrintSocketServer.isHeadless()) { | ||
System.setProperty("prism.order", "sw"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quoting the private bug tracker:
There is 1 thing that is still open: rendering on Linux with es2 (instead of sw) and Monocle. Should be doable to fix though.
...
rendering on Linux with es2 and Monocle is now working. Need to modify build procedures.
Interestingly, this passed in #586, so I'm not sure what the stability impact of this is to Linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gluon explains that this is likely due to the fallback order and that it's very likely it would still work. Anyway, they provided a new build with this patched, we just need to update the gluon binaries.
On macOS there's no dialogue warning (about restarting QZ Tray) when clicking "Use Monocle for HTML". I ran this is in IntelliJ but I don't see any errors. Environment:
|
@klabarge, what printer settings are you using, and are you using any other options in QZ for the print? |
@bberenz I'm using the sample.html for testing.
PDFCreator, set to US Letter. |
Incorrect zoom multiplier causing 2nd page to be blank.
@bberenz I was able to fix this raster issue above by replacing the calls to |
Brings forward all race condition fixes (and performance improvement fixes) from #580 with Monocle as a headless HTML engine.
This PR supercedes #623.