The font metrics class
This class provides information about fonts and text. It can resolve font names into actual installed font files, as well as determine the size of text in a particular font and size.
Located in /include/font_metrics.cls.php (line 63)
Array of font family names to font files
Usually cached by the load_font.php script
Underlying Cpdf object to perform text size calculations
Resolves a font family & subtype into an actual font file
Subtype can be one of 'normal', 'bold', 'italic' or 'bold_italic'. If the particular font family has no suitable font file, the default font (DOMPDF_DEFAULT_FONT) is used. The font file returned is the absolute pathname to the font file on the system.
Returns the current font lookup table
Calculates font height
Calculates text size, in points
Class initialization
Loads the stored font family cache
Saves the stored font family cache
The name and location of the cache file are determined by Font_Metrics::CACHE_FILE. This file should be writable by the webserver process.
Documentation generated on Fri, 04 Mar 2005 13:31:18 -0700 by phpDocumentor 1.3.0RC3