API Documentation

Pdf/Resource/Font/Simple/Standard/ZapfDingbats.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
subpackage
Fonts
version
$Id: ZapfDingbats.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Resource_Font_Simple_Standard_ZapfDingbats

Description

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.

Zend_Pdf_Resource_Font_Simple_Standard_ZapfDingbats

Extends from
Zend_Pdf_Resource_Font_Simple_Standard
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
subpackage
Fonts
Properties
$_toFontEncoding
$_fromFontEncoding
Methods
__construct
encodeString
decodeString
toUnicode

Description

Implementation for the standard PDF font ZapfDingbats.

This class was generated automatically using the font information and metric data contained in the Adobe Font Metric (AFM) files, available here: {@link http://partners.adobe.com/public/developer/en/pdf/Core14_AFMs.zip}

The PHP script used to generate this class can be found in the /tools directory of the framework distribution. If you need to make modifications to this class, chances are the same modifications are needed for the rest of the standard fonts. You should modify the script and regenerate the classes instead of changing this class file by hand.

Properties

$_fromFontEncoding

array $_fromFontEncoding = 'array'

Array for conversion from special font encoding to local encoding.

See {@link decodeString()}.

Details

$_fromFontEncoding
array
visibility
protected
default
array
final
false
static
false

$_toFontEncoding

array $_toFontEncoding = 'array'

Array for conversion from local encoding to special font encoding.

See {@link encodeString()}.

Details

$_toFontEncoding
array
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( ) :

Object constructor

Details
visibility
public
final
false
static
false

decodeString

decodeString( string $string, string $charEncoding ) : string

Convert string encoding from font encoding to local encoding. Overridden to defeat the conversion behavior for this ornamental font.

Arguments
$string
string
$charEncoding
string
Character encoding of resulting text.
Output
string
Details
visibility
public
final
false
static
false

encodeString

encodeString( string $string, string $charEncoding ) : string

Convert string encoding from local encoding to font encoding. Overridden to defeat the conversion behavior for this ornamental font.

Arguments
$string
string
$charEncoding
string
Character encoding of source text.
Output
string
Details
visibility
public
final
false
static
false

toUnicode

toUnicode( string $string, string $charEncoding ) : string

Converts a Latin-encoded string that fakes the font's internal encoding to the proper Unicode characters, in UTF-16BE encoding.

Used to maintain backwards compatibility with the 20 year-old legacy method of using this font, which is still employed by recent versions of some popular word processors.

Note that using this method adds overhead due to the additional character conversion. Don't use this for new code; it is more efficient to use the appropriate Unicode characters directly.

Arguments
$string
string
$charEncoding
string
(optional) Character encoding of source string. Defaults to current locale.
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.