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.
Located in /Zend/Pdf/Resource/Font/OpenType.php (line 40)
Zend_Pdf_Resource | --Zend_Pdf_Resource_Font | --Zend_Pdf_Resource_Font_OpenType
Class | Description |
---|---|
![]() |
TrueType fonts implementation |
Inherited from Zend_Pdf_Resource_Font
Zend_Pdf_Resource_Font::$cmap
Zend_Pdf_Resource_Font::$_ascent
Zend_Pdf_Resource_Font::$_descent
Zend_Pdf_Resource_Font::$_fontNames
Zend_Pdf_Resource_Font::$_fontType
Zend_Pdf_Resource_Font::$_glyphMaxIndex
Zend_Pdf_Resource_Font::$_glyphWidths
Zend_Pdf_Resource_Font::$_isBold
Zend_Pdf_Resource_Font::$_isItalic
Zend_Pdf_Resource_Font::$_isMonospace
Zend_Pdf_Resource_Font::$_lineGap
Zend_Pdf_Resource_Font::$_strikePosition
Zend_Pdf_Resource_Font::$_strikeThickness
Zend_Pdf_Resource_Font::$_underlinePosition
Zend_Pdf_Resource_Font::$_underlineThickness
Zend_Pdf_Resource_Font::$_unitsPerEm
Inherited from Zend_Pdf_Resource
Zend_Pdf_Resource::$_objectFactory
Zend_Pdf_Resource::$_resource
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.
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 Thu, 18 Jan 2007 09:57:19 -0800 by phpDocumentor 1.3.1