Thanks for the suggestion Erik, I've done a bit of research into these classes and they are very interesting but it seems I am still left with the same problem of figuring out how each character would appear when written as this information isn't in the font data.

I'm not sure there is a logical answer to my problem that can be coded, even if the characters' pixels fill out from a certain point the application would still need to know which way the stroke should go on letters with repeating strokes and loops like d's. I guess this one would have to be animated by hand for each of the individual characters of a certain font and then drawn dynamically, triggering each letter to be drawn sequentially and maybe also somehow returning a reference for the pen nib.

Cheers
Ali




On 10 Feb 2008, at 11:13, EECOLOR wrote:

Whow, tough task...

If I were given that assignment I would check out this application:

http://www.sephiroth.it/file_detail.php?id=159#

It allows you to read font information. This font information allows you to draw the font using information available in the font file itself. If I am correct the application draws the font using an included graphics library.

If you end up using this for your application I would recommend you to
consider to donate something using the paypal button on that page.


Greetz Erik


On 2/10/08, ali drongo <[EMAIL PROTECTED]> wrote:

Hiya, I am wanting to create an effect where text will appear on the
screen
as if it is being written by a pen. I am going to set about writing a
class
to achieve this and wanted to get the group's thoughts on if I am going
about this the right way.
My idea is that I could create all of my text in textfield then convert
the
textfield somehow into a BitmapData object, then I could use the
BitmapData
class to scan through the image starting at the top left and figure out which pixels are coloured by the text and then I duplicate the BitmapData object and colour the pixels gradually. My class would need to know which angle the text should be appearing (writing) in. The font I use would have
to use 'joined up' writing also obv.

Does anyone think this would work or is there a simple way to achieve what
I
am looking to do?

Thanks,
Ali


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to