## Zend_Pdf_Resource_Font_Standard_Symbol

Description

Implementation for the standard PDF font Symbol.

This class was generated automatically using the font information and metric data contained in the Adobe Font Metric (AFM) files, available here: 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.

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

Located in /Zend/Pdf/Resource/Font/Standard/Symbol.php (line 43)

    Zend_Pdf_Resource
       |
       --Zend_Pdf_Resource_Font
          |
          --Zend_Pdf_Resource_Font_Standard
             |
             --Zend_Pdf_Resource_Font_Standard_Symbol

Variable Summary
array $_fromFontEncoding
array $_toFontEncoding
Method Summary
Zend_Pdf_Resource_Font_Standard_Symbol __construct ()
string decodeString (string $string, string $charEncoding)
string encodeString (string $string, string $charEncoding)
string toUnicode (string $string, [string $charEncoding = ''])
Variables
array $_fromFontEncoding = array(
0x20 => "\x00\x20", 0x21 => "\x00\x21", 0x22 => "\x22\x00",
0x23 => "\x00\x23", 0x24 => "\x22\x03", 0x25 => "\x00\x25",
0x26 => "\x00\x26", 0x27 => "\x22\x0b", 0x28 => "\x00\x28",
0x29 => "\x00\x29", 0x2a => "\x22\x17", 0x2b => "\x00\x2b",
0x2c => "\x00\x2c", 0x2d => "\x22\x12", 0x2e => "\x00\x2e",
0x2f => "\x00\x2f", 0x30 => "\x00\x30", 0x31 => "\x00\x31",
0x32 => "\x00\x32", 0x33 => "\x00\x33", 0x34 => "\x00\x34",
0x35 => "\x00\x35", 0x36 => "\x00\x36", 0x37 => "\x00\x37",
0x38 => "\x00\x38", 0x39 => "\x00\x39", 0x3a => "\x00\x3a",
0x3b => "\x00\x3b", 0x3c => "\x00\x3c", 0x3d => "\x00\x3d",
0x3e => "\x00\x3e", 0x3f => "\x00\x3f", 0x40 => "\x22\x45",
0x41 => "\x03\x91", 0x42 => "\x03\x92", 0x43 => "\x03\xa7",
0x44 => "\x22\x06", 0x45 => "\x03\x95", 0x46 => "\x03\xa6",
0x47 => "\x03\x93", 0x48 => "\x03\x97", 0x49 => "\x03\x99",
0x4a => "\x03\xd1", 0x4b => "\x03\x9a", 0x4c => "\x03\x9b",
0x4d => "\x03\x9c", 0x4e => "\x03\x9d", 0x4f => "\x03\x9f",
0x50 => "\x03\xa0", 0x51 => "\x03\x98", 0x52 => "\x03\xa1",
0x53 => "\x03\xa3", 0x54 => "\x03\xa4", 0x55 => "\x03\xa5",
0x56 => "\x03\xc2", 0x57 => "\x21\x26", 0x58 => "\x03\x9e",
0x59 => "\x03\xa8", 0x5a => "\x03\x96", 0x5b => "\x00\x5b",
0x5c => "\x22\x34", 0x5d => "\x00\x5d", 0x5e => "\x22\xa5",
0x5f => "\x00\x5f", 0x60 => "\xf8\xe5", 0x61 => "\x03\xb1",
0x62 => "\x03\xb2", 0x63 => "\x03\xc7", 0x64 => "\x03\xb4",
0x65 => "\x03\xb5", 0x66 => "\x03\xc6", 0x67 => "\x03\xb3",
0x68 => "\x03\xb7", 0x69 => "\x03\xb9", 0x6a => "\x03\xd5",
0x6b => "\x03\xba", 0x6c => "\x03\xbb", 0x6d => "\x00\xb5",
0x6e => "\x03\xbd", 0x6f => "\x03\xbf", 0x70 => "\x03\xc0",
0x71 => "\x03\xb8", 0x72 => "\x03\xc1", 0x73 => "\x03\xc3",
0x74 => "\x03\xc4", 0x75 => "\x03\xc5", 0x76 => "\x03\xd6",
0x77 => "\x03\xc9", 0x78 => "\x03\xbe", 0x79 => "\x03\xc8",
0x7a => "\x03\xb6", 0x7b => "\x00\x7b", 0x7c => "\x00\x7c",
0x7d => "\x00\x7d", 0x7e => "\x22\x3c", 0xa0 => "\x20\xac",
0xa1 => "\x03\xd2", 0xa2 => "\x20\x32", 0xa3 => "\x22\x64",
0xa4 => "\x20\x44", 0xa5 => "\x22\x1e", 0xa6 => "\x01\x92",
0xa7 => "\x26\x63", 0xa8 => "\x26\x66", 0xa9 => "\x26\x65",
0xaa => "\x26\x60", 0xab => "\x21\x94", 0xac => "\x21\x90",
0xad => "\x21\x91", 0xae => "\x21\x92", 0xaf => "\x21\x93",
0xb0 => "\x00\xb0", 0xb1 => "\x00\xb1", 0xb2 => "\x20\x33",
0xb3 => "\x22\x65", 0xb4 => "\x00\xd7", 0xb5 => "\x22\x1d",
0xb6 => "\x22\x02", 0xb7 => "\x20\x22", 0xb8 => "\x00\xf7",
0xb9 => "\x22\x60", 0xba => "\x22\x61", 0xbb => "\x22\x48",
0xbc => "\x20\x26", 0xbd => "\xf8\xe6", 0xbe => "\xf8\xe7",
0xbf => "\x21\xb5", 0xc0 => "\x21\x35", 0xc1 => "\x21\x11",
0xc2 => "\x21\x1c", 0xc3 => "\x21\x18", 0xc4 => "\x22\x97",
0xc5 => "\x22\x95", 0xc6 => "\x22\x05", 0xc7 => "\x22\x29",
0xc8 => "\x22\x2a", 0xc9 => "\x22\x83", 0xca => "\x22\x87",
0xcb => "\x22\x84", 0xcc => "\x22\x82", 0xcd => "\x22\x86",
0xce => "\x22\x08", 0xcf => "\x22\x09", 0xd0 => "\x22\x20",
0xd1 => "\x22\x07", 0xd2 => "\xf6\xda", 0xd3 => "\xf6\xd9",
0xd4 => "\xf6\xdb", 0xd5 => "\x22\x0f", 0xd6 => "\x22\x1a",
0xd7 => "\x22\xc5", 0xd8 => "\x00\xac", 0xd9 => "\x22\x27",
0xda => "\x22\x28", 0xdb => "\x21\xd4", 0xdc => "\x21\xd0",
0xdd => "\x21\xd1", 0xde => "\x21\xd2", 0xdf => "\x21\xd3",
0xe0 => "\x25\xca", 0xe1 => "\x23\x29", 0xe2 => "\xf8\xe8",
0xe3 => "\xf8\xe9", 0xe4 => "\xf8\xea", 0xe5 => "\x22\x11",
0xe6 => "\xf8\xeb", 0xe7 => "\xf8\xec", 0xe8 => "\xf8\xed",
0xe9 => "\xf8\xee", 0xea => "\xf8\xef", 0xeb => "\xf8\xf0",
0xec => "\xf8\xf1", 0xed => "\xf8\xf2", 0xee => "\xf8\xf3",
0xef => "\xf8\xf4", 0xf1 => "\x23\x2a", 0xf2 => "\x22\x2b",
0xf3 => "\x23\x20", 0xf4 => "\xf8\xf5", 0xf5 => "\x23\x21",
0xf6 => "\xf8\xf6", 0xf7 => "\xf8\xf7", 0xf8 => "\xf8\xf8",
0xf9 => "\xf8\xf9", 0xfa => "\xf8\xfa", 0xfb => "\xf8\xfb",
0xfc => "\xf8\xfc", 0xfd => "\xf8\xfd", 0xfe => "\xf8\xfe",
) (line 108)

