Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    PostScript::Font 1.10

    Download button

    No screenshots available
    Downloads: 455  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Johan Vromans, Squirrel Consultancy | More programs
    Perl Artistic License / FREE
    October 26th, 2007, 12:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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.

    CONSTRUCTOR

    new ( FILENAME [ , OPTIONS ] )

    The constructor will read the file and parse its contents.

    OPTIONS

    error => [ 'die' | 'warn' | 'ignore' ]

    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 => [ 'ascii' | 'pfa' | 'binary' | 'pfb' ]

    The format in which the font data is stored. Default is 'ascii', suitable to be downloaded to a PostScript printer.

    verbose => value

    Prints verbose info if value is true.

    trace => value

    Prints tracing info if value is true.

    debug => value

    Prints debugging info if value is true. Implies 'trace' and 'verbose'.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    PostScript fonts | fetch data | Perl module | PostScript | fonts | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM