gnustep-dev
[Top][All Lists]
Advanced

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

Re: Creating PDF reports


From: Fred Kiefer
Subject: Re: Creating PDF reports
Date: Fri, 01 Mar 2013 10:01:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

Thank you for looking into this!

On 28.02.2013 10:46, Eric Wasylishen wrote:
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.




reply via email to

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