Array for conversion from special font encoding to local encoding.

See decodeString().

- access: protected

array $_toFontEncoding = array(
0x20 => "\x20", 0x21 => "\x21", 0x2200 => "\x22", 0x23 => "\x23",
0x2203 => "\x24", 0x25 => "\x25", 0x26 => "\x26", 0x220b => "\x27",
0x28 => "\x28", 0x29 => "\x29", 0x2217 => "\x2a", 0x2b => "\x2b",
0x2c => "\x2c", 0x2212 => "\x2d", 0x2e => "\x2e", 0x2f => "\x2f",
0x30 => "\x30", 0x31 => "\x31", 0x32 => "\x32", 0x33 => "\x33",
0x34 => "\x34", 0x35 => "\x35", 0x36 => "\x36", 0x37 => "\x37",
0x38 => "\x38", 0x39 => "\x39", 0x3a => "\x3a", 0x3b => "\x3b",
0x3c => "\x3c", 0x3d => "\x3d", 0x3e => "\x3e", 0x3f => "\x3f",
0x2245 => "\x40", 0x0391 => "\x41", 0x0392 => "\x42", 0x03a7 => "\x43",
0x2206 => "\x44", 0x0395 => "\x45", 0x03a6 => "\x46", 0x0393 => "\x47",
0x0397 => "\x48", 0x0399 => "\x49", 0x03d1 => "\x4a", 0x039a => "\x4b",
0x039b => "\x4c", 0x039c => "\x4d", 0x039d => "\x4e", 0x039f => "\x4f",
0x03a0 => "\x50", 0x0398 => "\x51", 0x03a1 => "\x52", 0x03a3 => "\x53",
0x03a4 => "\x54", 0x03a5 => "\x55", 0x03c2 => "\x56", 0x2126 => "\x57",
0x039e => "\x58", 0x03a8 => "\x59", 0x0396 => "\x5a", 0x5b => "\x5b",
0x2234 => "\x5c", 0x5d => "\x5d", 0x22a5 => "\x5e", 0x5f => "\x5f",
0xf8e5 => "\x60", 0x03b1 => "\x61", 0x03b2 => "\x62", 0x03c7 => "\x63",
0x03b4 => "\x64", 0x03b5 => "\x65", 0x03c6 => "\x66", 0x03b3 => "\x67",
0x03b7 => "\x68", 0x03b9 => "\x69", 0x03d5 => "\x6a", 0x03ba => "\x6b",
0x03bb => "\x6c", 0xb5 => "\x6d", 0x03bd => "\x6e", 0x03bf => "\x6f",
0x03c0 => "\x70", 0x03b8 => "\x71", 0x03c1 => "\x72", 0x03c3 => "\x73",
0x03c4 => "\x74", 0x03c5 => "\x75", 0x03d6 => "\x76", 0x03c9 => "\x77",
0x03be => "\x78", 0x03c8 => "\x79", 0x03b6 => "\x7a", 0x7b => "\x7b",
0x7c => "\x7c", 0x7d => "\x7d", 0x223c => "\x7e", 0x20ac => "\xa0",
0x03d2 => "\xa1", 0x2032 => "\xa2", 0x2264 => "\xa3", 0x2044 => "\xa4",
0x221e => "\xa5", 0x0192 => "\xa6", 0x2663 => "\xa7", 0x2666 => "\xa8",
0x2665 => "\xa9", 0x2660 => "\xaa", 0x2194 => "\xab", 0x2190 => "\xac",
0x2191 => "\xad", 0x2192 => "\xae", 0x2193 => "\xaf", 0xb0 => "\xb0",
0xb1 => "\xb1", 0x2033 => "\xb2", 0x2265 => "\xb3", 0xd7 => "\xb4",
0x221d => "\xb5", 0x2202 => "\xb6", 0x2022 => "\xb7", 0xf7 => "\xb8",
0x2260 => "\xb9", 0x2261 => "\xba", 0x2248 => "\xbb", 0x2026 => "\xbc",
0xf8e6 => "\xbd", 0xf8e7 => "\xbe", 0x21b5 => "\xbf", 0x2135 => "\xc0",
0x2111 => "\xc1", 0x211c => "\xc2", 0x2118 => "\xc3", 0x2297 => "\xc4",
0x2295 => "\xc5", 0x2205 => "\xc6", 0x2229 => "\xc7", 0x222a => "\xc8",
0x2283 => "\xc9", 0x2287 => "\xca", 0x2284 => "\xcb", 0x2282 => "\xcc",
0x2286 => "\xcd", 0x2208 => "\xce", 0x2209 => "\xcf", 0x2220 => "\xd0",
0x2207 => "\xd1", 0xf6da => "\xd2", 0xf6d9 => "\xd3", 0xf6db => "\xd4",
0x220f => "\xd5", 0x221a => "\xd6", 0x22c5 => "\xd7", 0xac => "\xd8",
0x2227 => "\xd9", 0x2228 => "\xda", 0x21d4 => "\xdb", 0x21d0 => "\xdc",
0x21d1 => "\xdd", 0x21d2 => "\xde", 0x21d3 => "\xdf", 0x25ca => "\xe0",
0x2329 => "\xe1", 0xf8e8 => "\xe2", 0xf8e9 => "\xe3", 0xf8ea => "\xe4",
0x2211 => "\xe5", 0xf8eb => "\xe6", 0xf8ec => "\xe7", 0xf8ed => "\xe8",
0xf8ee => "\xe9", 0xf8ef => "\xea", 0xf8f0 => "\xeb", 0xf8f1 => "\xec",
0xf8f2 => "\xed", 0xf8f3 => "\xee", 0xf8f4 => "\xef", 0x232a => "\xf1",
0x222b => "\xf2", 0x2320 => "\xf3", 0xf8f5 => "\xf4", 0x2321 => "\xf5",
0xf8f6 => "\xf6", 0xf8f7 => "\xf7", 0xf8f8 => "\xf8", 0xf8f9 => "\xf9",
0xf8fa => "\xfa", 0xf8fb => "\xfb", 0xf8fc => "\xfc", 0xf8fd => "\xfd",
0xf8fe => "\xfe") (line 53)

