Sgss_Font_Abstract
+ Sgss_Font_Format_Abstract
| Sgss_Font_Truetype | Represents a TrueType format font |
|
$_cache
Font cache aggregate of this font |
|
$_file
Path to the font file |
|
__construct (string|Sgss_File $file, string|Sgss_File|Sgss_Font_Cache $cache)
The constructor |
Sgss_Font_Composite_Interface |
composite (Sgss_Font_Format_Interface $font, [array|Sgss_Graphics_Transform|null $trans = null], [string|array|null $range = null])
Creates a composite font with another |
Sgss_Font_Cache |
getCache ()
Returns the font cache aggregate of this font |
string |
getFile ()
Returns the path to the font file |
Font cache aggregate of this font
protected Sgss_Font_Cache $_cache
Path to the font file
protected string $_file
The constructor
string|Sgss_File $file
Path to the font file
string|Sgss_File|Sgss_Font_Cache $cache
Path to the cache file
The constructor
public __construct (string|Sgss_File $file, string|Sgss_File|Sgss_Font_Cache $cache)
Creates a composite font with another
Resulting composite font contains this font as the parent. See also Sgss_Font_Composite_Rangemap_Abstract::add() for further instructions of the optional parameters.
Sgss_Font_Format_Interface $font
Child font
array|Sgss_Graphics_Transform|null $trans
Transformation matrix
string|array|null $range
Unicode range(s)
Creates a composite font with another
public Sgss_Font_Composite_Interface composite (Sgss_Font_Format_Interface $font, [array|Sgss_Graphics_Transform|null $trans = null], [string|array|null $range = null])
Returns the font cache aggregate of this font
Returns the font cache aggregate of this font
public Sgss_Font_Cache getCache ()
Returns the path to the font file
Returns the path to the font file
public string getFile ()