File indexing completed on 2025-01-19 05:21:23
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Pdf 0017 * @subpackage Fonts 0018 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0019 * @license http://framework.zend.com/license/new-bsd New BSD License 0020 * @version $Id$ 0021 */ 0022 0023 0024 /** Internally used classes */ 0025 // require_once 'Zend/Pdf/Element/Name.php'; 0026 0027 0028 /** Zend_Pdf_Resource_Font_Simple */ 0029 // require_once 'Zend/Pdf/Resource/Font/Simple.php'; 0030 0031 /** 0032 * Abstract class definition for the standard 14 Type 1 PDF fonts. 0033 * 0034 * The standard 14 PDF fonts are guaranteed to be availble in any PDF viewer 0035 * implementation. As such, they do not require much data for the font's 0036 * resource dictionary. The majority of the data provided by subclasses is for 0037 * the benefit of our own layout code. 0038 * 0039 * The standard fonts and the corresponding subclasses that manage them: 0040 * <ul> 0041 * <li>Courier - {@link Zend_Pdf_Resource_Font_Simple_Standard_Courier} 0042 * <li>Courier-Bold - {@link Zend_Pdf_Resource_Font_Simple_Standard_CourierBold} 0043 * <li>Courier-Oblique - {@link Zend_Pdf_Resource_Font_Simple_Standard_CourierOblique} 0044 * <li>Courier-BoldOblique - {@link Zend_Pdf_Resource_Font_Simple_Standard_CourierBoldOblique} 0045 * <li>Helvetica - {@link Zend_Pdf_Resource_Font_Simple_Standard_Helvetica} 0046 * <li>Helvetica-Bold - {@link Zend_Pdf_Resource_Font_Simple_Standard_HelveticaBold} 0047 * <li>Helvetica-Oblique - {@link Zend_Pdf_Resource_Font_Simple_Standard_HelveticaOblique} 0048 * <li>Helvetica-BoldOblique - {@link Zend_Pdf_Resource_Font_Simple_Standard_HelveticaBoldOblique} 0049 * <li>Symbol - {@link Zend_Pdf_Resource_Font_Simple_Standard_Symbol} 0050 * <li>Times - {@link Zend_Pdf_Resource_Font_Simple_Standard_Times} 0051 * <li>Times-Bold - {@link Zend_Pdf_Resource_Font_Simple_Standard_TimesBold} 0052 * <li>Times-Italic - {@link Zend_Pdf_Resource_Font_Simple_Standard_TimesItalic} 0053 * <li>Times-BoldItalic - {@link Zend_Pdf_Resource_Font_Simple_Standard_TimesBoldItalic} 0054 * <li>ZapfDingbats - {@link Zend_Pdf_Resource_Font_Simple_Standard_ZapfDingbats} 0055 * </ul> 0056 * 0057 * Font objects should be normally be obtained from the factory methods 0058 * {@link Zend_Pdf_Font::fontWithName} and {@link Zend_Pdf_Font::fontWithPath}. 0059 * 0060 * @package Zend_Pdf 0061 * @subpackage Fonts 0062 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0063 * @license http://framework.zend.com/license/new-bsd New BSD License 0064 */ 0065 abstract class Zend_Pdf_Resource_Font_Simple_Standard extends Zend_Pdf_Resource_Font_Simple 0066 { 0067 /**** Public Interface ****/ 0068 0069 0070 /* Object Lifecycle */ 0071 0072 /** 0073 * Object constructor 0074 */ 0075 public function __construct() 0076 { 0077 $this->_fontType = Zend_Pdf_Font::TYPE_STANDARD; 0078 0079 parent::__construct(); 0080 $this->_resource->Subtype = new Zend_Pdf_Element_Name('Type1'); 0081 } 0082 }