From: Dom Lachowicz (domlachowicz_at_yahoo.com)
Date: Thu Jan 22 2004 - 19:35:12 EST
Michael,
Thanks for this excellent patch. I committed it to our
CVS HEAD branch.
Uwog, this needs to be backported.
Cheers!
Dom
--- Michael Rosenbruch <rosenbru_at_rosenbruch.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> this is my first patch to abiword. My wife use it on
> a daily basis
> and it occurred an mysterious error when printing.
> Only some pages
> were printed. I looked for the problem and it was an
> error in PS-code.
> (to many nested gsave's without grestore). In the
> attachment is my fix.
>
> Michael
>
>
> -
>
-----------------------------------------------------------------------------
> Michael Rosenbruch
> michael_at_rosenbruch.de
> -
>
-----------------------------------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
>
>
iD8DBQFADqSS8kLD+hGDZjARAra0AJ9TYKg8JECN97BoITK47CyUKT0n4gCfQwOW
> aQ3VAcpyqRD1+J90AP1a/O4=
> =YVUd
> -----END PGP SIGNATURE-----
> > ---
>
abicvs/abi/src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.cpp
> Tue Nov 18 02:04:45 2003
> +++
>
abiword-2.1.0/abi/src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.cpp
> Tue Jan 20 22:05:12 2004
> @@ -243,6 +243,7 @@
> UT_UTF8String utf8 (pChars + iCharOffset,
> iLength);
> gnome_print_moveto (m_gpc, tdu (xoff), yoff);
> gnome_print_show_sized (m_gpc,
> reinterpret_cast<const guchar *>(utf8.utf8_str()),
> utf8.byteLength());
> + gnome_print_grestore (m_gpc);
> return;
> }
> else if(m_bIsSymbol)
> @@ -264,6 +265,7 @@
> gnome_print_moveto (m_gpc, tdu (xoff), yoff);
> gnome_print_show_sized (m_gpc,
> reinterpret_cast<const guchar *>(utf8.utf8_str()),
> utf8.byteLength());
> delete [] uChars;
> + gnome_print_grestore (m_gpc);
> return;
> }
> else
> @@ -272,6 +274,7 @@
> UT_UTF8String utf8 (pChars + iCharOffset,
> iLength);
> gnome_print_moveto (m_gpc, tdu (xoff), yoff);
> gnome_print_show_sized (m_gpc,
> reinterpret_cast<const guchar *>(utf8.utf8_str()),
> utf8.byteLength());
> + gnome_print_grestore (m_gpc);
> return;
> }
> }
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
This archive was generated by hypermail 2.1.4 : Thu Jan 22 2004 - 19:36:12 EST