Re v 17915 fails VPATH build - patch
Rev 17915 fails VPATH build, because the build instructions for the Java binding assume that srcdir = builddir. Here is a patch (just 1 line changed).
Index: Makefile_insert =================================================================== --- Makefile_insert (revision 17915) +++ Makefile_insert (working copy) @@ -6,7 +6,7 @@ rm -f bind/libbind.a rm -f $(bind_libbind_a_OBJECTS)
-bind_libbind_a_CPPFLAGS = -Ibind/javainc -Ibind/javainc/linux $(AM_CPPFLAGS) +bind_libbind_a_CPPFLAGS = -I$(srcdir)/bind/javainc -I$(srcdir)/bind/javainc/linux $(AM_CPPFLAGS)
bind_libbind_a_SOURCES = \ bind/javabind.h \
Regards, Krzysztof Kosiński
Hi...
Was wondering if there was a quick answer.
I am printing to a python application using the post script output of inkscape. If I draw a square in a new inkscape session and print that out, the plotter makes to traces of the square. However, if I load an SVG file (made from an autotrace session) of a complex shape (not that the shape should make any difference) the plotter will only trace out the shape once.
Any quick explanation?
...thanks
[Bump'ed, word-smith'ed & re-Subject'ed earlier post...]
Hi...
When I make a box in Inkscape and send that off to a plotter it traces it out twice (2 times).
When I create a shape using Autotrace, load it into Inkscape and send that off to a plotter it traces it out once (1 time).
Why?
stuart wrote:
[Bump'ed, word-smith'ed & re-Subject'ed earlier post...]
Hi...
When I make a box in Inkscape and send that off to a plotter it traces it out twice (2 times).
When I create a shape using Autotrace, load it into Inkscape and send that off to a plotter it traces it out once (1 time).
Why?
I don't think we could even guess without the files. How do you send it to the plotter?
Aaron Spike
Aaron Spike wrote:
stuart wrote:
[Bump'ed, word-smith'ed & re-Subject'ed earlier post...]
Hi...
When I make a box in Inkscape and send that off to a plotter it traces it out twice (2 times).
When I create a shape using Autotrace, load it into Inkscape and send that off to a plotter it traces it out once (1 time).
Why?
I don't think we could even guess without the files. How do you send it to the plotter?
Aaron Spike
I use the "Print using PostScript operators" from the Inkscape Print Destination popup and pipe it to a modified Python script (ah - you're probably saying :-)) and send it off to a Graphtec plotter / cutter (a Wishblade - the cheapest Graphtec plotter money can buy).
(Going from Inkscape directly to the Wishblade is really slick BTW.)
But before you dig into that modified Python script, I've attached the postscript output of Inkscape w/a "txt" extension to help avoid confusion (I wanted you to look at it, not print out a postscript file). In it, I think you will see instructions to plot out the square twice!
...thinks that make you go hummmm.
%!PS-Adobe-3.0 %%Creator: inkscape 0.45.1 %%Pages: 1 %%Orientation: Portrait %%BoundingBox: 0 0 596 842 %%HiResBoundingBox: 0 0 596 842 %%DocumentMedia: plain 596 842 0 () () %%EndComments %%Page: 1 1 0 842 translate 0.8 -0.8 scale 0 0 0 setrgbcolor [] 0 setdash 1 setlinewidth 0 setlinejoin 0 setlinecap gsave [1 0 0 1 0 0] concat gsave 0 0 0 setrgbcolor newpath 91.428574 918.07648 moveto 277.14285 918.07648 lineto 277.14285 963.79076 lineto 91.428574 963.79076 lineto 91.428574 918.07648 lineto closepath fill grestore 0 0 0 setrgbcolor [] 0 setdash 1 setlinewidth 0 setlinejoin 0 setlinecap newpath 91.428574 918.07648 moveto 277.14285 918.07648 lineto 277.14285 963.79076 lineto 91.428574 963.79076 lineto 91.428574 918.07648 lineto closepath stroke grestore showpage %%EOF
As a guess its plotting a stroke, then plotting a fill. Is the rectangle filled in inkscape? If so try turning it off and trying again.
On Tue, Mar 18, 2008 at 10:37 AM, stuart <stuart@...1754...> wrote:
Aaron Spike wrote:
stuart wrote:
[Bump'ed, word-smith'ed & re-Subject'ed earlier post...]
Hi...
When I make a box in Inkscape and send that off to a plotter it traces it out twice (2 times).
When I create a shape using Autotrace, load it into Inkscape and send that off to a plotter it traces it out once (1 time).
Why?
I don't think we could even guess without the files. How do you send it to the plotter?
Aaron Spike
I use the "Print using PostScript operators" from the Inkscape Print Destination popup and pipe it to a modified Python script (ah - you're probably saying :-)) and send it off to a Graphtec plotter / cutter (a Wishblade - the cheapest Graphtec plotter money can buy).
(Going from Inkscape directly to the Wishblade is really slick BTW.)
But before you dig into that modified Python script, I've attached the postscript output of Inkscape w/a "txt" extension to help avoid confusion (I wanted you to look at it, not print out a postscript file). In it, I think you will see instructions to plot out the square twice!
...thinks that make you go hummmm.
%!PS-Adobe-3.0 %%Creator: inkscape 0.45.1 %%Pages: 1 %%Orientation: Portrait %%BoundingBox: 0 0 596 842 %%HiResBoundingBox: 0 0 596 842 %%DocumentMedia: plain 596 842 0 () () %%EndComments %%Page: 1 1 0 842 translate 0.8 -0.8 scale 0 0 0 setrgbcolor [] 0 setdash 1 setlinewidth 0 setlinejoin 0 setlinecap gsave [1 0 0 1 0 0] concat gsave 0 0 0 setrgbcolor newpath 91.428574 918.07648 moveto 277.14285 918.07648 lineto 277.14285 963.79076 lineto 91.428574 963.79076 lineto 91.428574 918.07648 lineto closepath fill grestore 0 0 0 setrgbcolor [] 0 setdash 1 setlinewidth 0 setlinejoin 0 setlinecap newpath 91.428574 918.07648 moveto 277.14285 918.07648 lineto 277.14285 963.79076 lineto 91.428574 963.79076 lineto 91.428574 918.07648 lineto closepath stroke grestore showpage %%EOF
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
john cliff wrote:
Aaron Spike wrote: > stuart wrote: >> >> [Bump'ed, word-smith'ed & re-Subject'ed earlier post...] >> >> Hi... >> >> When I make a box in Inkscape and send that off to a plotter it traces >> it out twice (2 times). >> >> When I create a shape using Autotrace, load it into Inkscape and send >> that off to a plotter it traces it out once (1 time). >> >> Why? > > I don't think we could even guess without the files. How do you send it > to the plotter? > > Aaron Spike I use the "Print using PostScript operators" from the Inkscape Print Destination popup and pipe it to a modified Python script (ah - you're probably saying :-)) and send it off to a Graphtec plotter / cutter (a Wishblade - the cheapest Graphtec plotter money can buy). (Going from Inkscape directly to the Wishblade is really slick BTW.) But before you dig into that modified Python script, I've attached the postscript output of Inkscape w/a "txt" extension to help avoid confusion (I wanted you to look at it, not print out a postscript file). In it, I think you will see instructions to plot out the square twice! ...thinks that make you go hummmm. %!PS-Adobe-3.0 %%Creator: inkscape 0.45.1 %%Pages: 1 %%Orientation: Portrait %%BoundingBox: 0 0 596 842 %%HiResBoundingBox: 0 0 596 842 %%DocumentMedia: plain 596 842 0 () () %%EndComments %%Page: 1 1 0 842 translate 0.8 -0.8 scale 0 0 0 setrgbcolor [] 0 setdash 1 setlinewidth 0 setlinejoin 0 setlinecap gsave [1 0 0 1 0 0] concat gsave 0 0 0 setrgbcolor newpath 91.428574 918.07648 moveto 277.14285 918.07648 lineto 277.14285 963.79076 lineto 91.428574 963.79076 lineto 91.428574 918.07648 lineto closepath fill grestore 0 0 0 setrgbcolor [] 0 setdash 1 setlinewidth 0 setlinejoin 0 setlinecap newpath 91.428574 918.07648 moveto 277.14285 918.07648 lineto 277.14285 963.79076 lineto 91.428574 963.79076 lineto 91.428574 918.07648 lineto closepath stroke grestore showpage %%EOF
As a guess its plotting a stroke, then plotting a fill. Is the rectangle filled in inkscape? If so try turning it off and trying again.
That fixed it, thanks - but then - why does the Autotrace image get cut only once (1 times) even though it appears as a solid black image in Inkscape?
stuart wrote:
That fixed it, thanks - but then - why does the Autotrace image get cut only once (1 times) even though it appears as a solid black image in Inkscape?
Autotraced images have fill, but stroke is set to none, which also results in a single output path in the postscript file.
Aaron Spike
john cliff wrote:
As a guess its plotting a stroke, then plotting a fill. Is the rectangle filled in inkscape? If so try turning it off and trying again.
The ps file seems to indicate that the fill is being plotted first and then the stroke. :-P But John is exactly right, setting Fill to None should fix the problem.
Aaron Spike
participants (5)
-
Aaron Spike
-
john cliff
-
Krzysztof Kosiński
-
Michael Wybrow
-
stuart