Index » PageStream Support » Linux » Math operations in requestors
Sign in to add a comment. Pages: 1
2003-12-25 12:25:48 CT #1
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

When manipulating the coordinates for drawn objects no math is performed.
E.g., 0.125/2 results in 0.125, as does 0.125-1/16 or 0.125-0.0625

An angled line displays a selection box when selected rather than the
endpoints. This makes it confusing when having a series of paths that are
being selected: normally you select them in order and the end points of the
selection are visible but none of the internal end points of individual
paths.

Lengths and coordinates are often off by 0.001 inches. For instance, in the
drawing mentioned above (created in PgS Amiga, loaded in PgS Linux)
everything was in round sixteenths of an inch (most things were in round
eighths). Loaded in PgS Linux everything is offset: instead of being 3.5in it
will be 3.499in or 3.501in. These seem to accumulate, e.g., 3.497in. This is
even with working on a lock-grid set to sixteenths. Obviously even if they
are close the lines do not align perfectly.

The border I created (using PgS Amiga in UAE) works there, but not in PgS
Linux. I copied it over and started PgS and it appears in the list, but
nothing is displayed when it is selected.

Tim Doty

2003-12-25 14:35:40 CT #2
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639


>When manipulating the coordinates for drawn objects no math is performed.
>E.g., 0.125/2 results in 0.125, as does 0.125-1/16 or 0.125-0.0625

Ooops. It was disabled early for testing.

>An angled line displays a selection box when selected rather than the
>endpoints.

Are you drawing this with the line tool or the path tool? Only lines are
marked by endpoints. If you make a simple case path, it still just has a
bounding box.

>This makes it confusing when having a series of paths that are
>being selected: normally you select them in order and the end points of the
>selection are visible but none of the internal end points of individual
>paths.

Are you talking about the reshape tool maybe?

>Lengths and coordinates are often off by 0.001 inches. For instance, in the
>drawing mentioned above (created in PgS Amiga, loaded in PgS Linux)
>everything was in round sixteenths of an inch (most things were in round
>eighths). Loaded in PgS Linux everything is offset: instead of being 3.5in it
>will be 3.499in or 3.501in. These seem to accumulate, e.g., 3.497in. This is
>even with working on a lock-grid set to sixteenths. Obviously even if they
>are close the lines do not align perfectly.

Sounds like your printf has wacked rounding. Linux seems to have a lot of
printf varients. I think I'm going to roll a copy into PageStream to forgo
these problems...

>The border I created (using PgS Amiga in UAE) works there, but not in PgS
>Linux. I copied it over and started PgS and it appears in the list, but
>nothing is displayed when it is selected.

Are other borders working for you?

>Tim Doty


Deron Kazmaier - support@grasshopperllc.com
Grasshopper LLC Publishing -http://www.grasshopperllc.com
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


[Non-text portions of this message have been removed]


2003-12-25 17:31:47 CT #3
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

On Thursday 25 December 2003 14:35, PageStream Support wrote:
> >When manipulating the coordinates for drawn objects no math is performed.
> >E.g., 0.125/2 results in 0.125, as does 0.125-1/16 or 0.125-0.0625
>
> Ooops. It was disabled early for testing.

Okay, then I trust it will be in the next version?
>
> >An angled line displays a selection box when selected rather than the
> >endpoints.
>
> Are you drawing this with the line tool or the path tool? Only lines are
> marked by endpoints. If you make a simple case path, it still just has a
> bounding box.

This was evidenced, for example, on line segments drawn in PgS Amiga in which
I saw the expected behavior and then loading the document in PgS Linux saw
the "box". In other words the same object in the Amiga version is shown as
just having endpoints.

Maybe I'm just not observing correctly, but in PgS Linux it appears to me that
*all* line segments are boxes and the box can be drug out by clicking and
dragging on the middle selection box. (I hope that makes sense...)
>
> >This makes it confusing when having a series of paths that are
> >being selected: normally you select them in order and the end points of
> > the selection are visible but none of the internal end points of
> > individual paths.
>
> Are you talking about the reshape tool maybe?

