[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 07:50:42 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit cdcb7ec2e83a242251ffa76d128c3a009cb854f5
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 7 23:02:24 2003 +0000
Fixed 3362939. Checked flippyness of view and adjust y coord accordingly.
Reviewed by John.
* Misc.subproj/WebKitNSStringExtras.m:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index b17be55..aaa70d7 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,11 @@
+2003-08-07 Richard Williamson <rjw at apple.com>
+
+ Fixed 3362939. Checked flippyness of view and adjust y coord accordingly.
+
+ Reviewed by John.
+
+ * Misc.subproj/WebKitNSStringExtras.m:
+
2003-08-07 Chris Blumenberg <cblu at apple.com>
Fixed: <rdar://problem/3330742>: 1.0 Safari fails to send NPP_URLNotify with the error of NPRES_NETWORK_ERR to Flash
diff --git a/WebKit/Misc.subproj/WebKitNSStringExtras.m b/WebKit/Misc.subproj/WebKitNSStringExtras.m
index 43ddcdf..39d7a17 100644
--- a/WebKit/Misc.subproj/WebKitNSStringExtras.m
+++ b/WebKit/Misc.subproj/WebKitNSStringExtras.m
@@ -43,7 +43,11 @@ static BOOL canUseFastRenderer (const UniChar *buffer, unsigned length)
}
else {
// WebTextRenderer assumes drawing from baseline.
- point.y -= [font ascender];
+ if ([[NSView focusView] isFlipped])
+ point.y -= [font ascender];
+ else {
+ point.y += [font descender];
+ }
[self drawAtPoint:point withAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, textColor, NSForegroundColorAttributeName, nil]];
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list