gnustep-dev
[Top][All Lists]
Advanced

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

Re: Creating PDF reports


From: Steven LeMaire
Subject: Re: Creating PDF reports
Date: Thu, 28 Feb 2013 20:10:28 -0500

Thanks Eric, I will give it a go.



From: Eric Wasylishen <address@hidden>
Date: February 28, 2013 4:46:37 EST
To: Fred Kiefer <address@hidden>
Cc: address@hidden
Subject: Re: Creating PDF reports

Hey Fred, Steven,

I did a little debugging of this and GSPDFPrintOperation was broken; it was not writing the results into _data, and was overriding -_print but not calling -beginDocument which sets up the PDF context. I made a quick fix for these problems. The remaining problem is the output is up-side-down compared with running Steven's code on OS X.

Steven, if you grab the latest gnustep-gui code from svn, you should get at least the up-side-down pdf output.

Cheers,
Eric

On 2013-02-28, at 3:32 AM, Fred Kiefer <address@hidden> wrote:

On 28.02.2013 03:48, Steven LeMaire wrote:
I've gotten a bit further along with this (I had a small problem in my main.m) with the Xvfb method.
Apologies for the long output, but basically it runs to completion now, except the pdf file it creates is empty.

Which GNUstep backend are you using? PDF output should only be supported by the cairo backend. Please check the config.log from GNUstep back for this.

You probably should check your program first on a machine with an actual X system, to make sure no windows pop up. And only if this works without requiring user interaction, transfer the program to a machine without user interface.


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev


reply via email to

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