[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:39:17 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 95de8d039f86bd260ebe2321de6e84aa66ea2560
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu May 13 00:50:05 2004 +0000
Updated CarbonWeb example to include work-arounds for printing problems. The
work-around makes use of SPI, unfortunate, but necessary.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index 87ce9c1..c216a57 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -1897,6 +1897,13 @@ static WebHTMLView *lastHitView = nil;
return [self _scaleFactorForPrintOperation:printOperation];
}
+- (void)_setPageWidthForPrinting:(float)pageWidth
+{
+ [self _setPrinting:NO minimumPageWidth:0. maximumPageWidth:0. adjustViewSize:NO];
+ [self _setPrinting:YES minimumPageWidth:pageWidth maximumPageWidth:pageWidth adjustViewSize:YES];
+}
+
+
// Return the number of pages available for printing
- (BOOL)knowsPageRange:(NSRangePointer)range {
// Must do this explicit display here, because otherwise the view might redisplay while the print
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list