No, though what I ended up doing was using the free-hand tool. A limitation
with it is that you cannot convert points/segments between curve and
straight. And I can't find any way to actually connect two separately drawn
segments as a single segment (that is, I want to make it such that there is a
visible segment between each consecutive point).
>
> >Lengths and coordinates are often off by 0.001 inches. For instance, in
> > the drawing mentioned above (created in PgS Amiga, loaded in PgS Linux)
> > everything was in round sixteenths of an inch (most things were in round
> > eighths). Loaded in PgS Linux everything is offset: instead of being
> > 3.5in it will be 3.499in or 3.501in. These seem to accumulate, e.g.,
> > 3.497in. This is even with working on a lock-grid set to sixteenths.
> > Obviously even if they are close the lines do not align perfectly.
>
> Sounds like your printf has wacked rounding. Linux seems to have a lot of
> printf varients. I think I'm going to roll a copy into PageStream to forgo
> these problems...

Ouch. I noticed in the amiga version I was actually able to get properly
>
> >The border I created (using PgS Amiga in UAE) works there, but not in PgS
> >Linux. I copied it over and started PgS and it appears in the list, but
> >nothing is displayed when it is selected.
>
> Are other borders working for you?

Yes, just not that one. I drew a border which defaulted to the first in the
list. I then selected the one I had created and the border went away.
However, it seems to have been a fluke. Incidentally I now have the border
completed. I ended up doing the work in PgS Linux and then importing into the
Amiga version, cleaning up the coordinates and creating the border. For some
reason I was getting system crashes in UAE -- too many undos or something.

Tim Doty

2003-12-25 18:52:40 CT #4
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639


> > >An angled line displays a selection box when selected rather than the
> > >endpoints.
> >
> > Are you drawing this with the line tool or the path tool? Only lines are
> > marked by endpoints. If you make a simple case path, it still just has a
> > bounding box.
>
>This was evidenced, for example, on line segments drawn in PgS Amiga in which
>I saw the expected behavior and then loading the document in PgS Linux saw
>the "box". In other words the same object in the Amiga version is shown as
>just having endpoints.
>
>Maybe I'm just not observing correctly, but in PgS Linux it appears to me
>that
>*all* line segments are boxes and the box can be drug out by clicking and
>dragging on the middle selection box. (I hope that makes sense...)

OK, I haven't tried it so it may be an actual bug (though the code is the
exact same I don't understand why it would be different from Amiga/Windows...)

A line drawn with the line tool will show control points only on the ends.
A "line" drawn with the pen tool will still show just the 8 bounding box
sizing squares.

> > >This makes it confusing when having a series of paths that are
> > >being selected: normally you select them in order and the end points of
> > > the selection are visible but none of the internal end points of
> > > individual paths.
> >
> > Are you talking about the reshape tool maybe?
>
>No, though what I ended up doing was using the free-hand tool. A limitation
>with it is that you cannot convert points/segments between curve and
>straight. And I can't find any way to actually connect two separately drawn
>segments as a single segment (that is, I want to make it such that there is a
>visible segment between each consecutive point).

Well, the easiest is to draw them as a continuous path with the pen tool.

http://www.grasshopperllc.com/help/PGSuser/creating.html#anchor891602

You can only join points that are within a single path (join paths). So
draw your lines, select them, choose join paths, then go back and connect
them. Of course, using the pen tool to begin with is a bit easier. The
freehand tool is not well suited for drawing mechanical shapes (straight
lines, square corners).

You _can_ convert curves to lines to curves.

http://www.grasshopperllc.com/help/PGSuser/reshaping.html#paths

Deron Kazmaier - support@grasshopperllc.com
Grasshopper LLC Publishing -http://www.grasshopperllc.com
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


[Non-text portions of this message have been removed]


2003-12-25 21:55:20 CT #5
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

On Thursday 25 December 2003 18:52, PageStream Support wrote:
[snip]
> Well, the easiest is to draw them as a continuous path with the pen tool.

Can you tell its been a while done drawings in PgS? My memory is good for 30
seconds, 30 days at a stretch ;^)
>
>http://www.grasshopperllc.com/help/PGSuser/creating.html#anchor891602
>
>
You can only join points that are within a single path (join paths). So
> draw your lines, select them, choose join paths, then go back and connect
> them. Of course, using the pen tool to begin with is a bit easier. The
> freehand tool is not well suited for drawing mechanical shapes (straight
> lines, square corners).
>
> You _can_ convert curves to lines to curves.
>
>http://www.grasshopperllc.com/help/PGSuser/reshaping.html#paths

And now I feel a right idiot. Thanks! ;^)

Tim Doty

Sign in to add a comment. Pages: 1
Index » PageStream Support » Linux » Math operations in requestors

This topic is closed due to inactivity.