gnustep-dev
[Top][All Lists]
Advanced

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

Re: Creating PDF reports


From: Riccardo Mottola
Subject: Re: Creating PDF reports
Date: Thu, 28 Feb 2013 08:44:58 +0100
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121109 Firefox/16.0 SeaMonkey/2.13.2

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]