[Webkit-unassigned] [Bug 12419] New: -[WebHTMLView dataWithPDFInsideRect:] returns clipped results with -[WebHTMLView bounds]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 26 10:48:23 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12419
Summary: -[WebHTMLView dataWithPDFInsideRect:] returns clipped
results with -[WebHTMLView bounds]
Product: WebKit
Version: 419.x
Platform: Macintosh PowerPC
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: erich.ocean at ampede.com
There appears to be no way for a user to render the current web page to a
single PDF file *exactly* as it appears on screen.
The value of [[[[webView mainFrame] frameView] documentView] bounds] is
incorrect when used to specify the bounds for a subsequent
dataWithPDFInsideRect: call on the documentView. The resulting PDF file on
pages with lots of text, such as the sample page loaded in this app, are
clipped at the very end.
In addition, WebKit does not respect the user's media style preferences when
calling dataWithPDFInsideRect:. Apparently, a different text layout engine is
being used, which is why the bounds result is incorrect.
To see a graphic example, build and run the attached application, follow the
instructions, and examine the results.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list