PostScript::PrinterFontMetrics

PostScript::PrinterFontMetrics is a Perl module to fetch data from Printer Font Metrics files.
Download

PostScript::PrinterFontMetrics Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andrew Ford, Ford & Mason Ltd
  • Publisher web site:
  • http://search.cpan.org/~jv/PostScript-Font-1.10/lib/PostScript/PrinterFontMetrics.pm

PostScript::PrinterFontMetrics Tags


PostScript::PrinterFontMetrics Description

PostScript::PrinterFontMetrics is a Perl module to fetch data from Printer Font Metrics files. PostScript::PrinterFontMetrics is a Perl module to fetch data from Printer Font Metrics files.SYNOPSIS my $info = new PostScript::PrinterFontMetrics (filename, options); print STDOUT ("Name = ", $info->FontName, "n"); print STDOUT ("Width of LAV = ", $info->kstringwidth("LAV", 10), "n");This package allows printer font metric files for PostScript files (so called .pfm files) to be read and (partly) parsed. PFM files contain information that overlaps with that contained in AFM files and can be used with the font files to generate missing AFM files.CONSTRUCTORnew ( FILENAME )The constructor will read the file and parse its contents.OPTIONSerror => DEPRECATED. Please use 'eval { ... }' to intercept errors.How errors must be handled. Default is to call die(). In any case, new() returns a undefined result. Setting 'error' to 'ignore' may cause surprising results.verbose => valuePrints verbose info if value is true.trace => valuePrints tracing info if value is true.debug => valuePrints debugging info if value is true. Implies 'trace' and 'verbose'. Requirements: · Perl


PostScript::PrinterFontMetrics Related Software