Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::FontInfo

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.03   Source  

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 ^

syntax highlighting: