Pdf/Resource/Font/CidFont/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
- Fonts
- Version
- $Id$
\Zend_Pdf_Resource_Font_CidFont_TrueType
Package: Zend_Pdf\Fonts
Type 2 CIDFonts implementation
For Type 2, the CIDFont program is actually a TrueType font program, which has
no native notion of CIDs. In a TrueType font program, glyph descriptions are
identified by glyph index values. Glyph indices are internal to the font and are not
defined consistently from one font to another. Instead, a TrueType font program
contains a 'cmap' table that provides mappings directly from character codes to
glyph indices for one or more predefined encodings.
- Parent(s)
- \Zend_Pdf_Resource_Font_CidFont < \Zend_Pdf_Resource_Font < \Zend_Pdf_Resource
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
__construct(\Zend_Pdf_FileParser_Font_OpenType_TrueType $fontParser, integer $embeddingOptions) : void
Object constructor
Parameters
Throws
Details
Name | Type | Description |
---|---|---|
$fontParser | \Zend_Pdf_FileParser_Font_OpenType_TrueType | Font parser object containing parsed TrueType file. |
$embeddingOptions | integer | Options for font embedding. |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
- Todo
- Joing this class with Zend_Pdf_Resource_Font_Simple_Parsed_TrueType