NAME
Font::FNT - Load, manipulate and save Windows raster fonts
SYNOPSIS
use Font::FNT();
my $fnt = Font::FNT->load('test.fnt');
$fnt->save_yaml('test.yml');
# scite test.yml
$fnt = Font::FNT->load_yaml('test.yml');
$fnt->save_pbm('test.pbm');
$fnt->save('test.fnt');
DESCRIPTION
This module provides basic load, manipulate and save functionality for Windows 3.00 raster fonts (.FNT files).
Methods
- load( $filename )
-
Loads a .FNT file. This is a constructor method and returns an Font::FNT instance.
- save_yaml( $filename )
-
Saves a Font::FNT instance into a notepadable format (YAML). You can use your prefered text editor to manipulate that serialized Font::FNT instance.
- load_yaml( $filename )
-
Loads a YAML file (which should contain a serialized Font::FNT instance). This is a constructor method and returns an Font::FNT instance.
- save_pbm( $filename )
-
Saves a Font::FNT instance as portable bitmap (pbm) file. Yo can use this for preview purposes.
- save( $filename )
-
Saves a Font::FNT instance as .FNT file.
AUTHOR
Steffen Goeldner <sgoeldner@cpan.org>
COPYRIGHT
Copyright (c) 2004 Steffen Goeldner. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl, YAML, Image::Pbm.