| Sgss_Font_Truetype_Parser | Parses TrueType font file |
|
$_cache
Cache file object to be built |
|
$_file
Path to the font file to be parsed |
|
$_level
Level identifier of log output |
|
$_reader
Reader for the font file stream |
|
$_size
Size of the font file stream in byte |
|
$_stream
Stream of the font file |
void |
debug (string $message)
Called when this parser logs information for debugging |
void |
error (string $message)
Called when this parser logs error information |
Sgss_File_Reader_Interface |
getBlockReader (int $offset, int $length)
Returns the reader for the specified range of the font file stream |
Sgss_Font_Cache |
getCache ()
Returns the cache file object currently assigned to this parser |
string |
getFile ()
Returns the path to the font file currently assigned to this parser |
Sgss_File_Reader_Interface |
getReader ()
Returns the reader for the font file stream currently assigned to this parser |
int |
getSize ()
Returns the size of the font file stream currently assigned to this parser |
string |
getStream ()
Returns the stream of the font file currently assigned to this parser |
void |
notice (string $message)
Called when this parser logs information for notice |
void |
setOutputLevel (int $level)
Sets the level of log output to the specified identifier |
void |
warning (string $message)
Called when this parser logs information for warning |
|
_init (string|Sgss_File $file, string|Sgss_File $cache, string|Sgss_File $font)
Initializes this parser |
Cache file object to be built
protected Sgss_Font_Cache $_cache
Path to the font file to be parsed
protected string $_file
Level identifier of log output
protected int $_level = Sgss_Font_Parser::OUTPUT_NONE
Reader for the font file stream
protected Sgss_File_Reader_Interface $_reader
Size of the font file stream in byte
protected int $_size
Stream of the font file
protected Sgss_File_Stream_Read $_stream
Called when this parser logs information for debugging
string $message
Message to be logged
public void debug (string $message)
Called when this parser logs error information
string $message
Message to be logged
Called when this parser logs error information
public void error (string $message)
Returns the reader for the specified range of the font file stream
int $offset
Offset of the range
int $length
Length of the range
Returns the reader for the specified range of this TrueType font file stream
public Sgss_File_Reader_Interface getBlockReader (int $offset, int $length)
Returns the cache file object currently assigned to this parser
public Sgss_Font_Cache getCache ()
Returns the path to the font file currently assigned to this parser
public string getFile ()
Returns the reader for the font file stream currently assigned to this parser
public Sgss_File_Reader_Interface getReader ()
Returns the size of the font file stream currently assigned to this parser
public int getSize ()
Returns the stream of the font file currently assigned to this parser
public string getStream ()
Called when this parser logs information for notice
string $message
Message to be logged
public void notice (string $message)
Sets the level of log output to the specified identifier
int $level
Level identifier of output
public void setOutputLevel (int $level)
Called when this parser logs information for warning
string $message
Message to be logged
Called when this parser logs information for warning
public void warning (string $message)
Initializes this parser
protected void _init (string|Sgss_File $file, string|Sgss_File $cache, string|Sgss_File $font)