Revision: 13684
http://sourceforge.net/p/skim-app/code/13684
Author: hofman
Date: 2023-10-19 22:14:16 +0000 (Thu, 19 Oct 2023)
Log Message:
-----------
make foregroundBox lie within media box rather trhan crop box
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2023-10-18 21:09:13 UTC (rev 13683)
+++ trunk/PDFPage_SKExtensions.m 2023-10-19 22:14:16 UTC (rev 13684)
@@ -163,7 +163,7 @@
rect = NSInsetRect(rect, -width, -height);
else
rect = NSInsetRect(rect, -height, -width);
- return NSIntersectionRect(rect, [self boundsForBox:kPDFDisplayBoxCropBox]);
+ return NSIntersectionRect(rect, [self
boundsForBox:kPDFDisplayBoxMediaBox]);
}
- (NSImage *)thumbnailWithSize:(CGFloat)aSize forBox:(PDFDisplayBox)box {
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