|  | @@ 453-460 (lines=8) @@ | 
                                                            
                                    | 450 |  | 			$numEncodingTables = TCPDF_STATIC::_getUSHORT($font, $offset); | 
                                                            
                                    | 451 |  | 			$offset += 2; | 
                                                            
                                    | 452 |  | 			$encodingTables = array(); | 
                                                            
                                    | 453 |  | 			for ($i = 0; $i < $numEncodingTables; ++$i) { | 
                                                            
                                    | 454 |  | 				$encodingTables[$i]['platformID'] = TCPDF_STATIC::_getUSHORT($font, $offset); | 
                                                            
                                    | 455 |  | 				$offset += 2; | 
                                                            
                                    | 456 |  | 				$encodingTables[$i]['encodingID'] = TCPDF_STATIC::_getUSHORT($font, $offset); | 
                                                            
                                    | 457 |  | 				$offset += 2; | 
                                                            
                                    | 458 |  | 				$encodingTables[$i]['offset'] = TCPDF_STATIC::_getULONG($font, $offset); | 
                                                            
                                    | 459 |  | 				$offset += 4; | 
                                                            
                                    | 460 |  | 			} | 
                                                            
                                    | 461 |  | 			// ---------- get os/2 metrics ---------- | 
                                                            
                                    | 462 |  | 			$offset = $table['OS/2']['offset']; | 
                                                            
                                    | 463 |  | 			$offset += 2; // skip version | 
                                                                                
                                |  | @@ 1008-1015 (lines=8) @@ | 
                                                            
                                    | 1005 |  | 		$numEncodingTables = TCPDF_STATIC::_getUSHORT($font, $offset); | 
                                                            
                                    | 1006 |  | 		$offset += 2; | 
                                                            
                                    | 1007 |  | 		$encodingTables = array(); | 
                                                            
                                    | 1008 |  | 		for ($i = 0; $i < $numEncodingTables; ++$i) { | 
                                                            
                                    | 1009 |  | 			$encodingTables[$i]['platformID'] = TCPDF_STATIC::_getUSHORT($font, $offset); | 
                                                            
                                    | 1010 |  | 			$offset += 2; | 
                                                            
                                    | 1011 |  | 			$encodingTables[$i]['encodingID'] = TCPDF_STATIC::_getUSHORT($font, $offset); | 
                                                            
                                    | 1012 |  | 			$offset += 2; | 
                                                            
                                    | 1013 |  | 			$encodingTables[$i]['offset'] = TCPDF_STATIC::_getULONG($font, $offset); | 
                                                            
                                    | 1014 |  | 			$offset += 4; | 
                                                            
                                    | 1015 |  | 		} | 
                                                            
                                    | 1016 |  | 		foreach ($encodingTables as $enctable) { | 
                                                            
                                    | 1017 |  | 			// get all platforms and encodings | 
                                                            
                                    | 1018 |  | 			$offset = $table['cmap']['offset'] + $enctable['offset']; |