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

NAME

WE_Frontend::FontInfo - font information per browser/OS/font

SYNOPSIS

DESCRIPTION

FONTINFO STRUCTURE

The fontinfo structure is a hash with the following elements:

firstchar

The first character in the widths and heights arrays (usually 32 = space).

lastchar

The last character (usually 255).

widths

An array reference of the character widths from firstchar to lastchar.

heights

An array reference of the character heights.

Use the HTML/Javascript application html/fontsizer.html to create this structure for specific fonts on specific browsers on specific operation systems.

FUNCTIONS

combine_fontinfo($fontinfo, ...)

Combine the supplied fontinfos to one fontinfo that uses the largest character widths and heights. Note: for now, the fontinfo widths and heights arrays must have the same length.

AUTHOR

Slaven Rezic - slaven@rezic.de

SEE ALSO