# copyPixel text printer

**URL:** <https://forum.kirupa.com/t/copypixel-text-printer/221559>\
**Category:** flash\
**Created:** [April 5, 2007, 7:37am UTC](https://forum.kirupa.com/t/copypixel-text-printer/221559 "2007-04-05T07:37:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musashi9](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@musashi9](https://forum.kirupa.com/u/musashi9)\
**Post date:** [April 5, 2007, 7:37am UTC](https://forum.kirupa.com/t/copypixel-text-printer/221559/1 "2007-04-05T07:37:00Z")

</div>

I was wondering if it would be possible to use copyPixel to create a simple text printer  
for example you have a font as an image like this

[http://www.mn001c7645.pwp.blueyonder.co.uk/knight6.gif](http://www.mn001c7645.pwp.blueyonder.co.uk/knight6.gif)  
then have some code that will transform your  
text =“hello world”  
into HELLO WORLD on your flash screen, but written in that font.

Because the font is spaced equally you could have the source x and y, times by 16pixels for each letter and move the Y source down 16 pixels when it reaches the right side of the image
