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

Show: PublicProtectedPrivateinherited
Table of Contents
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.
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_ZapfDingbats

Package: Zend_Pdf\Fonts
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.
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

>VPropertyprotectedarray $_fromFontEncoding = array(32 => "\x00\x20", 33 => "\x27\x01", 34 => "\x27\x02", 35 => "\x27\x03", 36 => "\x27\x04", 37 => "\x26\x0e", 38 => "\x27\x06", 39 => "\x27\x07", 40 => "\x27\x08", 41 => "\x27\x09", 42 => "\x26\x1b", 43 => "\x26\x1e", 44 => "\x27\x0c", 45 => "\x27\x0d", 46 => "\x27\x0e", 47 => "\x27\x0f", 48 => "\x27\x10", 49 => "\x27\x11", 50 => "\x27\x12", 51 => "\x27\x13", 52 => "\x27\x14", 53 => "\x27\x15", 54 => "\x27\x16", 55 => "\x27\x17", 56 => "\x27\x18", 57 => "\x27\x19", 58 => "\x27\x1a", 59 => "\x27\x1b", 60 => "\x27\x1c", 61 => "\x27\x1d", 62 => "\x27\x1e", 63 => "\x27\x1f", 64 => "\x27\x20", 65 => "\x27\x21", 66 => "\x27\x22", 67 => "\x27\x23", 68 => "\x27\x24", 69 => "\x27\x25", 70 => "\x27\x26", 71 => "\x27\x27", 72 => "\x26\x05", 73 => "\x27\x29", 74 => "\x27\x2a", 75 => "\x27\x2b", 76 => "\x27\x2c", 77 => "\x27\x2d", 78 => "\x27\x2e", 79 => "\x27\x2f", 80 => "\x27\x30", 81 => "\x27\x31", 82 => "\x27\x32", 83 => "\x27\x33", 84 => "\x27\x34", 85 => "\x27\x35", 86 => "\x27\x36", 87 => "\x27\x37", 88 => "\x27\x38", 89 => "\x27\x39", 90 => "\x27\x3a", 91 => "\x27\x3b", 92 => "\x27\x3c", 93 => "\x27\x3d", 94 => "\x27\x3e", 95 => "\x27\x3f", 96 => "\x27\x40", 97 => "\x27\x41", 98 => "\x27\x42", 99 => "\x27\x43", 100 => "\x27\x44", 101 => "\x27\x45", 102 => "\x27\x46", 103 => "\x27\x47", 104 => "\x27\x48", 105 => "\x27\x49", 106 => "\x27\x4a", 107 => "\x27\x4b", 108 => "\x25\xcf", 109 => "\x27\x4d", 110 => "\x25\xa0", 111 => "\x27\x4f", 112 => "\x27\x50", 113 => "\x27\x51", 114 => "\x27\x52", 115 => "\x25\xb2", 116 => "\x25\xbc", 117 => "\x25\xc6", 118 => "\x27\x56", 119 => "\x25\xd7", 120 => "\x27\x58", 121 => "\x27\x59", 122 => "\x27\x5a", 123 => "\x27\x5b", 124 => "\x27\x5c", 125 => "\x27\x5d", 126 => "\x27\x5e", 128 => "\x27\x68", 129 => "\x27\x69", 130 => "\x27\x6a", 131 => "\x27\x6b", 132 => "\x27\x6c", 133 => "\x27\x6d", 134 => "\x27\x6e", 135 => "\x27\x6f", 136 => "\x27\x70", 137 => "\x27\x71", 138 => "\x27\x72", 139 => "\x27\x73", 140 => "\x27\x74", 141 => "\x27\x75", 161 => "\x27\x61", 162 => "\x27\x62", 163 => "\x27\x63", 164 => "\x27\x64", 165 => "\x27\x65", 166 => "\x27\x66", 167 => "\x27\x67", 168 => "\x26\x63", 169 => "\x26\x66", 170 => "\x26\x65", 171 => "\x26\x60", 172 => "\x24\x60", 173 => "\x24\x61", 174 => "\x24\x62", 175 => "\x24\x63", 176 => "\x24\x64", 177 => "\x24\x65", 178 => "\x24\x66", 179 => "\x24\x67", 180 => "\x24\x68", 181 => "\x24\x69", 182 => "\x27\x76", 183 => "\x27\x77", 184 => "\x27\x78", 185 => "\x27\x79", 186 => "\x27\x7a", 187 => "\x27\x7b", 188 => "\x27\x7c", 189 => "\x27\x7d", 190 => "\x27\x7e", 191 => "\x27\x7f", 192 => "\x27\x80", 193 => "\x27\x81", 194 => "\x27\x82", 195 => "\x27\x83", 196 => "\x27\x84", 197 => "\x27\x85", 198 => "\x27\x86", 199 => "\x27\x87", 200 => "\x27\x88", 201 => "\x27\x89", 202 => "\x27\x8a", 203 => "\x27\x8b", 204 => "\x27\x8c", 205 => "\x27\x8d", 206 => "\x27\x8e", 207 => "\x27\x8f", 208 => "\x27\x90", 209 => "\x27\x91", 210 => "\x27\x92", 211 => "\x27\x93", 212 => "\x27\x94", 213 => "\x21\x92", 214 => "\x21\x94", 215 => "\x21\x95", 216 => "\x27\x98", 217 => "\x27\x99", 218 => "\x27\x9a", 219 => "\x27\x9b", 220 => "\x27\x9c", 221 => "\x27\x9d", 222 => "\x27\x9e", 223 => "\x27\x9f", 224 => "\x27\xa0", 225 => "\x27\xa1", 226 => "\x27\xa2", 227 => "\x27\xa3", 228 => "\x27\xa4", 229 => "\x27\xa5", 230 => "\x27\xa6", 231 => "\x27\xa7", 232 => "\x27\xa8", 233 => "\x27\xa9", 234 => "\x27\xaa", 235 => "\x27\xab", 236 => "\x27\xac", 237 => "\x27\xad", 238 => "\x27\xae", 239 => "\x27\xaf", 241 => "\x27\xb1", 242 => "\x27\xb2", 243 => "\x27\xb3", 244 => "\x27\xb4", 245 => "\x27\xb5", 246 => "\x27\xb6", 247 => "\x27\xb7", 248 => "\x27\xb8", 249 => "\x27\xb9", 250 => "\x27\xba", 251 => "\x27\xbb", 252 => "\x27\xbc", 253 => "\x27\xbd", 254 => "\x27\xbe")
Array for conversion from special font encoding to local encoding.
See {@link decodeString()}.
Default valuearray(32 => "\x00\x20", 33 => "\x27\x01", 34 => "\x27\x02", 35 => "\x27\x03", 36 => "\x27\x04", 37 => "\x26\x0e", 38 => "\x27\x06", 39 => "\x27\x07", 40 => "\x27\x08", 41 => "\x27\x09", 42 => "\x26\x1b", 43 => "\x26\x1e", 44 => "\x27\x0c", 45 => "\x27\x0d", 46 => "\x27\x0e", 47 => "\x27\x0f", 48 => "\x27\x10", 49 => "\x27\x11", 50 => "\x27\x12", 51 => "\x27\x13", 52 => "\x27\x14", 53 => "\x27\x15", 54 => "\x27\x16", 55 => "\x27\x17", 56 => "\x27\x18", 57 => "\x27\x19", 58 => "\x27\x1a", 59 => "\x27\x1b", 60 => "\x27\x1c", 61 => "\x27\x1d", 62 => "\x27\x1e", 63 => "\x27\x1f", 64 => "\x27\x20", 65 => "\x27\x21", 66 => "\x27\x22", 67 => "\x27\x23", 68 => "\x27\x24", 69 => "\x27\x25", 70 => "\x27\x26", 71 => "\x27\x27", 72 => "\x26\x05", 73 => "\x27\x29", 74 => "\x27\x2a", 75 => "\x27\x2b", 76 => "\x27\x2c", 77 => "\x27\x2d", 78 => "\x27\x2e", 79 => "\x27\x2f", 80 => "\x27\x30", 81 => "\x27\x31", 82 => "\x27\x32", 83 => "\x27\x33", 84 => "\x27\x34", 85 => "\x27\x35", 86 => "\x27\x36", 87 => "\x27\x37", 88 => "\x27\x38", 89 => "\x27\x39", 90 => "\x27\x3a", 91 => "\x27\x3b", 92 => "\x27\x3c", 93 => "\x27\x3d", 94 => "\x27\x3e", 95 => "\x27\x3f", 96 => "\x27\x40", 97 => "\x27\x41", 98 => "\x27\x42", 99 => "\x27\x43", 100 => "\x27\x44", 101 => "\x27\x45", 102 => "\x27\x46", 103 => "\x27\x47", 104 => "\x27\x48", 105 => "\x27\x49", 106 => "\x27\x4a", 107 => "\x27\x4b", 108 => "\x25\xcf", 109 => "\x27\x4d", 110 => "\x25\xa0", 111 => "\x27\x4f", 112 => "\x27\x50", 113 => "\x27\x51", 114 => "\x27\x52", 115 => "\x25\xb2", 116 => "\x25\xbc", 117 => "\x25\xc6", 118 => "\x27\x56", 119 => "\x25\xd7", 120 => "\x27\x58", 121 => "\x27\x59", 122 => "\x27\x5a", 123 => "\x27\x5b", 124 => "\x27\x5c", 125 => "\x27\x5d", 126 => "\x27\x5e", 128 => "\x27\x68", 129 => "\x27\x69", 130 => "\x27\x6a", 131 => "\x27\x6b", 132 => "\x27\x6c", 133 => "\x27\x6d", 134 => "\x27\x6e", 135 => "\x27\x6f", 136 => "\x27\x70", 137 => "\x27\x71", 138 => "\x27\x72", 139 => "\x27\x73", 140 => "\x27\x74", 141 => "\x27\x75", 161 => "\x27\x61", 162 => "\x27\x62", 163 => "\x27\x63", 164 => "\x27\x64", 165 => "\x27\x65", 166 => "\x27\x66", 167 => "\x27\x67", 168 => "\x26\x63", 169 => "\x26\x66", 170 => "\x26\x65", 171 => "\x26\x60", 172 => "\x24\x60", 173 => "\x24\x61", 174 => "\x24\x62", 175 => "\x24\x63", 176 => "\x24\x64", 177 => "\x24\x65", 178 => "\x24\x66", 179 => "\x24\x67", 180 => "\x24\x68", 181 => "\x24\x69", 182 => "\x27\x76", 183 => "\x27\x77", 184 => "\x27\x78", 185 => "\x27\x79", 186 => "\x27\x7a", 187 => "\x27\x7b", 188 => "\x27\x7c", 189 => "\x27\x7d", 190 => "\x27\x7e", 191 => "\x27\x7f", 192 => "\x27\x80", 193 => "\x27\x81", 194 => "\x27\x82", 195 => "\x27\x83", 196 => "\x27\x84", 197 => "\x27\x85", 198 => "\x27\x86", 199 => "\x27\x87", 200 => "\x27\x88", 201 => "\x27\x89", 202 => "\x27\x8a", 203 => "\x27\x8b", 204 => "\x27\x8c", 205 => "\x27\x8d", 206 => "\x27\x8e", 207 => "\x27\x8f", 208 => "\x27\x90", 209 => "\x27\x91", 210 => "\x27\x92", 211 => "\x27\x93", 212 => "\x27\x94", 213 => "\x21\x92", 214 => "\x21\x94", 215 => "\x21\x95", 216 => "\x27\x98", 217 => "\x27\x99", 218 => "\x27\x9a", 219 => "\x27\x9b", 220 => "\x27\x9c", 221 => "\x27\x9d", 222 => "\x27\x9e", 223 => "\x27\x9f", 224 => "\x27\xa0", 225 => "\x27\xa1", 226 => "\x27\xa2", 227 => "\x27\xa3", 228 => "\x27\xa4", 229 => "\x27\xa5", 230 => "\x27\xa6", 231 => "\x27\xa7", 232 => "\x27\xa8", 233 => "\x27\xa9", 234 => "\x27\xaa", 235 => "\x27\xab", 236 => "\x27\xac", 237 => "\x27\xad", 238 => "\x27\xae", 239 => "\x27\xaf", 241 => "\x27\xb1", 242 => "\x27\xb2", 243 => "\x27\xb3", 244 => "\x27\xb4", 245 => "\x27\xb5", 246 => "\x27\xb6", 247 => "\x27\xb7", 248 => "\x27\xb8", 249 => "\x27\xb9", 250 => "\x27\xba", 251 => "\x27\xbb", 252 => "\x27\xbc", 253 => "\x27\xbd", 254 => "\x27\xbe")Details
Type
array
>VPropertyprotectedarray $_toFontEncoding = array(32 => "\x20", 9985 => "\x21", 9986 => "\x22", 9987 => "\x23", 9988 => "\x24", 9742 => "\x25", 9990 => "\x26", 9991 => "\x27", 9992 => "\x28", 9993 => "\x29", 9755 => "\x2a", 9758 => "\x2b", 9996 => "\x2c", 9997 => "\x2d", 9998 => "\x2e", 9999 => "\x2f", 10000 => "\x30", 10001 => "\x31", 10002 => "\x32", 10003 => "\x33", 10004 => "\x34", 10005 => "\x35", 10006 => "\x36", 10007 => "\x37", 10008 => "\x38", 10009 => "\x39", 10010 => "\x3a", 10011 => "\x3b", 10012 => "\x3c", 10013 => "\x3d", 10014 => "\x3e", 10015 => "\x3f", 10016 => "\x40", 10017 => "\x41", 10018 => "\x42", 10019 => "\x43", 10020 => "\x44", 10021 => "\x45", 10022 => "\x46", 10023 => "\x47", 9733 => "\x48", 10025 => "\x49", 10026 => "\x4a", 10027 => "\x4b", 10028 => "\x4c", 10029 => "\x4d", 10030 => "\x4e", 10031 => "\x4f", 10032 => "\x50", 10033 => "\x51", 10034 => "\x52", 10035 => "\x53", 10036 => "\x54", 10037 => "\x55", 10038 => "\x56", 10039 => "\x57", 10040 => "\x58", 10041 => "\x59", 10042 => "\x5a", 10043 => "\x5b", 10044 => "\x5c", 10045 => "\x5d", 10046 => "\x5e", 10047 => "\x5f", 10048 => "\x60", 10049 => "\x61", 10050 => "\x62", 10051 => "\x63", 10052 => "\x64", 10053 => "\x65", 10054 => "\x66", 10055 => "\x67", 10056 => "\x68", 10057 => "\x69", 10058 => "\x6a", 10059 => "\x6b", 9679 => "\x6c", 10061 => "\x6d", 9632 => "\x6e", 10063 => "\x6f", 10064 => "\x70", 10065 => "\x71", 10066 => "\x72", 9650 => "\x73", 9660 => "\x74", 9670 => "\x75", 10070 => "\x76", 9687 => "\x77", 10072 => "\x78", 10073 => "\x79", 10074 => "\x7a", 10075 => "\x7b", 10076 => "\x7c", 10077 => "\x7d", 10078 => "\x7e", 10088 => "\x80", 10089 => "\x81", 10090 => "\x82", 10091 => "\x83", 10092 => "\x84", 10093 => "\x85", 10094 => "\x86", 10095 => "\x87", 10096 => "\x88", 10097 => "\x89", 10098 => "\x8a", 10099 => "\x8b", 10100 => "\x8c", 10101 => "\x8d", 10081 => "\xa1", 10082 => "\xa2", 10083 => "\xa3", 10084 => "\xa4", 10085 => "\xa5", 10086 => "\xa6", 10087 => "\xa7", 9827 => "\xa8", 9830 => "\xa9", 9829 => "\xaa", 9824 => "\xab", 9312 => "\xac", 9313 => "\xad", 9314 => "\xae", 9315 => "\xaf", 9316 => "\xb0", 9317 => "\xb1", 9318 => "\xb2", 9319 => "\xb3", 9320 => "\xb4", 9321 => "\xb5", 10102 => "\xb6", 10103 => "\xb7", 10104 => "\xb8", 10105 => "\xb9", 10106 => "\xba", 10107 => "\xbb", 10108 => "\xbc", 10109 => "\xbd", 10110 => "\xbe", 10111 => "\xbf", 10112 => "\xc0", 10113 => "\xc1", 10114 => "\xc2", 10115 => "\xc3", 10116 => "\xc4", 10117 => "\xc5", 10118 => "\xc6", 10119 => "\xc7", 10120 => "\xc8", 10121 => "\xc9", 10122 => "\xca", 10123 => "\xcb", 10124 => "\xcc", 10125 => "\xcd", 10126 => "\xce", 10127 => "\xcf", 10128 => "\xd0", 10129 => "\xd1", 10130 => "\xd2", 10131 => "\xd3", 10132 => "\xd4", 8594 => "\xd5", 8596 => "\xd6", 8597 => "\xd7", 10136 => "\xd8", 10137 => "\xd9", 10138 => "\xda", 10139 => "\xdb", 10140 => "\xdc", 10141 => "\xdd", 10142 => "\xde", 10143 => "\xdf", 10144 => "\xe0", 10145 => "\xe1", 10146 => "\xe2", 10147 => "\xe3", 10148 => "\xe4", 10149 => "\xe5", 10150 => "\xe6", 10151 => "\xe7", 10152 => "\xe8", 10153 => "\xe9", 10154 => "\xea", 10155 => "\xeb", 10156 => "\xec", 10157 => "\xed", 10158 => "\xee", 10159 => "\xef", 10161 => "\xf1", 10162 => "\xf2", 10163 => "\xf3", 10164 => "\xf4", 10165 => "\xf5", 10166 => "\xf6", 10167 => "\xf7", 10168 => "\xf8", 10169 => "\xf9", 10170 => "\xfa", 10171 => "\xfb", 10172 => "\xfc", 10173 => "\xfd", 10174 => "\xfe")
Array for conversion from local encoding to special font encoding.
See {@link encodeString()}.
Default valuearray(32 => "\x20", 9985 => "\x21", 9986 => "\x22", 9987 => "\x23", 9988 => "\x24", 9742 => "\x25", 9990 => "\x26", 9991 => "\x27", 9992 => "\x28", 9993 => "\x29", 9755 => "\x2a", 9758 => "\x2b", 9996 => "\x2c", 9997 => "\x2d", 9998 => "\x2e", 9999 => "\x2f", 10000 => "\x30", 10001 => "\x31", 10002 => "\x32", 10003 => "\x33", 10004 => "\x34", 10005 => "\x35", 10006 => "\x36", 10007 => "\x37", 10008 => "\x38", 10009 => "\x39", 10010 => "\x3a", 10011 => "\x3b", 10012 => "\x3c", 10013 => "\x3d", 10014 => "\x3e", 10015 => "\x3f", 10016 => "\x40", 10017 => "\x41", 10018 => "\x42", 10019 => "\x43", 10020 => "\x44", 10021 => "\x45", 10022 => "\x46", 10023 => "\x47", 9733 => "\x48", 10025 => "\x49", 10026 => "\x4a", 10027 => "\x4b", 10028 => "\x4c", 10029 => "\x4d", 10030 => "\x4e", 10031 => "\x4f", 10032 => "\x50", 10033 => "\x51", 10034 => "\x52", 10035 => "\x53", 10036 => "\x54", 10037 => "\x55", 10038 => "\x56", 10039 => "\x57", 10040 => "\x58", 10041 => "\x59", 10042 => "\x5a", 10043 => "\x5b", 10044 => "\x5c", 10045 => "\x5d", 10046 => "\x5e", 10047 => "\x5f", 10048 => "\x60", 10049 => "\x61", 10050 => "\x62", 10051 => "\x63", 10052 => "\x64", 10053 => "\x65", 10054 => "\x66", 10055 => "\x67", 10056 => "\x68", 10057 => "\x69", 10058 => "\x6a", 10059 => "\x6b", 9679 => "\x6c", 10061 => "\x6d", 9632 => "\x6e", 10063 => "\x6f", 10064 => "\x70", 10065 => "\x71", 10066 => "\x72", 9650 => "\x73", 9660 => "\x74", 9670 => "\x75", 10070 => "\x76", 9687 => "\x77", 10072 => "\x78", 10073 => "\x79", 10074 => "\x7a", 10075 => "\x7b", 10076 => "\x7c", 10077 => "\x7d", 10078 => "\x7e", 10088 => "\x80", 10089 => "\x81", 10090 => "\x82", 10091 => "\x83", 10092 => "\x84", 10093 => "\x85", 10094 => "\x86", 10095 => "\x87", 10096 => "\x88", 10097 => "\x89", 10098 => "\x8a", 10099 => "\x8b", 10100 => "\x8c", 10101 => "\x8d", 10081 => "\xa1", 10082 => "\xa2", 10083 => "\xa3", 10084 => "\xa4", 10085 => "\xa5", 10086 => "\xa6", 10087 => "\xa7", 9827 => "\xa8", 9830 => "\xa9", 9829 => "\xaa", 9824 => "\xab", 9312 => "\xac", 9313 => "\xad", 9314 => "\xae", 9315 => "\xaf", 9316 => "\xb0", 9317 => "\xb1", 9318 => "\xb2", 9319 => "\xb3", 9320 => "\xb4", 9321 => "\xb5", 10102 => "\xb6", 10103 => "\xb7", 10104 => "\xb8", 10105 => "\xb9", 10106 => "\xba", 10107 => "\xbb", 10108 => "\xbc", 10109 => "\xbd", 10110 => "\xbe", 10111 => "\xbf", 10112 => "\xc0", 10113 => "\xc1", 10114 => "\xc2", 10115 => "\xc3", 10116 => "\xc4", 10117 => "\xc5", 10118 => "\xc6", 10119 => "\xc7", 10120 => "\xc8", 10121 => "\xc9", 10122 => "\xca", 10123 => "\xcb", 10124 => "\xcc", 10125 => "\xcd", 10126 => "\xce", 10127 => "\xcf", 10128 => "\xd0", 10129 => "\xd1", 10130 => "\xd2", 10131 => "\xd3", 10132 => "\xd4", 8594 => "\xd5", 8596 => "\xd6", 8597 => "\xd7", 10136 => "\xd8", 10137 => "\xd9", 10138 => "\xda", 10139 => "\xdb", 10140 => "\xdc", 10141 => "\xdd", 10142 => "\xde", 10143 => "\xdf", 10144 => "\xe0", 10145 => "\xe1", 10146 => "\xe2", 10147 => "\xe3", 10148 => "\xe4", 10149 => "\xe5", 10150 => "\xe6", 10151 => "\xe7", 10152 => "\xe8", 10153 => "\xe9", 10154 => "\xea", 10155 => "\xeb", 10156 => "\xec", 10157 => "\xed", 10158 => "\xee", 10159 => "\xef", 10161 => "\xf1", 10162 => "\xf2", 10163 => "\xf3", 10164 => "\xf4", 10165 => "\xf5", 10166 => "\xf6", 10167 => "\xf7", 10168 => "\xf8", 10169 => "\xf9", 10170 => "\xfa", 10171 => "\xfb", 10172 => "\xfc", 10173 => "\xfd", 10174 => "\xfe")Details
Type
array

Methods

methodpublic__construct() : void

Object constructor

methodpublicdecodeString(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
NameTypeDescription
$stringstring
$charEncodingstring

Character encoding of resulting text.

Returns
TypeDescription
string
methodpublicencodeString(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
NameTypeDescription
$stringstring
$charEncodingstring

Character encoding of source text.

Returns
TypeDescription
string
methodpublictoUnicode(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.
Parameters
NameTypeDescription
$stringstring
$charEncodingstring

(optional) Character encoding of source string. Defaults to current locale.

Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .