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.
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: {@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.
array $_fromFontEncoding = 'array'
Array for conversion from special font encoding to local encoding.
See {@link decodeString()}.
array $_toFontEncoding = 'array'
Array for conversion from local encoding to special font encoding.
See {@link encodeString()}.
__construct(
)
:
Object constructor
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.
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.
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.