Summary: | SVG: print any page | ||
---|---|---|---|
Product: | WebKit | Reporter: | jay <jay> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, ddkilzer, ian, mrowe |
Priority: | P2 | Keywords: | SVGHitList |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://www.peepo.co.uk | ||
Bug Depends on: | 10383, 10648 | ||
Bug Blocks: |
Description
jay
2006-05-10 01:29:23 PDT
Attempting to print preview the URL provided results in Preview displaying "File error.", "Couldn't open the file.". A quick look through the PDF that is generated shows it looks roughly like a PDF document, so the contents of it are likely to be the issue. Looking at the console log, this occurs because we're holding on to a CGContext too long. This is the log I see: Warning: The printing graphics context is being released by the printing system but is retained by the drawing client. This usually produces damaged PDF documents! I expect this is due to KCanvasRenderingDeviceContextQuartz. I also see the whole SVG repainting itself twice during the print, which surprises me. re #4 Eric this is almost certainly not fixed. as well as the URI above I checked a simple SVG: http://bugzilla.opendarwin.org/attachment.cgi?id=8239 in both cases print preview dialogue: "file error couldn't open the file OK" and trying again later opened a blank pdf document Fixed by 10648. eric, macdome please explain why this is fixed? the latest nightly is not printing either of the svgs in the 2 URIs given 10383 is not showing as fixed, yet this bug is apparently dependent on it... cheers Amazing, congratulations and thanks, I've already filed a style bug, and will try to file a few more print bugs assuming they're present ~:" |