discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDFViewer with printing support


From: Andreas Höschler
Subject: PDFViewer with printing support
Date: Fri, 8 Sep 2006 15:49:57 +0200

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]