Array for conversion from local encoding to special font encoding.

See encodeString().

- access: protected

#### Inherited Variables

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

Methods
Constructor __construct (line 184)

Object constructor

- access: public

Zend_Pdf_Resource_Font_Standard_Symbol __construct ()

Redefinition of:

Zend_Pdf_Resource_Font_Standard::__construct()
  Object constructor

decodeString (line 412)

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

- access: public

string decodeString (string $string, string $charEncoding)

- string $string
- string $charEncoding: Character encoding of resulting text.

Redefinition of:

Zend_Pdf_Resource_Font::decodeString()
  Convert string from Windows ANSI encoding to local encoding.

encodeString (line 375)

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

- access: public

string encodeString (string $string, string $charEncoding)

- string $string
- string $charEncoding: Character encoding of source text.

Redefinition of:

Zend_Pdf_Resource_Font::encodeString()
  Convert string from local encoding to Windows ANSI encoding.

toUnicode (line 450)

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.

- access: public

string toUnicode (string $string, [string $charEncoding = ''])

- string $string
- string $charEncoding: (optional) Character encoding of source string. Defaults to current locale.

#### Inherited Methods

Inherited From Zend_Pdf_Resource_Font_Standard

> Zend_Pdf_Resource_Font_Standard::__construct()

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 Tue, 11 Jul 2006 12:18:11 -0500 by phpDocumentor 1.3.0RC6