Revision: 3829
http://skim-app.svn.sourceforge.net/skim-app/?rev=3829&view=rev
Author: hofman
Date: 2008-04-28 17:28:32 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
Connect markup for characters spaces larger than a character width, as often
space characters are left out.
Modified Paths:
--------------
trunk/SKPDFAnnotationMarkup.m
Modified: trunk/SKPDFAnnotationMarkup.m
===================================================================
--- trunk/SKPDFAnnotationMarkup.m 2008-04-29 00:08:53 UTC (rev 3828)
+++ trunk/SKPDFAnnotationMarkup.m 2008-04-29 00:28:32 UTC (rev 3829)
@@ -192,10 +192,10 @@
// compare horizontal position
// rect1 before rect2
if (NSMinX(rect1) < NSMinX(rect2))
- return NSMinX(rect2) - NSMaxX(rect1) < 0.4 * w;
+ return NSMinX(rect2) - NSMaxX(rect1) < 1.2 * w;
// rect1 after rect2
if (NSMaxX(rect1) > NSMaxX(rect2))
- return NSMinX(rect1) - NSMaxX(rect2) < 0.4 * w;
+ return NSMinX(rect1) - NSMaxX(rect2) < 1.2 * w;
// rect1 on top of rect2
return YES;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit