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 07:05:03 -0500

Thanks Riccardo, this is good news. Can you venture a guess as to why my pdf is 
empty ?

On 2013-02-28, at 2:44 AM, Riccardo Mottola wrote:

> Hi,
> 
> 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.
>> I have an NSLog that prints out the contents of the NSTextView.
>> 
>> 2013-02-27 16:51:59.714 report[8305] Failed to determine offsets for style 1
> <snip>
>> 2013-02-27 16:51:59.798 report[8305] The textView object contains: *** This 
>> is the test string ***
>> 2013-02-27 16:51:59.799 report[8305] styleoffsets ... guessing offsets
>> 2013-02-27 16:51:59.799 report[8305] styleoffsets ... guessing offsets
>> 
>> The "guessing offsets" repeats about 30 times.
> This is a delay and cosmetic issue, but won't affect functionality: it
> happens as the backend tries to determine some information from the
> window manager by displaying a window, but fails so because you are not
> running a window manager and/or the one you are running isn't liked. The
> application will run 99% fine though. At most, certain menus and details
> will have the wrong offsets, but that is not an issue for your purpose I
> think.
> 
>> 
>> I also had a warning there was no default printer setup, so I created a "PDF 
>> writer" type printer in CUPS and the message went away.
>> Perhaps I need a "real" printer setup (even though there is none) and set as 
>> default in CUPS ?
> You can use GUI with a dummy printer. This is again a warning only. I
> 
> Riccardo




reply via email to

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