PROGRAMMING ISSUES: symbol x, y coordinates in sign, ranges

Steve Slevinski slevin at SIGNPUDDLE.NET
Mon Jun 27 18:50:16 UTC 2005


Hi Tomáš,

SignPuddle uses graphic files and something I call the build format.

Here is the graphic and build string for ASL_2 in the ASL dictionary.

01-05-001-01-01-03,40,45,01-05-001-01-01-11,10,40,02-01-002-01-01-01,9,63,02-10-005-01-06-15,31,21,08-01-003-01-01-01,9,-2,01-01-001-01-02-02,113,16,01-01-001-01-02-10,90,26,01-09-015-01-03-01,197,23,01-09-015-01-03-09,169,23,02-10-007-01-01-05,120,52,02-10-007-01-05-09,94,62,08-02-001-01-01-05,113,84,02-06-001-02-01-06,208,58,02-06-001-02-02-14,155,58,08-02-001-01-01-05,189,82,02-01-001-01-01-02,31,74,08-01-001-01-01-05,37,13,


The build format is a repeating string of symbol id, x coordinate, y 
coordinate. 

As far as I can tell, for the next 10 years at least, the current raster 
images of the IMWA will be the standard.  The x, y coordinates should be 
expressed in numbers that relate to the current raster images.

When IMWA compatible SVG is possible, it should be possible to render a 
build string with minimal processing.  The X, Y coordinates only need to 
change according to scale.

I don't know the correct range for X, Y values.  SignPuddle uses 1 to 
250.  I imagine the numbers could be very large in some situations, up 
in the thousands.

My thoughts,
-Steve

Tomáš Klapka wrote:

> Hi,
>
> I am interested what is your opinion about x and y coordinates of the 
> symbol in a sign.
>
> This information has to be saved with symbols to specify how to render 
> the sign.
>
> Now there is raster data (PNG) used in SignPuddle and there was raster 
> data used in SignWriter DOS.
> It was static and there was no problem to specify coordinates, because 
> it is in pixels or any other static measure.
>
> But we all feel need of vector data (SVG, OpenType) to have nice 
> rendering in high zooms.
>
> There we cannot say that a symbol has for example x = 10 pixels and y 
> = 30 pixels.
> If you zoom it, those coordinates has to be changed. So there must be 
> relative coordinates.
>
> What range of x and y coordinates should be used?
>
> IMHO -127 to 127 could be enough.
>
> What do you think?
>
> Tomas
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/sw-l/attachments/20050627/bbcd3e16/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-3.jpg
Type: image/jpeg
Size: 5469 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/sw-l/attachments/20050627/bbcd3e16/attachment.jpg>


More information about the Sw-l mailing list