Is there still a possibility of simply clipping a sign for use, for example, in a card, or a dictionary, without going through this assembler?  If one wants to pick particular signs, arrange them in a specific order and not go through this particular publisher, how does one do it.
 
Does the mail function still work?
 
Charles

 


From: Steve Slevinski <[log in to unmask]>
To: [log in to unmask]
Sent: Wed, May 12, 2010 10:07:32 AM
Subject: Re: SignWriting Image Server for web servers, Windows, and Mac

Hi Adam,

The column.php script produces an image.  The columns.php script is an example HTML page.  The iframe may be your best option, but here are 2 additional options.

First, the column.php script takes an optional "col" attribute.  By default, "col" is equal to 1, the first column.  If you knew how many columns were in the sign text, you could duplicate the image code with the same BSW code and only need to modify the "col" attribute.  For example, if a sign text had 3 columns, you could use 3 images, all with the same BSW, but add "&col=2" for the second column and "&col=3" for the third.

Another option is to code in PHP.  Open the "columns.php" script and take a look.  It's not very long.  The 2 most important lines are...

$st = new SignText($bsw,$size,$height);
$cols = $st->getCols();

The $cols variable is a simple array of BSW.  This automatically splits the BSW up into segments for the "column.php" image script.  It does the same thing that you were doing by hand.

Regards,
-Steve