Abstract Class Zend_Pdf_Resource_Font_OpenType

Description

OpenType fonts implementation

OpenType fonts can contain either TrueType or PostScript Type 1 outlines. The code in this class is common to both types. However, you will only deal directly with subclasses.

Font objects should be normally be obtained from the factory methods Zend_Pdf_Font::fontWithName and Zend_Pdf_Font::fontWithPath.

  • abstract:
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Pdf/Resource/Font/OpenType.php (line 40)

Zend_Pdf_Resource
   |
   --Zend_Pdf_Resource_Font
      |
      --Zend_Pdf_Resource_Font_OpenType
Direct descendents
Class Description
 class Zend_Pdf_Resource_Font_OpenType_TrueType TrueType fonts implementation
Method Summary
 Zend_Pdf_Resource_Font_OpenType __construct (Zend_Pdf_FileParser_Font_OpenType $fontParser, integer $embeddingOptions)
Variables
Methods
Constructor __construct (line 65)

Object constructor

The $embeddingOptions parameter allows you to set certain flags related to font embedding. You may combine options by OR-ing them together. See the EMBED_ constants defined in Zend_Pdf_Font for the list of available options and their descriptions.

Note that it is not requried that fonts be embedded within the PDF file to use them. If the recipient of the PDF has the font installed on their computer, they will see the correct fonts in the document. If they don't, the PDF viewer will substitute or synthesize a replacement.

  • access: public
  • throws: Zend_Pdf_Exception
Zend_Pdf_Resource_Font_OpenType __construct (Zend_Pdf_FileParser_Font_OpenType $fontParser, integer $embeddingOptions)

Redefinition of:
Zend_Pdf_Resource_Font::__construct()
Object constructor.

Redefined in descendants as:

Inherited Methods

Inherited From Zend_Pdf_Resource_Font

 Zend_Pdf_Resource_Font::__construct()
 Zend_Pdf_Resource_Font::decodeString()
 Zend_Pdf_Resource_Font::encodeString()
 Zend_Pdf_Resource_Font::getAscent()
 Zend_Pdf_Resource_Font::getCoveredPercentage()
 Zend_Pdf_Resource_Font::getDescent()
 Zend_Pdf_Resource_Font::getFontName()
 Zend_Pdf_Resource_Font::getFontType()
 Zend_Pdf_Resource_Font::getLineGap()
 Zend_Pdf_Resource_Font::getLineHeight()
 Zend_Pdf_Resource_Font::getStrikePosition()
 Zend_Pdf_Resource_Font::getStrikeThickness()
 Zend_Pdf_Resource_Font::getUnderlinePosition()
 Zend_Pdf_Resource_Font::getUnderlineThickness()
 Zend_Pdf_Resource_Font::getUnitsPerEm()
 Zend_Pdf_Resource_Font::widthForGlyph()
 Zend_Pdf_Resource_Font::widthsForGlyphs()
 Zend_Pdf_Resource_Font::_isEmbeddingOptionSet()
 Zend_Pdf_Resource_Font::_toEmSpace()
 Zend_Pdf_Resource_Font::__toString()

Inherited From Zend_Pdf_Resource

 Zend_Pdf_Resource::__construct()
 Zend_Pdf_Resource::getResource()

Documentation generated on Wed, 21 Feb 2007 11:56:00 -0800 by phpDocumentor 1.3.1