Re: Don't understand PS <-> gnomeprint - More
- From: John Coppens <john jcoppens com>
- To: "Andreas J. Guelzow" <aguelzow taliesin ca>
- Cc: gnome-print-list gnome org
- Subject: Re: Don't understand PS <-> gnomeprint - More
- Date: Wed, 9 Jun 2004 01:04:46 -0300
On 08 Jun 2004 20:47:55 -0600
"Andreas J. Guelzow" <aguelzow taliesin ca> wrote:
> > --------------
> > q
> > q
> > [1.73566e-16 2.83465 -2.83465 1.73566e-16 139.735 454.252]cm
> > (GnomeUni-Fujiyama2Plain) cvn FF 12 F
> > 0.745 0.561 0 rg
> > 0 0 m
> > (\40\36\41)
> > [6.93457 0 3.46875 0 0 0] xyshow
> > Q
> > Q
> > q
> > q
> > [1.73566e-16 2.83465 -2.83465 1.73566e-16 174.094 454.252]cm
> > (GnomeUni-Fujiyama2Plain) cvn FF 2 F
> > 0.745 0.561 0 rg
> > 0 0 m
> > (\40\36\42)
> > [1.15576 0 0.578125 0 0 0] xyshow
> > Q
> > Q
> > ---------------
> >
> > Again, on actual print to paper, all sizes are good. I guess this to
> > be a gv problem - though only the screen part?
>
> Interesting postscript code. How did you generate it with gnomeprint?
> They both should print in approximately the same size, so the difference
> ought to be a gv problem.
>
> What happens when you send the postscript code directly to a postscript
> printer?
>
> Andreas
The code that generates this is a loop, repeating:
print_setrgbcolor(prt_last_font_color);
gnome_print_gsave(gpc);
gnome_print_translate(gpc, chrad * x, chrad * (y + 1));
gnome_print_rotate(gpc, angle * 180 / M_PI);
gnome_print_moveto(gpc, size/8, size/8);
gnome_print_show(gpc, str);
gnome_print_grestore(gpc);
The print_setrgbcolor converts an integer color to the three components
and calls gnome_print_setrgbcolor.
All fonts have the same size - for some reason only the first gets
generated with 12 F. The others are 2 F.
Not so good: when converting to PDF (using ps2pdf), the error gets into
the PDF too. If you would like to compare:
http://www.jcoppens.com/misc/tests/test_sm.pdf (after ps2pdf)
http://www.jcoppens.com/misc/tests/test_sm.ps.gz (complete PS)
http://www.jcoppens.com/misc/tests/test_sm.png (scanned print result)
I do not have a native postscript printer to test it.
Greetings,
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]