PostScript::Font

PostScript::Font is a Perl module to fetch data from PostScript fonts.
Download

PostScript::Font Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Johan Vromans, Squirrel Consultancy
  • Publisher web site:
  • http://search.cpan.org/~jv/PostScript-Font-1.10/lib/PostScript/Font.pm

PostScript::Font Tags


PostScript::Font Description

PostScript::Font is a Perl module to fetch data from PostScript fonts. PostScript::Font is a Perl module to fetch data from PostScript fonts.SYNOPSIS my $info = new PostScript::Font (filename, options); print STDOUT ("Name = ", $info->FontName, "n");This package reads PostScript font files and stores the information in memory.Most font file formats that are in use are recognised, especially the Type 1 and Type 42 font formats. Other formats that usually parse okay are Type 5 and Type 3, although Type 3 can sometimes fail depending on how weird the font information is stored.The input font file can be encoded in ASCII (so-called .pfa format), or binary (so-called .pfb format).If you have Martin Hosken's Font::TTF package installed, PostScript::Font can also handle True Type fonts. They are converted internally to Type 42 format.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.format => The format in which the font data is stored. Default is 'ascii', suitable to be downloaded to a PostScript printer.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::Font Related Software