From gnome-print-admin@trna.ximian.com Tue Mar 5 03:32:16 2002 Received: from mmp2 (mmp2.fz.fj.cn [202.109.205.6]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g258WCW00784 for ; Tue, 5 Mar 2002 03:32:13 -0500 Received: from asshole ([218.66.136.145]) by mmp2.fz.fj.cn (iPlanet Messaging Server 5.1 (built Sep 5 2001)) with ESMTPA id <0GSH006HUROBWZ@mmp2.fz.fj.cn> for gnome-print@ximian.com; Tue, 05 Mar 2002 16:31:24 +0800 (CST) Date: Tue, 05 Mar 2002 16:55:37 +0800 From: kevinmay@public.xm.fj.cn To: gnome-print@ximian.com Message-id: <007301c1c423$858ffc70$918842da@asshole> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Content-type: multipart/alternative; boundary="Boundary_(ID_vfCTMLhFDhlFDT6bUTPkeA)" X-Priority: 3 X-MSMail-priority: Normal Subject: [gnome-print] How to create GnomeCanvasBpath? 这是 MIME 格式的具有很多部分消息。 --Boundary_(ID_vfCTMLhFDhlFDT6bUTPkeA) Content-type: text/plain; charset=gb2312 Content-transfer-encoding: 7BIT How to create and draw a bezier curve using GnomeCanvasBpath on a GnomeCanvas widget? how to new a ArtBpath and fill it? please give sample code if possible, thanks! --Boundary_(ID_vfCTMLhFDhlFDT6bUTPkeA) Content-type: text/html; charset=gb2312 Content-transfer-encoding: 7BIT
How to create and draw a bezier curve using GnomeCanvasBpath on a GnomeCanvas widget?
 
how to new a ArtBpath and fill it?
 
please give sample code if possible, thanks!
--Boundary_(ID_vfCTMLhFDhlFDT6bUTPkeA)-- From gnome-print-admin@trna.ximian.com Wed Mar 6 02:54:10 2002 Received: from s096-n062.tele2.cz (s096-n062.tele2.cz [213.246.96.62]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g267sAW27764 for ; Wed, 6 Mar 2002 02:54:10 -0500 Received: from localhost (plusik@localhost) by s096-n062.tele2.cz (8.11.6/8.11.6) with ESMTP id g267q3w13571 for ; Wed, 6 Mar 2002 08:52:03 +0100 (CET) (envelope-from plusik@pohoda.cz) X-Authentication-Warning: s096-n062.tele2.cz: plusik owned process doing -bs Date: Wed, 6 Mar 2002 08:52:03 +0100 (CET) From: Tomas Pluskal X-X-Sender: plusik@s096-n062.tele2.cz To: gnome-print@ximian.com Message-ID: <20020306085155.D209-100000@s096-n062.tele2.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [gnome-print] latin2 (i18n?) problems Hi, I'm trying to print Czech texts using gnome-print, but it doesn't seem to work. I have XFree86 4.2.0 (with standart fonts + added TTF fonts from windoze), gnome-print 0.35, all installed from sources. I have done "gnome-font-install --smart", which found all the Xfree fonts and ghostscript fonts. Displaying fonts works great, but printing doesn't (I've tried gedit and gnumeric) - instead of latin2 characters I see latin1. Is there any known solution ? Thx Tomas Pluskal From gnome-print-admin@trna.ximian.com Wed Mar 6 07:02:22 2002 Received: from mmp2 (mmp2.fz.fj.cn [202.109.205.6]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g26C2CW12387 for ; Wed, 6 Mar 2002 07:02:19 -0500 Received: from asshole ([218.66.149.85]) by mmp2.fz.fj.cn (iPlanet Messaging Server 5.1 (built Sep 5 2001)) with ESMTPA id <0GSJ007CTW26ZR@mmp2.fz.fj.cn> for gnome-print@ximian.com; Wed, 06 Mar 2002 20:01:20 +0800 (CST) Date: Wed, 06 Mar 2002 20:25:40 +0800 From: kevinmay@public.xm.fj.cn Subject: Re: [gnome-print] How to create GnomeCanvasBpath? To: Cody Russell Cc: gnome-print@ximian.com Message-id: <002501c1c50a$083f3730$559542da@asshole> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Mailer: Microsoft Outlook Express 6.00.2462.0000 Content-type: text/plain; charset=gb2312 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <007301c1c423$858ffc70$918842da@asshole> <1015355875.23190.4.camel@grue.zork.org> i wrote the following code, gcc did not report any error, but when running, the curve item did not appear in the canvas immediatly, it was drawn after refresh. and when pointer closed to the curve, progrom crashed -( what's wrong? thanks! GnomeCanvasGroup * group = group; GnomeCanvasItem; GPPath * bpath; bpath = gp_path_new(); bpath->path[0].code = ART_MOVE_OPEN; bpath->path[0].x1 = x01; bpath->path[0].y1 = y01; bpath->path[0].x2 = x02; bpath->path[0].y2 = y02; bpath->path[0].x3 = x03; bpath->path[0].y3 = y03; bpath->path[1].code = ART_CURVETO; bpath->path[1].x1 = x11; bpath->path[1].y1 = y11; bpath->path[1].x2 = x12; bpath->path[1].y2 = y12; bpath->path[1].x3 = x13; bpath->path[1].y3 = y13; bpath->path[2].code = ART_END; bpath->path[2].x1 = x21; bpath->path[2].y1 = y21; bpath->path[2].x2 = x22; bpath->path[2].y2 = y22; bpath->path[2].x3 = x23; bpath->path[2].y3 = y23; item = gnome_canvas_item_new(group, gnome_canvas_bpath_get_type(), "bpath", bpath, "fill_color", "#ff0000", NULL); From gnome-print-admin@trna.ximian.com Wed Mar 6 10:02:20 2002 Received: from c007.snv.cp.net (c007-h015.c007.snv.cp.net [209.228.33.222]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g26F2JW27468 for ; Wed, 6 Mar 2002 10:02:20 -0500 Received: (cpmta 21414 invoked from network); 6 Mar 2002 07:02:07 -0800 Received: from 65.187.97.149 (HELO dsl-65-187-97-149.telocity.com) by smtp.directvinternet.com (209.228.33.222) with SMTP; 6 Mar 2002 07:02:07 -0800 X-Sent: 6 Mar 2002 15:02:07 GMT Subject: Re: [gnome-print] How to create GnomeCanvasBpath? From: Cody Russell To: kevinmay@public.xm.fj.cn Cc: gnome-print@ximian.com In-Reply-To: <002501c1c50a$083f3730$559542da@asshole> References: <007301c1c423$858ffc70$918842da@asshole> <1015355875.23190.4.camel@grue.zork.org> <002501c1c50a$083f3730$559542da@asshole> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 (1.0.2-1) Date: 06 Mar 2002 09:55:57 -0500 Message-Id: <1015426560.765.9.camel@grue.zork.org> Mime-Version: 1.0 Okay, first of all I think you meant to use ART_MOVETO, not ART_MOVE_OPEN. I don't know what that is. Second, you don't define a GPPath like that. You would define an ArtBpath like that, and then create a GPPath in the same way that I created a GnomeCanvasPathDef in my previous email. (sorry, GnomeCanvasPathDef is the new thing in Gnome 2.0, but it works mostly like GPPath). GnomeCanvasItem *item; ArtBpath *bpath; GPPath *gppath; bpath = art_new (ArtBpath, 3); bpath[0].code = ART_MOVETO; /* Fill in coords */ bpath[1].code = ART_CURVETO; /* Fill in coords */ bpath[2].code = ART_END; /* No need to fill in coords here. */ gppath = gp_path_new_from_bpath (bpath); item = gnome_canvas_item_new (group, gnome_canvas_bpath_get_type (), "bpath", gppath, "fill_color", "#ff0000", NULL); On Wed, 2002-03-06 at 07:25, kevinmay@public.xm.fj.cn wrote: > i wrote the following code, gcc did not report any error, but when running, > the curve item did not appear in the canvas immediatly, it was drawn after > refresh. and when pointer closed to the curve, progrom crashed -( > what's wrong? > thanks! > > GnomeCanvasGroup * group = group; > GnomeCanvasItem; > GPPath * bpath; > > bpath = gp_path_new(); > > bpath->path[0].code = ART_MOVE_OPEN; > bpath->path[0].x1 = x01; > bpath->path[0].y1 = y01; > bpath->path[0].x2 = x02; > bpath->path[0].y2 = y02; > bpath->path[0].x3 = x03; > bpath->path[0].y3 = y03; > > bpath->path[1].code = ART_CURVETO; > bpath->path[1].x1 = x11; > bpath->path[1].y1 = y11; > bpath->path[1].x2 = x12; > bpath->path[1].y2 = y12; > bpath->path[1].x3 = x13; > bpath->path[1].y3 = y13; > > bpath->path[2].code = ART_END; > bpath->path[2].x1 = x21; > bpath->path[2].y1 = y21; > bpath->path[2].x2 = x22; > bpath->path[2].y2 = y22; > bpath->path[2].x3 = x23; > bpath->path[2].y3 = y23; > > item = gnome_canvas_item_new(group, > gnome_canvas_bpath_get_type(), > "bpath", bpath, > "fill_color", "#ff0000", > NULL); > > > > > _______________________________________________ > Gnome-print maillist - Gnome-print@ximian.com > http://lists.ximian.com/mailman/listinfo/gnome-print > From gnome-print-admin@trna.ximian.com Thu Mar 7 17:27:18 2002 Received: from zen.estpak.ee (zen.estpak.ee [194.126.101.100]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g27MRIW30069 for ; Thu, 7 Mar 2002 17:27:18 -0500 Received: from localhost.localdomain (80-235-62-82-dsl.trt.estpak.ee [80.235.62.82]) by zen.estpak.ee (Postfix) with ESMTP id EBC9D6E8B3; Fri, 8 Mar 2002 00:27:08 +0200 (EET) Subject: Re: [gnome-print] latin2 (i18n?) problems From: Lauris Kaplinski To: Tomas Pluskal Cc: gnome-print@ximian.com In-Reply-To: <20020306085155.D209-100000@s096-n062.tele2.cz> References: <20020306085155.D209-100000@s096-n062.tele2.cz> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 08 Mar 2002 00:20:28 +0200 Message-Id: <1015539630.13861.31.camel@localhost.localdomain> Mime-Version: 1.0 Hello! There can be different issues involved. Can you please do the following test: 1. Create some utf-8 text with latin2 glyphs (I think iconv can convert existing iso-8859-2 or something to utf-8 without problems) 2. In gnome-print source tree, experiment with: tests/testprint4 --preview your_file_name tests/testprint your_file_name It takes utf-8 input, asks you to choose font, layouts trivial page out of it, and either displays it on preview, or lets you to choose target printer. So you can verify, whether font reencodings etc. actually work. I do not know about gedit, but gnumeric assumes your text to be in current locale - EVEN IF X FONT USED IS SOMETHING DIFFERENT. So you may want to try to experiment with setting locale environment variables - I do not know exactly, which one is used to determine text encoding. Hope that helps Best wishes, Lauris Kaplinski On Wed, 2002-03-06 at 09:52, Tomas Pluskal wrote: > > Hi, > > I'm trying to print Czech texts using gnome-print, but it doesn't seem to > work. I have XFree86 4.2.0 (with standart fonts + added TTF fonts from > windoze), gnome-print 0.35, all installed from sources. I have > done "gnome-font-install --smart", which found all the Xfree > fonts and ghostscript fonts. > Displaying fonts works great, but printing doesn't (I've tried gedit and > gnumeric) - instead of latin2 characters I see latin1. > > Is there any known solution ? > > Thx > > Tomas Pluskal > > > > > > > _______________________________________________ > Gnome-print maillist - Gnome-print@ximian.com > http://lists.ximian.com/mailman/listinfo/gnome-print From gnome-print-admin@trna.ximian.com Fri Mar 8 07:53:47 2002 Received: from s096-n062.tele2.cz (s096-n062.tele2.cz [213.246.96.62]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g28CrkW28958; Fri, 8 Mar 2002 07:53:46 -0500 Received: from localhost (plusik@localhost) by s096-n062.tele2.cz (8.11.6/8.11.6) with ESMTP id g28Cpc934568; Fri, 8 Mar 2002 13:51:38 +0100 (CET) (envelope-from plusik@pohoda.cz) X-Authentication-Warning: s096-n062.tele2.cz: plusik owned process doing -bs Date: Fri, 8 Mar 2002 13:51:38 +0100 (CET) From: Tomas Pluskal X-X-Sender: plusik@s096-n062.tele2.cz To: Lauris Kaplinski cc: gnome-print@ximian.com Subject: Re: [gnome-print] latin2 (i18n?) problems In-Reply-To: <1015539630.13861.31.camel@localhost.localdomain> Message-ID: <20020308134901.J214-100000@s096-n062.tele2.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Thanks for advice, the testprint worked ok, so I started investigation in gedit & gnumeric sources, and I found out that the problem is probably in FreeBSD implementation of multibyte(3) functions. I have written a sample program: ------ test.c ----------------------------- #include #include int main(int argc, char *argv[]) { char s[1024]; int x; setlocale(LC_ALL, "cs_CZ.ISO8859-2"); x=wctomb(s, 0x0161); printf("char count: %d\nchar: %c\n",x,s[0]); return 0; } ------------------------------------------- It should output a "s" with hook (unicode 0x161) character, but it outputs just "a". In linux it outputs hooked s correctly! Bye Tomas Pluskal On 8 Mar 2002, Lauris Kaplinski wrote: > Hello! > > There can be different issues involved. > Can you please do the following test: > > 1. Create some utf-8 text with latin2 glyphs (I think iconv > can convert existing iso-8859-2 or something to utf-8 without > problems) > 2. In gnome-print source tree, experiment with: > > tests/testprint4 --preview your_file_name > tests/testprint your_file_name > > It takes utf-8 input, asks you to choose font, layouts trivial page out > of it, and either displays it on preview, or lets you to choose > target printer. > So you can verify, whether font reencodings etc. actually work. > > I do not know about gedit, but gnumeric assumes your text to > be in current locale - EVEN IF X FONT USED IS SOMETHING DIFFERENT. > So you may want to try to experiment with setting locale > environment variables - I do not know exactly, which one is > used to determine text encoding. > > Hope that helps > > Best wishes, > Lauris Kaplinski From gnome-print-admin@trna.ximian.com Sun Mar 10 19:28:25 2002 Received: from fresnel.labs.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2B0SP815873; Sun, 10 Mar 2002 19:28:25 -0500 Received: by fresnel.labs.redhat.com (Postfix, from userid 2181) id 20C89241BE7; Sun, 10 Mar 2002 19:28:03 -0500 (EST) Sender: otaylor@fresnel.devel.redhat.com To: Tomas Pluskal Cc: Lauris Kaplinski , gnome-print@ximian.com Subject: Re: [gnome-print] latin2 (i18n?) problems References: <20020308134901.J214-100000@s096-n062.tele2.cz> From: Owen Taylor In-Reply-To: Tomas Pluskal's message of "Fri, 8 Mar 2002 13:51:38 +0100 (CET)" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 38 Message-Id: <20020311002803.20C89241BE7@fresnel.labs.redhat.com> Date: Sun, 10 Mar 2002 19:28:03 -0500 (EST) Tomas Pluskal writes: > Thanks for advice, the testprint worked ok, so I started investigation in > gedit & gnumeric sources, and I found out that the problem is probably in > FreeBSD implementation of multibyte(3) functions. I have written a sample > program: > ------ test.c ----------------------------- > #include > #include > > int main(int argc, char *argv[]) > { > char s[1024]; > int x; > > setlocale(LC_ALL, "cs_CZ.ISO8859-2"); > x=wctomb(s, 0x0161); > > printf("char count: %d\nchar: %c\n",x,s[0]); > > return 0; > } > ------------------------------------------- > It should output a "s" with hook (unicode 0x161) character, but it outputs > just "a". In linux it outputs hooked s correctly! There is no requirement that wide characters are the same as unicode... though a lot of the GNOME-1.2 code around has the assumption that is the case. (If __STDC_ISO_10646__ is defined, it's a valid assumption.) This sort of code can be ditched with GNOME-2.0 where GLib-2.0 has nice and portable encoding conversion functions. Regards, Owen From gnome-print-admin@trna.ximian.com Mon Mar 18 04:42:22 2002 Received: from web12904.mail.yahoo.com (web12904.mail.yahoo.com [216.136.174.71]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g2I9gM804284 for ; Mon, 18 Mar 2002 04:42:22 -0500 Message-ID: <20020318094204.55446.qmail@web12904.mail.yahoo.com> Received: from [203.200.22.66] by web12904.mail.yahoo.com via HTTP; Mon, 18 Mar 2002 01:42:04 PST Date: Mon, 18 Mar 2002 01:42:04 -0800 (PST) From: Harsha Kodnad To: gnome-print miling list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [gnome-print] how to print pixmap I have a GdkPixmap how to print it on the GnomePrintContext ? thanks in advance regards ===== Harsha Kodnad __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ From gnome-print-admin@trna.ximian.com Thu Mar 21 10:22:55 2002 Received: from savi1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2LFMs801291 for ; Thu, 21 Mar 2002 10:22:54 -0500 Received: from localhost.localdomain (80-235-62-82-dsl.trt.estpak.ee [80.235.62.82]) by savi1.estpak.ee (Postfix) with ESMTP id E315688826; Thu, 21 Mar 2002 17:22:31 +0200 (EET) Subject: Re: [gnome-print] how to print pixmap From: Lauris Kaplinski To: Harsha Kodnad Cc: gnome-print miling list In-Reply-To: <20020318094204.55446.qmail@web12904.mail.yahoo.com> References: <20020318094204.55446.qmail@web12904.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 21 Mar 2002 17:14:35 +0200 Message-Id: <1016723676.1715.66.camel@localhost.localdomain> Mime-Version: 1.0 Hello! There is some information at http://www.gnome.org/projects/gnome-print/index.php3?section=documentation&page=faq but not about your specific case. I think: 1) You have to copy pixmap (server-side object) into pixbuf (client side object) gdk_pixbuf_get_from_drawable (pixbuf, pixmap, colormap, 0, 0, 0, 0, width, height) I am not sure, but colormap can probably be obtained from cmap = gdk_rgb_get_colormap () 2) Printing itself is: gnome_print_gsave (pc) gnome_print_translate (pc, image_left_x, image_bottom_y) gnome_print_scale (pc, image_width, image_height) gnome_print_pixbuf (pc, pixbuf) gnome_print_grestore (pc) best wishes, Lauris Kaplinski On Mon, 2002-03-18 at 11:42, Harsha Kodnad wrote: > I have a GdkPixmap how to print it on the > GnomePrintContext ? > > thanks in advance > > > regards > > ===== > Harsha Kodnad > > __________________________________________________ > Do You Yahoo!? > Yahoo! Sports - live college hoops coverage > http://sports.yahoo.com/ > > _______________________________________________ > Gnome-print maillist - Gnome-print@ximian.com > http://lists.ximian.com/mailman/listinfo/gnome-print From gnome-print-admin@trna.ximian.com Thu Mar 21 10:30:34 2002 Received: from savi2.estpak.ee (ld1.estpak.ee [194.126.101.98]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2LFUX802062 for ; Thu, 21 Mar 2002 10:30:33 -0500 Received: from localhost.localdomain (80-235-62-82-dsl.trt.estpak.ee [80.235.62.82]) by savi2.estpak.ee (Postfix) with ESMTP id A6E10734E2; Thu, 21 Mar 2002 17:30:08 +0200 (EET) From: Lauris Kaplinski To: jgotts@linuxsavvy.com Cc: gnome-print@ximian.com In-Reply-To: <200203190433.g2J4X9s11859@ann-arbor.fmfts.com> References: <200203190433.g2J4X9s11859@ann-arbor.fmfts.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 21 Mar 2002 17:22:12 +0200 Message-Id: <1016724133.1715.74.camel@localhost.localdomain> Mime-Version: 1.0 Subject: [gnome-print] Re: Redefining the default output filename Hello! Yes, gnome-1.4 printer configuration is non-existent. Unless you want only to use gnome_printer_new_generic_ps, there is little you can do. Best wishes, Lauris Kaplinski Lauris Kaplinski On Tue, 2002-03-19 at 06:33, jgotts@linuxsavvy.com wrote: > We'd like to be able to redefine the default output filename at runtime based > upon what is being printed. The user would still be able to override this > default value, of course. > > I've studied the source code for a while and this doesn't appear to be > possible. Any hints? > > John > > -- > John GOTTS http://linuxsavvy.com/staff/jgotts From gnome-print-admin@trna.ximian.com Thu Mar 21 12:59:58 2002 Received: from blackhole.acheson.org (dsl081-195-127.nyc2.dsl.speakeasy.net [64.81.195.127]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g2LHxu816574 for ; Thu, 21 Mar 2002 12:59:57 -0500 Received: (qmail 8208 invoked by uid 500); 21 Mar 2002 18:03:30 -0000 From: oacheson@acheson.org Date: Thu, 21 Mar 2002 13:03:30 -0500 To: gnome-print@ximian.com Message-ID: <20020321130330.A8192@blackhole.speakeasy.net> Reply-To: Ollie Acheson Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Sender: oacheson@acheson.org Subject: [gnome-print] Problems making gnome-print --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I successfully ran ./configure, but make gave the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/gnome-xml -DPROFILEDIR=3D3D\"/usr/local/share/gnome-print/profiles/\" -DGNOMEPRINT_LIBDIR=3D3D\"/usr/local/lib\" -I/usr/lib/glib/include -I/usr/X11R6/include -DGNOMELOCALEDIR=3D3D\"/usr/local/share/locale\" -DBINDIR=3D3D\"/usr/local/bin\" -DDATADIR=3D3D\"/usr/local/share\" -DFONTMAPDIR_STATIC=3D3D\"/usr/local/share/gnome/fonts\" -DFONTMAPDIR_DYNAMIC=3D3D\"/usr/local/etc/gnome/fonts\" -g -O2 -Wall -Wunus= ed=3D -c gnome-print-ps2.c -fPIC -DPIC -o .libs/gnome-print-ps2.lo In file included from gnome-print-ps2.c:51: =2E/libgnomeprint/gnome-font-private.h:50: parse error before FT_Face' =2E/libgnomeprint/gnome-font-private.h:50: warning: no semicolon at end of struct or union make[2]: *** [gnome-print-ps2.lo] Error 1 make[2]: Leaving directory /usr/src/gnome-print-0.35/libgnomeprint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/src/gnome-print-0.35' make: *** [all-recursive-am] Error 2 =20 =20 Any suggestions for getting past this? =20 Thanks, =20 Ollie =20 --=20 |---------------------------| | Ollie Acheson | | Morristown, NJ | |---------------------------| --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8miBxV54kDgAxtM0RAkrUAKDTIq44foFscoQ8wIzS1KuT8flrigCfZiAF m6vpgdJ0xqeFQvXTrzdtEbA= =Iscw -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From gnome-print-admin@trna.ximian.com Sat Mar 23 11:56:51 2002 Received: from blackhole.acheson.org (dsl081-195-127.nyc2.dsl.speakeasy.net [64.81.195.127]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g2NGup804934 for ; Sat, 23 Mar 2002 11:56:51 -0500 Received: (qmail 16230 invoked by uid 500); 23 Mar 2002 17:01:02 -0000 From: oacheson@acheson.org Date: Sat, 23 Mar 2002 12:01:02 -0500 To: gnome-print@ximian.com Message-ID: <20020323120101.U4562@blackhole.speakeasy.net> Reply-To: Ollie Acheson Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="aQ0PHH3iiKbaMI5N" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Sender: oacheson@acheson.org Subject: [gnome-print] "make" problems gnome-print-0.35 --aQ0PHH3iiKbaMI5N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I successfully ran ./configure, but make gave the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/gnome-xml -DPROFILEDIR=3D3D\"/usr/local/share/gnome-print/profiles/\" -DGNOMEPRINT_LIBDIR=3D3D\"/usr/local/lib\" -I/usr/lib/glib/include -I/usr/X11R6/include -DGNOMELOCALEDIR=3D3D\"/usr/local/share/locale\" -DBINDIR=3D3D\"/usr/local/bin\" -DDATADIR=3D3D\"/usr/local/share\" -DFONTMAPDIR_STATIC=3D3D\"/usr/local/share/gnome/fonts\" -DFONTMAPDIR_DYNAMIC=3D3D\"/usr/local/etc/gnome/fonts\" -g -O2 -Wall -Wunus= ed=3D -c gnome-print-ps2.c -fPIC -DPIC -o .libs/gnome-print-ps2.lo In file included from gnome-print-ps2.c:51: =2E/libgnomeprint/gnome-font-private.h:50: parse error before FT_Face' =2E/libgnomeprint/gnome-font-private.h:50: warning: no semicolon at end of struct or union make[2]: *** [gnome-print-ps2.lo] Error 1 make[2]: Leaving directory /usr/src/gnome-print-0.35/libgnomeprint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/src/gnome-print-0.35' make: *** [all-recursive-am] Error 2 =20 =20 Any suggestions for getting past this? =20 Thanks, =20 Ollie --=20 |---------------------------| | Ollie Acheson | | Morristown, NJ | |---------------------------| --aQ0PHH3iiKbaMI5N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8nLTNV54kDgAxtM0RArLCAKCez+BgVFHbBykL3u85QGYdV478MwCfRrVW RfIxyrD2DatrnF0JPvY2sZ0= =W74D -----END PGP SIGNATURE----- --aQ0PHH3iiKbaMI5N-- From gnome-print-admin@trna.ximian.com Sun Mar 24 05:19:03 2002 Received: from savi1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2OAJ3802408 for ; Sun, 24 Mar 2002 05:19:03 -0500 Received: from localhost.localdomain (80-235-62-82-dsl.trt.estpak.ee [80.235.62.82]) by savi1.estpak.ee (Postfix) with ESMTP id 980FB8889A; Sun, 24 Mar 2002 12:18:35 +0200 (EET) Subject: Re: [gnome-print] "make" problems gnome-print-0.35 From: Lauris Kaplinski To: Ollie Acheson Cc: gnome-print@ximian.com In-Reply-To: <20020323120101.U4562@blackhole.speakeasy.net> References: <20020323120101.U4562@blackhole.speakeasy.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 24 Mar 2002 12:10:23 +0200 Message-Id: <1016964623.1756.84.camel@localhost.localdomain> Mime-Version: 1.0 Hello! Seems that freetype1 is picked up instead of freetype2, (as they have identical header names). What does freetype-config --cflags say on your system? Where do ft1 and ft2 reside. If you do not need it, removing ft1 devel package may be good idea. Best wishes, Lauris Kaplinski On Sat, 2002-03-23 at 19:01, oacheson@acheson.org wrote: > I successfully ran ./configure, but make gave the following error: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl > -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include > -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include > -I/usr/X11R6/include -I/usr/lib/glib/include > -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/gnome-xml > -DPROFILEDIR=3D\"/usr/local/share/gnome-print/profiles/\" > -DGNOMEPRINT_LIBDIR=3D\"/usr/local/lib\" -I/usr/lib/glib/include > -I/usr/X11R6/include -DGNOMELOCALEDIR=3D\"/usr/local/share/locale\" > -DBINDIR=3D\"/usr/local/bin\" -DDATADIR=3D\"/usr/local/share\" > -DFONTMAPDIR_STATIC=3D\"/usr/local/share/gnome/fonts\" > -DFONTMAPDIR_DYNAMIC=3D\"/usr/local/etc/gnome/fonts\" -g -O2 -Wall -Wunused= > -c > gnome-print-ps2.c -fPIC -DPIC -o .libs/gnome-print-ps2.lo > In file included from gnome-print-ps2.c:51: > ./libgnomeprint/gnome-font-private.h:50: parse error before FT_Face' > ./libgnomeprint/gnome-font-private.h:50: warning: no semicolon at end of > struct or union > make[2]: *** [gnome-print-ps2.lo] Error 1 > make[2]: Leaving directory /usr/src/gnome-print-0.35/libgnomeprint' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory /usr/src/gnome-print-0.35' > make: *** [all-recursive-am] Error 2 > > > Any suggestions for getting past this? > > Thanks, > > Ollie > > -- > |---------------------------| > | Ollie Acheson | > | Morristown, NJ | > |---------------------------| > From gnome-print-admin@trna.ximian.com Sun Mar 24 05:34:39 2002 Received: from savi2.estpak.ee (ld1.estpak.ee [194.126.101.98]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2OAYd803179 for ; Sun, 24 Mar 2002 05:34:39 -0500 Received: from localhost.localdomain (80-235-62-82-dsl.trt.estpak.ee [80.235.62.82]) by savi2.estpak.ee (Postfix) with ESMTP id 70E667354C; Sun, 24 Mar 2002 12:34:14 +0200 (EET) From: Lauris Kaplinski To: jgotts@linuxsavvy.com Cc: gnome-print@ximian.com In-Reply-To: <200203212010.g2LKAa721329@ann-arbor.fmfts.com> References: <200203212010.g2LKAa721329@ann-arbor.fmfts.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 24 Mar 2002 12:26:02 +0200 Message-Id: <1016965562.1756.93.camel@localhost.localdomain> Mime-Version: 1.0 Subject: [gnome-print] Re: Bug in preview Hello! Btw. what happens, if you put setfont after each beginpage? (although I was sure it follows PS convention of not resetting font) Any warnings on console? Does gnome-print PS output seem normal? Best wishes Lauris Kaplinski On Thu, 2002-03-21 at 22:10, jgotts@linuxsavvy.com wrote: > I don't know if anyone's noticed this but subsequent pages seem to lose the > font in the preview. > > We're generating a 2+ page report that displays correctly on our PostScript > printers and in ggv and gv but gnome-print's preview function reverts to some > kind of default font starting on page 2. > > I can attempt to boil this down to a test case upon request, but here's the > skeleton of what we're doing: > > font = gnome_font_new("Helvetica", 8.0); > gnome_print_beginpage (pc, ""); > gnome_print_setfont (pc, font); > gnome_print_moveto(pc, x, y); > gnome_print_show (pc, "This is in 8 point Helvetica."); > gnome_print_showpage (pc); > gnome_print_beginpage (pc, ""); > gnome_print_moveto(pc, x, y); > gnome_print_show (pc, "This is in 8 point Helvetica in the generated PostScript but not in the preview window."); > > John > > -- > John GOTTS http://linuxsavvy.com/staff/jgotts From gnome-print-admin@trna.ximian.com Sun Mar 24 17:01:52 2002 Received: from blackhole.acheson.org (dsl081-195-127.nyc2.dsl.speakeasy.net [64.81.195.127]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g2OM1p810642 for ; Sun, 24 Mar 2002 17:01:52 -0500 Received: (qmail 30867 invoked by uid 500); 24 Mar 2002 22:06:30 -0000 From: oacheson@acheson.org Date: Sun, 24 Mar 2002 17:06:30 -0500 To: gnome-print@ximian.com Subject: Re: [gnome-print] "make" problems gnome-print-0.35 Message-ID: <20020324170630.A16282@blackhole.speakeasy.net> Reply-To: Ollie Acheson Mail-Followup-To: Ollie Acheson , gnome-print@ximian.com References: <20020323120101.U4562@blackhole.speakeasy.net> <1016964623.1756.84.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1016964623.1756.84.camel@localhost.localdomain>; from lauris@ximian.com on Sun, Mar 24, 2002 at 12:10:23PM +0200 X-Sender: oacheson@acheson.org --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks, that helped. I got rid of the old version and it compiled fine. Ollie On Sun, Mar 24, 2002 at 12:10:23PM +0200, Lauris Kaplinski wrote: > Hello! >=20 > Seems that freetype1 is picked up instead of freetype2, (as they > have identical header names). What does >=20 > freetype-config --cflags >=20 > say on your system? Where do ft1 and ft2 reside. If you do not > need it, removing ft1 devel package may be good idea. >=20 > Best wishes, > Lauris Kaplinski >=20 > On Sat, 2002-03-23 at 19:01, oacheson@acheson.org wrote: > > I successfully ran ./configure, but make gave the following error: > >=20 > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl > > -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include > > -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include > > -I/usr/X11R6/include -I/usr/lib/glib/include > > -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/gnome-xml > > -DPROFILEDIR=3D3D\"/usr/local/share/gnome-print/profiles/\" > > -DGNOMEPRINT_LIBDIR=3D3D\"/usr/local/lib\" -I/usr/lib/glib/include > > -I/usr/X11R6/include -DGNOMELOCALEDIR=3D3D\"/usr/local/share/locale\" > > -DBINDIR=3D3D\"/usr/local/bin\" -DDATADIR=3D3D\"/usr/local/share\" > > -DFONTMAPDIR_STATIC=3D3D\"/usr/local/share/gnome/fonts\" > > -DFONTMAPDIR_DYNAMIC=3D3D\"/usr/local/etc/gnome/fonts\" -g -O2 -Wall -W= unused=3D > > -c > > gnome-print-ps2.c -fPIC -DPIC -o .libs/gnome-print-ps2.lo > > In file included from gnome-print-ps2.c:51: > > ./libgnomeprint/gnome-font-private.h:50: parse error before FT_Face' > > ./libgnomeprint/gnome-font-private.h:50: warning: no semicolon at end of > > struct or union > > make[2]: *** [gnome-print-ps2.lo] Error 1 > > make[2]: Leaving directory /usr/src/gnome-print-0.35/libgnomeprint' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory /usr/src/gnome-print-0.35' > > make: *** [all-recursive-am] Error 2 > > =20 > > =20 > > Any suggestions for getting past this? > > =20 > > Thanks, > > =20 > > Ollie > >=20 > > --=20 > > |---------------------------| > > | Ollie Acheson | > > | Morristown, NJ | > > |---------------------------| > >=20 >=20 >=20 >=20 > _______________________________________________ > Gnome-print maillist - Gnome-print@ximian.com > http://lists.ximian.com/mailman/listinfo/gnome-print >=20 --=20 |---------------------------| | Ollie Acheson | | Morristown, NJ | |---------------------------| --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8nk3lV54kDgAxtM0RAjaNAKC2zBFEe0LKFeRh/76OZvgEP5Iu1wCgiksR fFqGcEaKFlAFEV8KG1OXYJA= =I34o -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From gnome-print-admin@trna.ximian.com Fri Mar 29 08:11:12 2002 Received: from northgate.starhub.net.sg (northgate.starhub.net.sg [203.117.1.53]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2TDBA015011 for ; Fri, 29 Mar 2002 08:11:11 -0500 Received: from dyndns12 (mcns169.docsis204.scvmaxonline.com.sg [202.156.204.169]) by northgate.starhub.net.sg (8.12.1/8.12.1) with ESMTP id g2TD5Hpl017342 for ; Fri, 29 Mar 2002 21:05:17 +0800 (SST) From: Richard Chan To: gnome-print@ximian.com Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 (1.0.1-2) Date: 29 Mar 2002 21:08:15 +0800 Message-Id: <1017407481.19926.13.camel@caesar> Mime-Version: 1.0 Subject: [gnome-print] Font subsetting, incremental downloading et al in 0.35 Hi, I'm trying to understand the fontsubsetting architecture in 0.35. 1. In order to support incremental downloading of fonts, say for large CID or TTF fonts, does gnome-print have the concept of 1. "a list of all the glyphs from Font ABCD used on page N" 2. In the ps target, can one (a) Write the basic font directory (b) Add charstrings/ttf glyphs on the fly Something like gff_pso_create_font( ...from ttf,otf,pfb or whatever) %%Page N save gff_so_add_glyphs(...from a vector of glyphs) restore %%Page N+1 gff_pso_add_glyphs(...) The idea is something along the lines of what Adobe calls "incremental font downloading" in its documentation. I suppose this is similar to fontsubsetting, but the glyphs are not all added at once but on a "just-in-time" basis. Thanks. Richard Chan From gnome-print-admin@trna.ximian.com Wed Mar 6 04:04:00 2002 Received: from ra.obsidian.co.za (vesuvius.obsidian.co.za [196.14.48.194]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2693qW32428 for ; Wed, 6 Mar 2002 04:03:53 -0500 Received: from obsidianlabs.com (IDENT:elv@rinax.dev.obsidian.co.za [192.168.4.113]) by ra.obsidian.co.za (8.9.3/8.9.3) with ESMTP id LAA30936 for ; Wed, 6 Mar 2002 11:03:32 +0200 Sender: elv@obsidian.co.za Message-ID: <3C85D91F.49E53F1@obsidianlabs.com> Date: Wed, 06 Mar 2002 10:53:51 +0200 From: Elardus Viljoen X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.12 i686) X-Accept-Language: en MIME-Version: 1.0 To: Gnome Print References: <3C7C8F2F.C9D19902@obsidianlabs.com> <1014808091.15000.47.camel@localhost.localdomain> <3C7DC914.38CA1014@obsidianlabs.com> <1015365823.14674.16.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gnome-print] Re: Unable to compile gnome-print-0.34 Lauris, > > libfreetype.so.6 (libc6) => /usr/lib/libfreetype.so.6 > > libfreetype.so (libc6) => /usr/lib/libfreetype.so > > libfreetype.so (libc6) => /usr/X11R6/lib/libfreetype.so > > Hmmm... it is probably installed by XFree, but bad things can > really happen, if different FT versions will be mixed. Although > I think the XFree one will be not linked to build normally (but > not sure...) /usr/X11R6/lib/libfreetype.so is linked to /usr/lib/libfreetype.so > > > freetype-config --cflags > > > > /usr/bin/freetype-config: line 104: syntax error: unexpected end of > > file > > freetype-config? You can do that, although I am not expert > neither in freetype nor shell/perl stuff. > You can also check, whether you have different freetype-configs > lying around (maybe from prev install). > Also, what does it do without arguments? I got it fixed - excerpt from freetype-config script, line 81: if test "$echo_cflags" = "yes" ; then cflags="-I${prefix}/include/freetype2" if test "${prefix}/include" != "/usr/include" ; then echo -I${prefix}/include $cflags else echo $cflags fi A 'fi' is missing at the inner if segment... Thank you for your feedback and help! -- Regards. Elardus elardus@obsidianlabs.com From gnome-print-admin@trna.ximian.com Tue Mar 5 14:24:17 2002 Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g25JOFW25136 for ; Tue, 5 Mar 2002 14:24:15 -0500 Received: (cpmta 8295 invoked from network); 5 Mar 2002 11:23:57 -0800 Received: from 65.187.97.149 (HELO dsl-65-187-97-149.telocity.com) by smtp.directvinternet.com (209.228.33.206) with SMTP; 5 Mar 2002 11:23:57 -0800 X-Sent: 5 Mar 2002 19:23:57 GMT Subject: Re: [gnome-print] How to create GnomeCanvasBpath? From: Cody Russell To: kevinmay@public.xm.fj.cn Cc: gnome-print@ximian.com In-Reply-To: <007301c1c423$858ffc70$918842da@asshole> References: <007301c1c423$858ffc70$918842da@asshole> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 (1.0.2-1) Date: 05 Mar 2002 14:17:54 -0500 Message-Id: <1015355875.23190.4.camel@grue.zork.org> Mime-Version: 1.0 You need to create a GnomeCanvasPathDef first, and pass that as the "bpath" argument to create your GnomeCanvasItem. Do something like this: GnomecanvasGroup *group = your_canvas_group (); GnomeCanvasItem *item = NULL; GnomeCanvasPathDef *def = NULL; ArtBpath *bpath = your_bpath_here (); def = gnome_canvas_path_def_new_from_bpath (bpath); item = gnome_canvas_item_new (group, gnome_canvas_bpath_get_type (), "bpath", def, "fill_color_rgba", 0x00ff, /* Whatever */ NULL); On Tue, 2002-03-05 at 03:55, kevinmay@public.xm.fj.cn wrote: > How to create and draw a bezier curve using GnomeCanvasBpath on a GnomeCanvas widget? > > how to new a ArtBpath and fill it? > > please give sample code if possible, thanks! -- Cody Russell, bratsche@gnome.org http://www.gnome.org/~bratsche/ From gnome-print-admin@trna.ximian.com Wed Mar 20 21:24:53 2002 Received: from blackhole.acheson.org (dsl081-195-127.nyc2.dsl.speakeasy.net [64.81.195.127]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g2L2Or819276 for ; Wed, 20 Mar 2002 21:24:53 -0500 Received: (qmail 5569 invoked by uid 500); 21 Mar 2002 02:28:15 -0000 From: oacheson@acheson.org Date: Wed, 20 Mar 2002 21:28:15 -0500 To: gnome-print@ximian.com Message-ID: <20020320212815.Q4562@blackhole.speakeasy.net> Reply-To: Ollie Acheson Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="sBcizk6cgRZY6rnJ" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Sender: oacheson@acheson.org Subject: [gnome-print] Problems making gnome-print-0.35 --sBcizk6cgRZY6rnJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I successfully ran ./configure, but make gave the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/gnome-xml -DPROFILEDIR=3D\"/usr/local/share/gnome-print/profiles/\" -DGNOMEPRINT_LIBDIR=3D\"/usr/local/lib\" -I/usr/lib/glib/include -I/usr/X11R6/include -DGNOMELOCALEDIR=3D\"/usr/local/share/locale\" -DBINDIR=3D\"/usr/local/bin\" -DDATADIR=3D\"/usr/local/share\" -DFONTMAPDIR_STATIC=3D\"/usr/local/share/gnome/fonts\" -DFONTMAPDIR_DYNAMIC=3D\"/usr/local/etc/gnome/fonts\" -g -O2 -Wall -Wunused= -c gnome-print-ps2.c -fPIC -DPIC -o .libs/gnome-print-ps2.lo In file included from gnome-print-ps2.c:51: =2E./libgnomeprint/gnome-font-private.h:50: parse error before FT_Face' =2E./libgnomeprint/gnome-font-private.h:50: warning: no semicolon at end of struct or union make[2]: *** [gnome-print-ps2.lo] Error 1 make[2]: Leaving directory /usr/src/gnome-print-0.35/libgnomeprint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/src/gnome-print-0.35' make: *** [all-recursive-am] Error 2 Any suggestions for getting past this? Thanks, Ollie --=20 |---------------------------| | Ollie Acheson | | Morristown, NJ | |---------------------------| --sBcizk6cgRZY6rnJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8mUU+V54kDgAxtM0RAkz8AKDYS/4ZY1qSwiO23zPpC9h2fBh1mwCeMpQi 5j4/wqXefnidgekF1RC75lE= =eoPl -----END PGP SIGNATURE----- --sBcizk6cgRZY6rnJ-- From gnome-print-admin@trna.ximian.com Thu Mar 21 15:12:23 2002 Received: from ann-arbor.fmfts.com (IDENT:root@fmfts.com [64.9.213.97]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2LKCK826981; Thu, 21 Mar 2002 15:12:21 -0500 Received: from ann-arbor.fmfts.com (jgotts@localhost) by ann-arbor.fmfts.com (8.11.6/8.11.6) with ESMTP id g2LKAa721329; Thu, 21 Mar 2002 15:10:36 -0500 Message-Id: <200203212010.g2LKAa721329@ann-arbor.fmfts.com> To: gnome-print@ximian.com cc: lauris@ximian.com From: jgotts@linuxsavvy.com Reply-To: jgotts@linuxsavvy.com Date: Thu, 21 Mar 2002 15:10:36 -0500 Sender: jgotts@ann-arbor.fmfts.com Subject: [gnome-print] Bug in preview I don't know if anyone's noticed this but subsequent pages seem to lose the font in the preview. We're generating a 2+ page report that displays correctly on our PostScript printers and in ggv and gv but gnome-print's preview function reverts to some kind of default font starting on page 2. I can attempt to boil this down to a test case upon request, but here's the skeleton of what we're doing: font = gnome_font_new("Helvetica", 8.0); gnome_print_beginpage (pc, ""); gnome_print_setfont (pc, font); gnome_print_moveto(pc, x, y); gnome_print_show (pc, "This is in 8 point Helvetica."); gnome_print_showpage (pc); gnome_print_beginpage (pc, ""); gnome_print_moveto(pc, x, y); gnome_print_show (pc, "This is in 8 point Helvetica in the generated PostScript but not in the preview window."); John -- John GOTTS http://linuxsavvy.com/staff/jgotts From gnome-print-admin@trna.ximian.com Mon Mar 18 23:34:47 2002 Received: from ann-arbor.fmfts.com (IDENT:root@fmfts.com [64.9.213.97]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2J4Yl822321; Mon, 18 Mar 2002 23:34:47 -0500 Received: from ann-arbor.fmfts.com (jgotts@localhost) by ann-arbor.fmfts.com (8.11.6/8.11.6) with ESMTP id g2J4X9s11859; Mon, 18 Mar 2002 23:33:09 -0500 Message-Id: <200203190433.g2J4X9s11859@ann-arbor.fmfts.com> To: lauris@ximian.com cc: gnome-print@ximian.com From: jgotts@linuxsavvy.com Reply-To: jgotts@linuxsavvy.com Date: Mon, 18 Mar 2002 23:33:09 -0500 Sender: jgotts@ann-arbor.fmfts.com Subject: [gnome-print] Redefining the default output filename We'd like to be able to redefine the default output filename at runtime based upon what is being printed. The user would still be able to override this default value, of course. I've studied the source code for a while and this doesn't appear to be possible. Any hints? John -- John GOTTS http://linuxsavvy.com/staff/jgotts From gnome-print-admin@trna.ximian.com Sat Mar 30 06:36:18 2002 Received: from mail133.pi.net.pl (beton.pi.net.pl [195.116.221.97]) by trna.ximian.com (8.11.6/8.11.6) with SMTP id g2UBaH012623 for ; Sat, 30 Mar 2002 06:36:17 -0500 Received: (qmail 29215 invoked from network); 30 Mar 2002 11:28:40 -0000 Received: from pa75.siedlce.cvx.ppp.tpnet.pl (@213.77.210.75) by 195.205.153.133 with SMTP; 30 Mar 2002 11:28:40 -0000 From: Rafal Hajdacki To: Gnome-print@ximian.com Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1017495250.1423.26.camel@grzyb> Mime-Version: 1.0 X-Mailer: Evolution/1.0.2 Date: 30 Mar 2002 14:34:45 +0100 Subject: [gnome-print] PPD files Are there any plans for using PPD files in gnome-print so I could select many options like paper size, resolutino etc. in print dialog? Just like in Gimp or StarOffice. Or maybe this is already available in gnome-print for Gnome 2.0? I'm not subscribed to this list so please cc answer to me. Hajdi. From gnome-print-admin@trna.ximian.com Tue Mar 26 10:01:16 2002 Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2QF1F029978 for ; Tue, 26 Mar 2002 10:01:16 -0500 Received: from imp3-1.free.fr (imp3-1.free.fr [213.228.0.28]) by postfix2-1.free.fr (Postfix) with ESMTP id A4FC51BF for ; Tue, 26 Mar 2002 16:00:50 +0100 (CET) Received: by imp3-1.free.fr (Postfix, from userid 33) id 96717FDAF; Tue, 26 Mar 2002 16:00:50 +0100 (MET) To: gnome-print miling list Message-ID: <1017154850.3ca08d2258451@imp3-1.free.fr> Date: Tue, 26 Mar 2002 16:00:50 +0100 (MET) From: Christian Marillat MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.42 X-Originating-IP: 80.14.157.126 Subject: [gnome-print] Access off beginning of array causes FPE on Alpha Hi, Two patchs follows from a Debian user. Christian From: Doug Larrick Subject: Bug#139618: libgnomeprint15: Access off beginning of array causes FPE on Alpha To: Debian Bug Tracking System Date: Sat, 23 Mar 2002 12:29:40 -0500 Reply-To: Doug Larrick , 139618@bugs.debian.org Resent-From: Doug Larrick X-Mailer: reportbug 1.48 Package: libgnomeprint15 Version: 0.35-3 Severity: normal Tags: patch The following brief patch fixes a problem where gfft2_move_to() is reading an item at index -1 of an array. On other platforms, this behavior probably goes unnoticed, but on Alpha it leads to a floating point exception crash because the location often does not contain a valid floating point number. This bug causes the print preview function to crash on Alpha. --- gnome-font-face.c~ Fri Jan 11 22:52:59 2002 +++ gnome-font-face.c Sat Mar 23 12:00:24 2002 @@ -724,7 +724,7 @@ p.x = to->x * od->t[0] + to->y * od->t[2]; p.y = to->x * od->t[1] + to->y * od->t[3]; - if ((p.x != s->x3) || (p.y != s->y3)) { + if (od->end == 0 || (p.x != s->x3) || (p.y != s->y3)) { od->bp[od->end].code = ART_MOVETO; od->bp[od->end].x3 = to->x * od->t[0] + to->y * od->t[2]; od->bp[od->end].y3 = to->x * od->t[1] + to->y * od->t[3]; Similar to my prior patch, this misbehaviour is also accessing uninitialized memory. This time fields are unused in a particular instance of a struct (since p->code is ART_END, the coordinates in p->x3 and p->y3 have never been assigned). This bug caused a crash when trying to actually print from Balsa (or presumably, other gnome-print-using programs). --- gp-path.c~ Thu Oct 4 16:04:11 2001 +++ gp-path.c Sat Mar 23 13:08:08 2002 @@ -460,7 +460,8 @@ } } - if ((!closed) && ((start->x3 != p->x3) || (start->y3 != p->y3))) { + if ((!closed) && (p->code == ART_END || + (start->x3 != p->x3) || (start->y3 != p->y3))) { d->code = ART_LINETO; d->x3 = start->x3; d->y3 = start->y3; From gnome-print-admin@trna.ximian.com Fri Mar 29 15:53:26 2002 Received: from imo-m05.mx.aol.com (imo-m05.mx.aol.com [64.12.136.8]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2TKrQ021730 for ; Fri, 29 Mar 2002 15:53:26 -0500 Received: from talus46@netscape.net by imo-m05.mx.aol.com (mail_out_v32.5.) id z.2c.36956dc (16226) for ; Fri, 29 Mar 2002 15:52:42 -0500 (EST) Received: from netscape.net (adsl-b3-72-114.telepac.pt [213.13.72.114]) by air-in02.mx.aol.com (v84.14) with ESMTP id MAILININ22-0329155242; Fri, 29 Mar 2002 15:52:42 -0500 Message-ID: <3CA4D3E5.3010803@netscape.net> Date: Fri, 29 Mar 2002 20:51:49 +0000 From: Talus User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: gnome-print@ximian.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Subject: [gnome-print] compiling error Hi i was trying to compile the gnomeprint-0.35 but a get a error msg when i run the ./configure script can someone give me a tip? the error msg is: _______________________________________________________________ checking for gnome-config... (cached) /usr/bin/gnome-config Unknown library `xml' checking for xmlNewDoc in -lxml... Unknown library `xml' no configure: error: Could not link sample xml program _______________________________________________________________ the xml library is installed thanx my best regards to all From gnome-print-admin@trna.ximian.com Sat Mar 23 12:35:55 2002 Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2NHZt807158 for ; Sat, 23 Mar 2002 12:35:55 -0500 Received: from mel-rta2.wanadoo.fr (193.252.19.152) by mel-rto3.wanadoo.fr; 23 Mar 2002 18:35:25 +0100 Received: from falcon.wanadoo.fr (80.14.157.126) by mel-rta2.wanadoo.fr; 23 Mar 2002 18:35:12 +0100 Received: from marillat by falcon.wanadoo.fr with local (Exim 3.35 #1 (Debian)) id 16opQe-0004iM-00 for ; Sat, 23 Mar 2002 18:35:44 +0100 To: gnome-print@ximian.com From: Christian Marillat Mail-Followup-To: gnome-print@ximian.com Reply-To: gnome-print@ximian.com Date: 23 Mar 2002 18:35:44 +0100 Message-ID: <877ko3tcen.fsf@falcon.wanadoo.fr> Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Christian Marillat Subject: [gnome-print] Access off beginning of array causes FPE on Alpha Hi, The following brief patch fixes a problem where gfft2_move_to() is reading an item at index -1 of an array. On other platforms, this behavior probably goes unnoticed, but on Alpha it leads to a floating point exception crash because the location often does not contain a valid floating point number. This bug causes the print preview function to crash on Alpha. --- gnome-font-face.c~ Fri Jan 11 22:52:59 2002 +++ gnome-font-face.c Sat Mar 23 12:00:24 2002 @@ -724,7 +724,7 @@ p.x = to->x * od->t[0] + to->y * od->t[2]; p.y = to->x * od->t[1] + to->y * od->t[3]; - if ((p.x != s->x3) || (p.y != s->y3)) { + if (od->end == 0 || (p.x != s->x3) || (p.y != s->y3)) { od->bp[od->end].code = ART_MOVETO; od->bp[od->end].x3 = to->x * od->t[0] + to->y * od->t[2]; od->bp[od->end].y3 = to->x * od->t[1] + to->y * od->t[3]; From gnome-print-admin@trna.ximian.com Tue Mar 26 09:18:11 2002 Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by trna.ximian.com (8.11.6/8.11.6) with ESMTP id g2QEIB026653 for ; Tue, 26 Mar 2002 09:18:11 -0500 Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto4.wanadoo.fr; 26 Mar 2002 15:17:40 +0100 Received: from falcon.wanadoo.fr (80.14.157.126) by mel-rta8.wanadoo.fr; 26 Mar 2002 15:17:27 +0100 Received: from marillat by falcon.wanadoo.fr with local (Exim 3.35 #1 (Debian)) id 16prlh-0006Tu-00 for ; Tue, 26 Mar 2002 15:17:45 +0100 To: gnome-print@ximian.com From: Christian Marillat Mail-Followup-To: gnome-print@ximian.com Reply-To: gnome-print@ximian.com Date: 26 Mar 2002 15:17:45 +0100 Message-ID: <87u1r3v2eu.fsf@falcon.wanadoo.fr> Lines: 59 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Christian Marillat Subject: [gnome-print] Access off beginning of array causes FPE on Alpha Hi, Two patchs follows from a Debian user. Christian From: Doug Larrick Subject: Bug#139618: libgnomeprint15: Access off beginning of array causes FPE on Alpha To: Debian Bug Tracking System Date: Sat, 23 Mar 2002 12:29:40 -0500 Reply-To: Doug Larrick , 139618@bugs.debian.org Resent-From: Doug Larrick X-Mailer: reportbug 1.48 Package: libgnomeprint15 Version: 0.35-3 Severity: normal Tags: patch The following brief patch fixes a problem where gfft2_move_to() is reading an item at index -1 of an array. On other platforms, this behavior probably goes unnoticed, but on Alpha it leads to a floating point exception crash because the location often does not contain a valid floating point number. This bug causes the print preview function to crash on Alpha. --- gnome-font-face.c~ Fri Jan 11 22:52:59 2002 +++ gnome-font-face.c Sat Mar 23 12:00:24 2002 @@ -724,7 +724,7 @@ p.x = to->x * od->t[0] + to->y * od->t[2]; p.y = to->x * od->t[1] + to->y * od->t[3]; - if ((p.x != s->x3) || (p.y != s->y3)) { + if (od->end == 0 || (p.x != s->x3) || (p.y != s->y3)) { od->bp[od->end].code = ART_MOVETO; od->bp[od->end].x3 = to->x * od->t[0] + to->y * od->t[2]; od->bp[od->end].y3 = to->x * od->t[1] + to->y * od->t[3]; Similar to my prior patch, this misbehaviour is also accessing uninitialized memory. This time fields are unused in a particular instance of a struct (since p->code is ART_END, the coordinates in p->x3 and p->y3 have never been assigned). This bug caused a crash when trying to actually print from Balsa (or presumably, other gnome-print-using programs). --- gp-path.c~ Thu Oct 4 16:04:11 2001 +++ gp-path.c Sat Mar 23 13:08:08 2002 @@ -460,7 +460,8 @@ } } - if ((!closed) && ((start->x3 != p->x3) || (start->y3 != p->y3))) { + if ((!closed) && (p->code == ART_END || + (start->x3 != p->x3) || (start->y3 != p->y3))) { d->code = ART_LINETO; d->x3 = start->x3; d->y3 = start->y3;