Hello all,

is there any PDFViewer with printing support available for GNUstep? We tried Vindaloo but it does not seem to support printing!?

By the way, here are two fixes that prevent Vindaloo from crashing on Solaris SPARC.

CenteringClipView.m

- (void)centerDocumentView
{
if (!_documentView) return ; // <------ add this
NSRect docRect = [[self documentView] frame];
NSRect clipRect = [self bounds];

if(docRect.size.width < clipRect.size.width)
...
}

- (NSPoint)constrainScrollPoint: (NSPoint)proposedNewOrigin
{
if (!_documentView) return _bounds.origin; // <------ add this
NSRect docRect = [[self documentView] frame];
NSRect clipRect = [self bounds];
NSPoint newScrollPoint = proposedNewOrigin;
...
}

Regards,

Andreas
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to