The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RTF::Tokenizer::FontTable - Retrieve Fonttable info from an RTF file

DESCRIPTION

Represents RTF font tables as a data structure

SYNOPSIS

  use RTF::Tokenizer;
  use RTF::Tokenizer::FontTable;

  # Create the initial object
  my $rtf = RTF::Tokenizer->new($data);

  # Grab the font table info
  my %font_hash = %{RTF::Tokenizer::FontTable::get_table($rtf)};

METHODS

get_table ( RTF::Tokenizer object )

Returns a hash reference to the data structure containing font information. This will be like {'1' => {} }, where the values inside the nested hash are likely to be one of: family, pitch, charset, fbias, cpg, embedded_encoding, panose, embedded_font_data, embedded_font_file, untagged, face. Most of these are explained in the RTF spec.

AUTHOR

Peter Sergeant <pete@clueball.com>

COPYRIGHT

Copyright 2002 Peter Sergeant.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.