Abstract helper class for Zend_Pdf_Font that parses font files.
Defines the public interface for concrete subclasses which are responsible for parsing the raw binary data from the font file on disk. Also provides a debug logging interface and a couple of shared utility methods.
Located in /Zend/Pdf/FileParser/Font.php (line 40)
Zend_Pdf_FileParser | --Zend_Pdf_FileParser_Font
Class | Description |
---|---|
![]() |
Abstract base class for OpenType font file parsers. |
Inherited from Zend_Pdf_FileParser
Zend_Pdf_FileParser::$_dataSource
Zend_Pdf_FileParser::$_isParsed
Zend_Pdf_FileParser::$_isScreened
Object constructor.
Validates the data source and enables debug logging if so configured.
Reads the Mac Roman-encoded string from the binary file at the current offset location. Overridden to fix return character set at UTF-16BE.
Reads the Pascal string from the binary file at the current offset location. Overridden to fix return character set at UTF-16BE.
Reads the Unicode UTF-16-encoded string from the binary file at the current offset location. Overridden to fix return character set at UTF-16BE.
Writes the entire font properties array to STDOUT. Used only for debugging.
If debug logging is enabled, writes the log message.
The log message is a sprintf() style string and any number of arguments may accompany it as additional parameters.
Get handler
Set handler
NOTE: This method is protected. Other classes may freely interrogate the font properties, but only this and its subclasses may set them.
Inherited From Zend_Pdf_FileParser
Zend_Pdf_FileParser::__construct()
Zend_Pdf_FileParser::getDataSource()
Zend_Pdf_FileParser::isBitSet()
Zend_Pdf_FileParser::isParsed()
Zend_Pdf_FileParser::isScreened()
Zend_Pdf_FileParser::moveToOffset()
Zend_Pdf_FileParser::parse()
Zend_Pdf_FileParser::readBytes()
Zend_Pdf_FileParser::readFixed()
Zend_Pdf_FileParser::readInt()
Zend_Pdf_FileParser::readStringMacRoman()
Zend_Pdf_FileParser::readStringPascal()
Zend_Pdf_FileParser::readStringUTF16()
Zend_Pdf_FileParser::readUInt()
Zend_Pdf_FileParser::screen()
Zend_Pdf_FileParser::skipBytes()
Zend_Pdf_FileParser::__destruct()
Inherited from Zend_Pdf_FileParser
Zend_Pdf_FileParser::BYTE_ORDER_BIG_ENDIAN
Zend_Pdf_FileParser::BYTE_ORDER_LITTLE_ENDIAN
Documentation generated on Wed, 21 Feb 2007 11:48:47 -0800 by phpDocumentor 1.3.1