Symbol
extends AbstractStandard
in package
Pdf standard Symbol font class
The values in this class have been forked from ZendPdf's values in the repository's standard font classes: https://github.com/zendframework/ZendPdf/tree/master/library/ZendPdf/Resource/Font/Simple/Standard
Tags
Table of Contents
Properties
- $cmap : array<string|int, mixed>
- Font character map
- $glyphWidths : array<string|int, mixed>
- Font glyph widths
- $unitsPerEm : int
- Font units per em
Methods
- getGlyphWidth() : mixed
- Get character glyph width
- getUnitsPerEm() : int
- Get units per em
Properties
$cmap
Font character map
protected
array<string|int, mixed>
$cmap
= [0x20 => 0x1, 0x21 => 0x2, 0x2200 => 0x3, 0x23 => 0x4, 0x2203 => 0x5, 0x25 => 0x6, 0x26 => 0x7, 0x220b => 0x8, 0x28 => 0x9, 0x29 => 0xa, 0x2217 => 0xb, 0x2b => 0xc, 0x2c => 0xd, 0x2212 => 0xe, 0x2e => 0xf, 0x2f => 0x10, 0x30 => 0x11, 0x31 => 0x12, 0x32 => 0x13, 0x33 => 0x14, 0x34 => 0x15, 0x35 => 0x16, 0x36 => 0x17, 0x37 => 0x18, 0x38 => 0x19, 0x39 => 0x1a, 0x3a => 0x1b, 0x3b => 0x1c, 0x3c => 0x1d, 0x3d => 0x1e, 0x3e => 0x1f, 0x3f => 0x20, 0x2245 => 0x21, 0x391 => 0x22, 0x392 => 0x23, 0x3a7 => 0x24, 0x2206 => 0x25, 0x395 => 0x26, 0x3a6 => 0x27, 0x393 => 0x28, 0x397 => 0x29, 0x399 => 0x2a, 0x3d1 => 0x2b, 0x39a => 0x2c, 0x39b => 0x2d, 0x39c => 0x2e, 0x39d => 0x2f, 0x39f => 0x30, 0x3a0 => 0x31, 0x398 => 0x32, 0x3a1 => 0x33, 0x3a3 => 0x34, 0x3a4 => 0x35, 0x3a5 => 0x36, 0x3c2 => 0x37, 0x2126 => 0x38, 0x39e => 0x39, 0x3a8 => 0x3a, 0x396 => 0x3b, 0x5b => 0x3c, 0x2234 => 0x3d, 0x5d => 0x3e, 0x22a5 => 0x3f, 0x5f => 0x40, 0xf8e5 => 0x41, 0x3b1 => 0x42, 0x3b2 => 0x43, 0x3c7 => 0x44, 0x3b4 => 0x45, 0x3b5 => 0x46, 0x3c6 => 0x47, 0x3b3 => 0x48, 0x3b7 => 0x49, 0x3b9 => 0x4a, 0x3d5 => 0x4b, 0x3ba => 0x4c, 0x3bb => 0x4d, 0xb5 => 0x4e, 0x3bd => 0x4f, 0x3bf => 0x50, 0x3c0 => 0x51, 0x3b8 => 0x52, 0x3c1 => 0x53, 0x3c3 => 0x54, 0x3c4 => 0x55, 0x3c5 => 0x56, 0x3d6 => 0x57, 0x3c9 => 0x58, 0x3be => 0x59, 0x3c8 => 0x5a, 0x3b6 => 0x5b, 0x7b => 0x5c, 0x7c => 0x5d, 0x7d => 0x5e, 0x223c => 0x5f, 0x20ac => 0x60, 0x3d2 => 0x61, 0x2032 => 0x62, 0x2264 => 0x63, 0x2044 => 0x64, 0x221e => 0x65, 0x192 => 0x66, 0x2663 => 0x67, 0x2666 => 0x68, 0x2665 => 0x69, 0x2660 => 0x6a, 0x2194 => 0x6b, 0x2190 => 0x6c, 0x2191 => 0x6d, 0x2192 => 0x6e, 0x2193 => 0x6f, 0xb0 => 0x70, 0xb1 => 0x71, 0x2033 => 0x72, 0x2265 => 0x73, 0xd7 => 0x74, 0x221d => 0x75, 0x2202 => 0x76, 0x2022 => 0x77, 0xf7 => 0x78, 0x2260 => 0x79, 0x2261 => 0x7a, 0x2248 => 0x7b, 0x2026 => 0x7c, 0xf8e6 => 0x7d, 0xf8e7 => 0x7e, 0x21b5 => 0x7f, 0x2135 => 0x80, 0x2111 => 0x81, 0x211c => 0x82, 0x2118 => 0x83, 0x2297 => 0x84, 0x2295 => 0x85, 0x2205 => 0x86, 0x2229 => 0x87, 0x222a => 0x88, 0x2283 => 0x89, 0x2287 => 0x8a, 0x2284 => 0x8b, 0x2282 => 0x8c, 0x2286 => 0x8d, 0x2208 => 0x8e, 0x2209 => 0x8f, 0x2220 => 0x90, 0x2207 => 0x91, 0xf6da => 0x92, 0xf6d9 => 0x93, 0xf6db => 0x94, 0x220f => 0x95, 0x221a => 0x96, 0x22c5 => 0x97, 0xac => 0x98, 0x2227 => 0x99, 0x2228 => 0x9a, 0x21d4 => 0x9b, 0x21d0 => 0x9c, 0x21d1 => 0x9d, 0x21d2 => 0x9e, 0x21d3 => 0x9f, 0x25ca => 0xa0, 0x2329 => 0xa1, 0xf8e8 => 0xa2, 0xf8e9 => 0xa3, 0xf8ea => 0xa4, 0x2211 => 0xa5, 0xf8eb => 0xa6, 0xf8ec => 0xa7, 0xf8ed => 0xa8, 0xf8ee => 0xa9, 0xf8ef => 0xaa, 0xf8f0 => 0xab, 0xf8f1 => 0xac, 0xf8f2 => 0xad, 0xf8f3 => 0xae, 0xf8f4 => 0xaf, 0x232a => 0xb0, 0x222b => 0xb1, 0x2320 => 0xb2, 0xf8f5 => 0xb3, 0x2321 => 0xb4, 0xf8f6 => 0xb5, 0xf8f7 => 0xb6, 0xf8f8 => 0xb7, 0xf8f9 => 0xb8, 0xf8fa => 0xb9, 0xf8fb => 0xba, 0xf8fc => 0xbb, 0xf8fd => 0xbc, 0xf8fe => 0xbd, 0xf8ff => 0xbe]
$glyphWidths
Font glyph widths
protected
array<string|int, mixed>
$glyphWidths
= [0x0 => 0x1f4, 0x1 => 0xfa, 0x2 => 0x14d, 0x3 => 0x2c9, 0x4 => 0x1f4, 0x5 => 0x225, 0x6 => 0x341, 0x7 => 0x30a, 0x8 => 0x1b7, 0x9 => 0x14d, 0xa => 0x14d, 0xb => 0x1f4, 0xc => 0x225, 0xd => 0xfa, 0xe => 0x225, 0xf => 0xfa, 0x10 => 0x116, 0x11 => 0x1f4, 0x12 => 0x1f4, 0x13 => 0x1f4, 0x14 => 0x1f4, 0x15 => 0x1f4, 0x16 => 0x1f4, 0x17 => 0x1f4, 0x18 => 0x1f4, 0x19 => 0x1f4, 0x1a => 0x1f4, 0x1b => 0x116, 0x1c => 0x116, 0x1d => 0x225, 0x1e => 0x225, 0x1f => 0x225, 0x20 => 0x1bc, 0x21 => 0x225, 0x22 => 0x2d2, 0x23 => 0x29b, 0x24 => 0x2d2, 0x25 => 0x264, 0x26 => 0x263, 0x27 => 0x2fb, 0x28 => 0x25b, 0x29 => 0x2d2, 0x2a => 0x14d, 0x2b => 0x277, 0x2c => 0x2d2, 0x2d => 0x2ae, 0x2e => 0x379, 0x2f => 0x2d2, 0x30 => 0x2d2, 0x31 => 0x300, 0x32 => 0x2e5, 0x33 => 0x22c, 0x34 => 0x250, 0x35 => 0x263, 0x36 => 0x2b2, 0x37 => 0x1b7, 0x38 => 0x300, 0x39 => 0x285, 0x3a => 0x31b, 0x3b => 0x263, 0x3c => 0x14d, 0x3d => 0x35f, 0x3e => 0x14d, 0x3f => 0x292, 0x40 => 0x1f4, 0x41 => 0x1f4, 0x42 => 0x277, 0x43 => 0x225, 0x44 => 0x225, 0x45 => 0x1ee, 0x46 => 0x1b7, 0x47 => 0x209, 0x48 => 0x19b, 0x49 => 0x25b, 0x4a => 0x149, 0x4b => 0x25b, 0x4c => 0x225, 0x4d => 0x225, 0x4e => 0x240, 0x4f => 0x209, 0x50 => 0x225, 0x51 => 0x225, 0x52 => 0x209, 0x53 => 0x225, 0x54 => 0x25b, 0x55 => 0x1b7, 0x56 => 0x240, 0x57 => 0x2c9, 0x58 => 0x2ae, 0x59 => 0x1ed, 0x5a => 0x2ae, 0x5b => 0x1ee, 0x5c => 0x1e0, 0x5d => 0xc8, 0x5e => 0x1e0, 0x5f => 0x225, 0x60 => 0x2ee, 0x61 => 0x26c, 0x62 => 0xf7, 0x63 => 0x225, 0x64 => 0xa7, 0x65 => 0x2c9, 0x66 => 0x1f4, 0x67 => 0x2f1, 0x68 => 0x2f1, 0x69 => 0x2f1, 0x6a => 0x2f1, 0x6b => 0x412, 0x6c => 0x3db, 0x6d => 0x25b, 0x6e => 0x3db, 0x6f => 0x25b, 0x70 => 0x190, 0x71 => 0x225, 0x72 => 0x19b, 0x73 => 0x225, 0x74 => 0x225, 0x75 => 0x2c9, 0x76 => 0x1ee, 0x77 => 0x1cc, 0x78 => 0x225, 0x79 => 0x225, 0x7a => 0x225, 0x7b => 0x225, 0x7c => 0x3e8, 0x7d => 0x25b, 0x7e => 0x3e8, 0x7f => 0x292, 0x80 => 0x337, 0x81 => 0x2ae, 0x82 => 0x31b, 0x83 => 0x3db, 0x84 => 0x300, 0x85 => 0x300, 0x86 => 0x337, 0x87 => 0x300, 0x88 => 0x300, 0x89 => 0x2c9, 0x8a => 0x2c9, 0x8b => 0x2c9, 0x8c => 0x2c9, 0x8d => 0x2c9, 0x8e => 0x2c9, 0x8f => 0x2c9, 0x90 => 0x300, 0x91 => 0x2c9, 0x92 => 0x316, 0x93 => 0x316, 0x94 => 0x37a, 0x95 => 0x337, 0x96 => 0x225, 0x97 => 0xfa, 0x98 => 0x2c9, 0x99 => 0x25b, 0x9a => 0x25b, 0x9b => 0x412, 0x9c => 0x3db, 0x9d => 0x25b, 0x9e => 0x3db, 0x9f => 0x25b, 0xa0 => 0x1ee, 0xa1 => 0x149, 0xa2 => 0x316, 0xa3 => 0x316, 0xa4 => 0x312, 0xa5 => 0x2c9, 0xa6 => 0x180, 0xa7 => 0x180, 0xa8 => 0x180, 0xa9 => 0x180, 0xaa => 0x180, 0xab => 0x180, 0xac => 0x1ee, 0xad => 0x1ee, 0xae => 0x1ee, 0xaf => 0x1ee, 0xb0 => 0x149, 0xb1 => 0x112, 0xb2 => 0x2ae, 0xb3 => 0x2ae, 0xb4 => 0x2ae, 0xb5 => 0x180, 0xb6 => 0x180, 0xb7 => 0x180, 0xb8 => 0x180, 0xb9 => 0x180, 0xba => 0x180, 0xbb => 0x1ee, 0xbc => 0x1ee, 0xbd => 0x1ee, 0xbe => 0x316]
$unitsPerEm
Font units per em
protected
int
$unitsPerEm
= 1000
Methods
getGlyphWidth()
Get character glyph width
public
getGlyphWidth(int $code) : mixed
Parameters
- $code : int
getUnitsPerEm()
Get units per em
public
getUnitsPerEm() : int