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 <[email protected]> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to