The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SDL::Font - a SDL perl extension

SYNOPSIS

  $font = new Font "Font.png";
  $font->use();

DESCRIPTION

        SDL::Font provides a mechanism for loading and using SFont style
fonts.  To create a new font, simply create a new instance of the class
Font, passing it the name of the image file that contains the SFont.

        To use the font, call the use method of the font instance as
shown above.  Perl will automagically deallocate all of the buffers.
You must create and use a font prior to printing on any surface.
For further details see the file SFont-README in this distribution.

AUTHOR

David J. Goehrig

SEE ALSO

perl(1) SDL::Surface(3)