Pdf/Resource/Font/Simple/Standard/Symbol.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- Fonts
- Version
- $Id$
\Zend_Pdf_Resource_Font_Simple_Standard_Symbol
Package: Zend_Pdf\Fonts
Returns
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.
- Parent(s)
- \Zend_Pdf_Resource_Font_Simple_Standard < \Zend_Pdf_Resource_Font_Simple < \Zend_Pdf_Resource_Font < \Zend_Pdf_Resource
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
array $_fromFontEncoding = array(32 => "\x00\x20", 33 => "\x00\x21", 34 => "\x22\x00", 35 => "\x00\x23", 36 => "\x22\x03", 37 => "\x00\x25", 38 => "\x00\x26", 39 => "\x22\x0b", 40 => "\x00\x28", 41 => "\x00\x29", 42 => "\x22\x17", 43 => "\x00\x2b", 44 => "\x00\x2c", 45 => "\x22\x12", 46 => "\x00\x2e", 47 => "\x00\x2f", 48 => "\x00\x30", 49 => "\x00\x31", 50 => "\x00\x32", 51 => "\x00\x33", 52 => "\x00\x34", 53 => "\x00\x35", 54 => "\x00\x36", 55 => "\x00\x37", 56 => "\x00\x38", 57 => "\x00\x39", 58 => "\x00\x3a", 59 => "\x00\x3b", 60 => "\x00\x3c", 61 => "\x00\x3d", 62 => "\x00\x3e", 63 => "\x00\x3f", 64 => "\x22\x45", 65 => "\x03\x91", 66 => "\x03\x92", 67 => "\x03\xa7", 68 => "\x22\x06", 69 => "\x03\x95", 70 => "\x03\xa6", 71 => "\x03\x93", 72 => "\x03\x97", 73 => "\x03\x99", 74 => "\x03\xd1", 75 => "\x03\x9a", 76 => "\x03\x9b", 77 => "\x03\x9c", 78 => "\x03\x9d", 79 => "\x03\x9f", 80 => "\x03\xa0", 81 => "\x03\x98", 82 => "\x03\xa1", 83 => "\x03\xa3", 84 => "\x03\xa4", 85 => "\x03\xa5", 86 => "\x03\xc2", 87 => "\x21\x26", 88 => "\x03\x9e", 89 => "\x03\xa8", 90 => "\x03\x96", 91 => "\x00\x5b", 92 => "\x22\x34", 93 => "\x00\x5d", 94 => "\x22\xa5", 95 => "\x00\x5f", 96 => "\xf8\xe5", 97 => "\x03\xb1", 98 => "\x03\xb2", 99 => "\x03\xc7", 100 => "\x03\xb4", 101 => "\x03\xb5", 102 => "\x03\xc6", 103 => "\x03\xb3", 104 => "\x03\xb7", 105 => "\x03\xb9", 106 => "\x03\xd5", 107 => "\x03\xba", 108 => "\x03\xbb", 109 => "\x00\xb5", 110 => "\x03\xbd", 111 => "\x03\xbf", 112 => "\x03\xc0", 113 => "\x03\xb8", 114 => "\x03\xc1", 115 => "\x03\xc3", 116 => "\x03\xc4", 117 => "\x03\xc5", 118 => "\x03\xd6", 119 => "\x03\xc9", 120 => "\x03\xbe", 121 => "\x03\xc8", 122 => "\x03\xb6", 123 => "\x00\x7b", 124 => "\x00\x7c", 125 => "\x00\x7d", 126 => "\x22\x3c", 160 => "\x20\xac", 161 => "\x03\xd2", 162 => "\x20\x32", 163 => "\x22\x64", 164 => "\x20\x44", 165 => "\x22\x1e", 166 => "\x01\x92", 167 => "\x26\x63", 168 => "\x26\x66", 169 => "\x26\x65", 170 => "\x26\x60", 171 => "\x21\x94", 172 => "\x21\x90", 173 => "\x21\x91", 174 => "\x21\x92", 175 => "\x21\x93", 176 => "\x00\xb0", 177 => "\x00\xb1", 178 => "\x20\x33", 179 => "\x22\x65", 180 => "\x00\xd7", 181 => "\x22\x1d", 182 => "\x22\x02", 183 => "\x20\x22", 184 => "\x00\xf7", 185 => "\x22\x60", 186 => "\x22\x61", 187 => "\x22\x48", 188 => "\x20\x26", 189 => "\xf8\xe6", 190 => "\xf8\xe7", 191 => "\x21\xb5", 192 => "\x21\x35", 193 => "\x21\x11", 194 => "\x21\x1c", 195 => "\x21\x18", 196 => "\x22\x97", 197 => "\x22\x95", 198 => "\x22\x05", 199 => "\x22\x29", 200 => "\x22\x2a", 201 => "\x22\x83", 202 => "\x22\x87", 203 => "\x22\x84", 204 => "\x22\x82", 205 => "\x22\x86", 206 => "\x22\x08", 207 => "\x22\x09", 208 => "\x22\x20", 209 => "\x22\x07", 210 => "\xf6\xda", 211 => "\xf6\xd9", 212 => "\xf6\xdb", 213 => "\x22\x0f", 214 => "\x22\x1a", 215 => "\x22\xc5", 216 => "\x00\xac", 217 => "\x22\x27", 218 => "\x22\x28", 219 => "\x21\xd4", 220 => "\x21\xd0", 221 => "\x21\xd1", 222 => "\x21\xd2", 223 => "\x21\xd3", 224 => "\x25\xca", 225 => "\x23\x29", 226 => "\xf8\xe8", 227 => "\xf8\xe9", 228 => "\xf8\xea", 229 => "\x22\x11", 230 => "\xf8\xeb", 231 => "\xf8\xec", 232 => "\xf8\xed", 233 => "\xf8\xee", 234 => "\xf8\xef", 235 => "\xf8\xf0", 236 => "\xf8\xf1", 237 => "\xf8\xf2", 238 => "\xf8\xf3", 239 => "\xf8\xf4", 241 => "\x23\x2a", 242 => "\x22\x2b", 243 => "\x23\x20", 244 => "\xf8\xf5", 245 => "\x23\x21", 246 => "\xf8\xf6", 247 => "\xf8\xf7", 248 => "\xf8\xf8", 249 => "\xf8\xf9", 250 => "\xf8\xfa", 251 => "\xf8\xfb", 252 => "\xf8\xfc", 253 => "\xf8\xfd", 254 => "\xf8\xfe")
Array for conversion from special font encoding to local encoding.
See {@link decodeString()}.
Default valuearray(32 => "\x00\x20", 33 => "\x00\x21", 34 => "\x22\x00", 35 => "\x00\x23", 36 => "\x22\x03", 37 => "\x00\x25", 38 => "\x00\x26", 39 => "\x22\x0b", 40 => "\x00\x28", 41 => "\x00\x29", 42 => "\x22\x17", 43 => "\x00\x2b", 44 => "\x00\x2c", 45 => "\x22\x12", 46 => "\x00\x2e", 47 => "\x00\x2f", 48 => "\x00\x30", 49 => "\x00\x31", 50 => "\x00\x32", 51 => "\x00\x33", 52 => "\x00\x34", 53 => "\x00\x35", 54 => "\x00\x36", 55 => "\x00\x37", 56 => "\x00\x38", 57 => "\x00\x39", 58 => "\x00\x3a", 59 => "\x00\x3b", 60 => "\x00\x3c", 61 => "\x00\x3d", 62 => "\x00\x3e", 63 => "\x00\x3f", 64 => "\x22\x45", 65 => "\x03\x91", 66 => "\x03\x92", 67 => "\x03\xa7", 68 => "\x22\x06", 69 => "\x03\x95", 70 => "\x03\xa6", 71 => "\x03\x93", 72 => "\x03\x97", 73 => "\x03\x99", 74 => "\x03\xd1", 75 => "\x03\x9a", 76 => "\x03\x9b", 77 => "\x03\x9c", 78 => "\x03\x9d", 79 => "\x03\x9f", 80 => "\x03\xa0", 81 => "\x03\x98", 82 => "\x03\xa1", 83 => "\x03\xa3", 84 => "\x03\xa4", 85 => "\x03\xa5", 86 => "\x03\xc2", 87 => "\x21\x26", 88 => "\x03\x9e", 89 => "\x03\xa8", 90 => "\x03\x96", 91 => "\x00\x5b", 92 => "\x22\x34", 93 => "\x00\x5d", 94 => "\x22\xa5", 95 => "\x00\x5f", 96 => "\xf8\xe5", 97 => "\x03\xb1", 98 => "\x03\xb2", 99 => "\x03\xc7", 100 => "\x03\xb4", 101 => "\x03\xb5", 102 => "\x03\xc6", 103 => "\x03\xb3", 104 => "\x03\xb7", 105 => "\x03\xb9", 106 => "\x03\xd5", 107 => "\x03\xba", 108 => "\x03\xbb", 109 => "\x00\xb5", 110 => "\x03\xbd", 111 => "\x03\xbf", 112 => "\x03\xc0", 113 => "\x03\xb8", 114 => "\x03\xc1", 115 => "\x03\xc3", 116 => "\x03\xc4", 117 => "\x03\xc5", 118 => "\x03\xd6", 119 => "\x03\xc9", 120 => "\x03\xbe", 121 => "\x03\xc8", 122 => "\x03\xb6", 123 => "\x00\x7b", 124 => "\x00\x7c", 125 => "\x00\x7d", 126 => "\x22\x3c", 160 => "\x20\xac", 161 => "\x03\xd2", 162 => "\x20\x32", 163 => "\x22\x64", 164 => "\x20\x44", 165 => "\x22\x1e", 166 => "\x01\x92", 167 => "\x26\x63", 168 => "\x26\x66", 169 => "\x26\x65", 170 => "\x26\x60", 171 => "\x21\x94", 172 => "\x21\x90", 173 => "\x21\x91", 174 => "\x21\x92", 175 => "\x21\x93", 176 => "\x00\xb0", 177 => "\x00\xb1", 178 => "\x20\x33", 179 => "\x22\x65", 180 => "\x00\xd7", 181 => "\x22\x1d", 182 => "\x22\x02", 183 => "\x20\x22", 184 => "\x00\xf7", 185 => "\x22\x60", 186 => "\x22\x61", 187 => "\x22\x48", 188 => "\x20\x26", 189 => "\xf8\xe6", 190 => "\xf8\xe7", 191 => "\x21\xb5", 192 => "\x21\x35", 193 => "\x21\x11", 194 => "\x21\x1c", 195 => "\x21\x18", 196 => "\x22\x97", 197 => "\x22\x95", 198 => "\x22\x05", 199 => "\x22\x29", 200 => "\x22\x2a", 201 => "\x22\x83", 202 => "\x22\x87", 203 => "\x22\x84", 204 => "\x22\x82", 205 => "\x22\x86", 206 => "\x22\x08", 207 => "\x22\x09", 208 => "\x22\x20", 209 => "\x22\x07", 210 => "\xf6\xda", 211 => "\xf6\xd9", 212 => "\xf6\xdb", 213 => "\x22\x0f", 214 => "\x22\x1a", 215 => "\x22\xc5", 216 => "\x00\xac", 217 => "\x22\x27", 218 => "\x22\x28", 219 => "\x21\xd4", 220 => "\x21\xd0", 221 => "\x21\xd1", 222 => "\x21\xd2", 223 => "\x21\xd3", 224 => "\x25\xca", 225 => "\x23\x29", 226 => "\xf8\xe8", 227 => "\xf8\xe9", 228 => "\xf8\xea", 229 => "\x22\x11", 230 => "\xf8\xeb", 231 => "\xf8\xec", 232 => "\xf8\xed", 233 => "\xf8\xee", 234 => "\xf8\xef", 235 => "\xf8\xf0", 236 => "\xf8\xf1", 237 => "\xf8\xf2", 238 => "\xf8\xf3", 239 => "\xf8\xf4", 241 => "\x23\x2a", 242 => "\x22\x2b", 243 => "\x23\x20", 244 => "\xf8\xf5", 245 => "\x23\x21", 246 => "\xf8\xf6", 247 => "\xf8\xf7", 248 => "\xf8\xf8", 249 => "\xf8\xf9", 250 => "\xf8\xfa", 251 => "\xf8\xfb", 252 => "\xf8\xfc", 253 => "\xf8\xfd", 254 => "\xf8\xfe")
Details- Type
- array
array $_toFontEncoding = array(32 => "\x20", 33 => "\x21", 8704 => "\x22", 35 => "\x23", 8707 => "\x24", 37 => "\x25", 38 => "\x26", 8715 => "\x27", 40 => "\x28", 41 => "\x29", 8727 => "\x2a", 43 => "\x2b", 44 => "\x2c", 8722 => "\x2d", 46 => "\x2e", 47 => "\x2f", 48 => "\x30", 49 => "\x31", 50 => "\x32", 51 => "\x33", 52 => "\x34", 53 => "\x35", 54 => "\x36", 55 => "\x37", 56 => "\x38", 57 => "\x39", 58 => "\x3a", 59 => "\x3b", 60 => "\x3c", 61 => "\x3d", 62 => "\x3e", 63 => "\x3f", 8773 => "\x40", 913 => "\x41", 914 => "\x42", 935 => "\x43", 8710 => "\x44", 917 => "\x45", 934 => "\x46", 915 => "\x47", 919 => "\x48", 921 => "\x49", 977 => "\x4a", 922 => "\x4b", 923 => "\x4c", 924 => "\x4d", 925 => "\x4e", 927 => "\x4f", 928 => "\x50", 920 => "\x51", 929 => "\x52", 931 => "\x53", 932 => "\x54", 933 => "\x55", 962 => "\x56", 8486 => "\x57", 926 => "\x58", 936 => "\x59", 918 => "\x5a", 91 => "\x5b", 8756 => "\x5c", 93 => "\x5d", 8869 => "\x5e", 95 => "\x5f", 63717 => "\x60", 945 => "\x61", 946 => "\x62", 967 => "\x63", 948 => "\x64", 949 => "\x65", 966 => "\x66", 947 => "\x67", 951 => "\x68", 953 => "\x69", 981 => "\x6a", 954 => "\x6b", 955 => "\x6c", 181 => "\x6d", 957 => "\x6e", 959 => "\x6f", 960 => "\x70", 952 => "\x71", 961 => "\x72", 963 => "\x73", 964 => "\x74", 965 => "\x75", 982 => "\x76", 969 => "\x77", 958 => "\x78", 968 => "\x79", 950 => "\x7a", 123 => "\x7b", 124 => "\x7c", 125 => "\x7d", 8764 => "\x7e", 8364 => "\xa0", 978 => "\xa1", 8242 => "\xa2", 8804 => "\xa3", 8260 => "\xa4", 8734 => "\xa5", 402 => "\xa6", 9827 => "\xa7", 9830 => "\xa8", 9829 => "\xa9", 9824 => "\xaa", 8596 => "\xab", 8592 => "\xac", 8593 => "\xad", 8594 => "\xae", 8595 => "\xaf", 176 => "\xb0", 177 => "\xb1", 8243 => "\xb2", 8805 => "\xb3", 215 => "\xb4", 8733 => "\xb5", 8706 => "\xb6", 8226 => "\xb7", 247 => "\xb8", 8800 => "\xb9", 8801 => "\xba", 8776 => "\xbb", 8230 => "\xbc", 63718 => "\xbd", 63719 => "\xbe", 8629 => "\xbf", 8501 => "\xc0", 8465 => "\xc1", 8476 => "\xc2", 8472 => "\xc3", 8855 => "\xc4", 8853 => "\xc5", 8709 => "\xc6", 8745 => "\xc7", 8746 => "\xc8", 8835 => "\xc9", 8839 => "\xca", 8836 => "\xcb", 8834 => "\xcc", 8838 => "\xcd", 8712 => "\xce", 8713 => "\xcf", 8736 => "\xd0", 8711 => "\xd1", 63194 => "\xd2", 63193 => "\xd3", 63195 => "\xd4", 8719 => "\xd5", 8730 => "\xd6", 8901 => "\xd7", 172 => "\xd8", 8743 => "\xd9", 8744 => "\xda", 8660 => "\xdb", 8656 => "\xdc", 8657 => "\xdd", 8658 => "\xde", 8659 => "\xdf", 9674 => "\xe0", 9001 => "\xe1", 63720 => "\xe2", 63721 => "\xe3", 63722 => "\xe4", 8721 => "\xe5", 63723 => "\xe6", 63724 => "\xe7", 63725 => "\xe8", 63726 => "\xe9", 63727 => "\xea", 63728 => "\xeb", 63729 => "\xec", 63730 => "\xed", 63731 => "\xee", 63732 => "\xef", 9002 => "\xf1", 8747 => "\xf2", 8992 => "\xf3", 63733 => "\xf4", 8993 => "\xf5", 63734 => "\xf6", 63735 => "\xf7", 63736 => "\xf8", 63737 => "\xf9", 63738 => "\xfa", 63739 => "\xfb", 63740 => "\xfc", 63741 => "\xfd", 63742 => "\xfe")
Array for conversion from local encoding to special font encoding.
See {@link encodeString()}.
Default valuearray(32 => "\x20", 33 => "\x21", 8704 => "\x22", 35 => "\x23", 8707 => "\x24", 37 => "\x25", 38 => "\x26", 8715 => "\x27", 40 => "\x28", 41 => "\x29", 8727 => "\x2a", 43 => "\x2b", 44 => "\x2c", 8722 => "\x2d", 46 => "\x2e", 47 => "\x2f", 48 => "\x30", 49 => "\x31", 50 => "\x32", 51 => "\x33", 52 => "\x34", 53 => "\x35", 54 => "\x36", 55 => "\x37", 56 => "\x38", 57 => "\x39", 58 => "\x3a", 59 => "\x3b", 60 => "\x3c", 61 => "\x3d", 62 => "\x3e", 63 => "\x3f", 8773 => "\x40", 913 => "\x41", 914 => "\x42", 935 => "\x43", 8710 => "\x44", 917 => "\x45", 934 => "\x46", 915 => "\x47", 919 => "\x48", 921 => "\x49", 977 => "\x4a", 922 => "\x4b", 923 => "\x4c", 924 => "\x4d", 925 => "\x4e", 927 => "\x4f", 928 => "\x50", 920 => "\x51", 929 => "\x52", 931 => "\x53", 932 => "\x54", 933 => "\x55", 962 => "\x56", 8486 => "\x57", 926 => "\x58", 936 => "\x59", 918 => "\x5a", 91 => "\x5b", 8756 => "\x5c", 93 => "\x5d", 8869 => "\x5e", 95 => "\x5f", 63717 => "\x60", 945 => "\x61", 946 => "\x62", 967 => "\x63", 948 => "\x64", 949 => "\x65", 966 => "\x66", 947 => "\x67", 951 => "\x68", 953 => "\x69", 981 => "\x6a", 954 => "\x6b", 955 => "\x6c", 181 => "\x6d", 957 => "\x6e", 959 => "\x6f", 960 => "\x70", 952 => "\x71", 961 => "\x72", 963 => "\x73", 964 => "\x74", 965 => "\x75", 982 => "\x76", 969 => "\x77", 958 => "\x78", 968 => "\x79", 950 => "\x7a", 123 => "\x7b", 124 => "\x7c", 125 => "\x7d", 8764 => "\x7e", 8364 => "\xa0", 978 => "\xa1", 8242 => "\xa2", 8804 => "\xa3", 8260 => "\xa4", 8734 => "\xa5", 402 => "\xa6", 9827 => "\xa7", 9830 => "\xa8", 9829 => "\xa9", 9824 => "\xaa", 8596 => "\xab", 8592 => "\xac", 8593 => "\xad", 8594 => "\xae", 8595 => "\xaf", 176 => "\xb0", 177 => "\xb1", 8243 => "\xb2", 8805 => "\xb3", 215 => "\xb4", 8733 => "\xb5", 8706 => "\xb6", 8226 => "\xb7", 247 => "\xb8", 8800 => "\xb9", 8801 => "\xba", 8776 => "\xbb", 8230 => "\xbc", 63718 => "\xbd", 63719 => "\xbe", 8629 => "\xbf", 8501 => "\xc0", 8465 => "\xc1", 8476 => "\xc2", 8472 => "\xc3", 8855 => "\xc4", 8853 => "\xc5", 8709 => "\xc6", 8745 => "\xc7", 8746 => "\xc8", 8835 => "\xc9", 8839 => "\xca", 8836 => "\xcb", 8834 => "\xcc", 8838 => "\xcd", 8712 => "\xce", 8713 => "\xcf", 8736 => "\xd0", 8711 => "\xd1", 63194 => "\xd2", 63193 => "\xd3", 63195 => "\xd4", 8719 => "\xd5", 8730 => "\xd6", 8901 => "\xd7", 172 => "\xd8", 8743 => "\xd9", 8744 => "\xda", 8660 => "\xdb", 8656 => "\xdc", 8657 => "\xdd", 8658 => "\xde", 8659 => "\xdf", 9674 => "\xe0", 9001 => "\xe1", 63720 => "\xe2", 63721 => "\xe3", 63722 => "\xe4", 8721 => "\xe5", 63723 => "\xe6", 63724 => "\xe7", 63725 => "\xe8", 63726 => "\xe9", 63727 => "\xea", 63728 => "\xeb", 63729 => "\xec", 63730 => "\xed", 63731 => "\xee", 63732 => "\xef", 9002 => "\xf1", 8747 => "\xf2", 8992 => "\xf3", 63733 => "\xf4", 8993 => "\xf5", 63734 => "\xf6", 63735 => "\xf7", 63736 => "\xf8", 63737 => "\xf9", 63738 => "\xfa", 63739 => "\xfb", 63740 => "\xfc", 63741 => "\xfd", 63742 => "\xfe")
Details- Type
- array
Methods
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.
Parameters
Returns
Name | Type | Description |
---|---|---|
$string | string | |
$charEncoding | string | Character encoding of resulting text. |
Type | Description |
---|---|
string |
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.
Parameters
Returns
Name | Type | Description |
---|---|---|
$string | string | |
$charEncoding | string | Character encoding of source text. |
Type | Description |
---|---|
string |
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.
ParametersName | Type | Description |
---|---|---|
$string | string | |
$charEncoding | string | (optional) Character encoding of source string. Defaults to current locale. |
Type | Description |
---|---|
string |