Re: Gnome Print Dialog


Subject: Re: Gnome Print Dialog
From: sam th (sam@uchicago.edu)
Date: Tue Aug 01 2000 - 00:36:45 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 31 Jul 2000, Dom Lachowicz wrote:

> Hi,
>
> This patch provides support for the gnome-print dialog instead of our own
> GTK "thing" in Gnome builds. Its options aren't persistant (doing so would
> be a *huge* pain in the butt and not really worth the hassle...) but it sure
> looks really good.
>
> The patch is partly based on some work that John Tunison originally did a
> couple of months ago, found in Sam's pending-patch archive. Printing is in
> black & white for now. I'll submit a patch to correct this as soon as I see
> how to, other than just defaulting to color printing.
>

Well, the RPM gnome-print-devel solved my problem. And thus I committed
the patch. It looks *real* nice. However, print-to-file no longer works
under GNOME (it crashes AbiWord). The following is the debug output

DEBUG: Printing to file: 1
DEBUG: Print range: 0 Selection: 0
DEBUG: Driver: (null) Filename: output.ps
DEBUG: FL_DocLayout::_toggleAutoSpell (UT_TRUE)
DEBUG: Insertion Point has moved before erasing

** ERROR **: file xap_UnixPSGenerate.cpp: line 121 (UT_Bool
ps_Generate::writeBytes(UT_Byte *, unsigned int)): assertion
failed: (length<256)
aborting...
Aborted (core dumped)

Just so you know, print-to file continue to work just dandy in the GTK
build.
           
                                     sam th
                                     sam@uchicago.edu
                                http://www.abisource.com/~sam/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5hmHvt+kM0Mq9M/wRAm+aAKCwvqo4OMeqI1fzdVifGITgP3H9+ACeIn4R
Ko7AVgScujLpAS3bPLi/pVg=
=+ykE
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Mon Jul 31 2000 - 23:29:23 CDT