Pdf/FileParser/Font/OpenType/TrueType.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- FileParser
- Version
- $Id$
\Zend_Pdf_FileParser_Font_OpenType_TrueType
Package: Zend_Pdf\FileParser
Parses an OpenType font file containing TrueType outlines.
TrueType was originally developed by Apple and was adopted as the default
font format for the Microsoft Windows platform. OpenType is an extension of
TrueType, developed jointly by Microsoft and Adobe, which adds support for
PostScript font data.
This abstract parser class forms the foundation for concrete subclasses which
extract either TrueType or PostScript font data from the file.
All OpenType files use big-endian byte ordering.
The full TrueType and OpenType specifications can be found at:
- {@link http://developer.apple.com/textfonts/TTRefMan/}
- {@link http://www.microsoft.com/typography/OTSPEC/}
- {@link http://partners.adobe.com/public/developer/opentype/index_spec.html}
- Parent(s)
- \Zend_Pdf_FileParser_Font_OpenType < \Zend_Pdf_FileParser_Font < \Zend_Pdf_FileParser
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
parse() : void
Reads and parses the TrueType font data from the file on disk.
Throws
Exception | Description |
---|---|
\Zend_Pdf_Exception |
screen() : void
Verifies that the font file actually contains TrueType outlines.
Throws
Exception | Description |
---|---|
\Zend_Pdf_Exception |