Revision: 16398
http://sourceforge.net/p/skim-app/code/16398
Author: hofman
Date: 2026-07-24 09:28:30 +0000 (Fri, 24 Jul 2026)
Log Message:
-----------
use foregroundrect as fallback
Modified Paths:
--------------
trunk/PDFSelection_SKExtensions.m
Modified: trunk/PDFSelection_SKExtensions.m
===================================================================
--- trunk/PDFSelection_SKExtensions.m 2026-07-24 09:26:51 UTC (rev 16397)
+++ trunk/PDFSelection_SKExtensions.m 2026-07-24 09:28:30 UTC (rev 16398)
@@ -265,7 +265,7 @@
if (lastIndex != firstIndex && lastIndex != NSNotFound)
rect = NSUnionRect(rect, [page
characterBoundsAtIndex:lastIndex]);
if (isfinite(NSMinX(rect)) == NO || isfinite(NSMinX(rect)) == NO)
- rect = [[page selectionForRect:[page
boundsForBox:kPDFDisplayBoxCropBox]] boundsForPage:page];
+ rect = [page foregroundRect];
}
}
return rect;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit