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
andheights
arrays (usually 32 = space). - lastchar
-
The last character (usually 255).
- widths
-
An array reference of the character widths from
firstchar
tolastchar
. - 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