NAME

SWF::Scripter::Plugin::font - Load a TTF font.

CALLING

In your script call this with the path to a .TTF font file.

For example:

# Load the font
font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

# draw white text at 40,40
text 40,40,255,255,255, "Steve Kemp"

AUTHOR

Steve Kemp

http://www.steve.org.uk/

LICENSE

Copyright (c) 2010 by Steve Kemp. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.