Lines Matching defs:length
239 $record['length'] = $this->read_ulong();
251 if ($t['length'] > 0 && $t['length'] < $this->maxStrLenRead) { // 1.02
252 $table = $this->get_chunk($t['offset'], $t['length']);
309 $length = isset($this->tables[$tag]['length']) ? $this->tables[$tag]['length'] : null;
311 return [$offset, $length];
433 function get_chunk($pos, $length)
436 if ($length < 1) {
440 return (fread($this->fh, $length));
445 list($pos, $length) = $this->get_table_pos($tag);
446 if ($length == 0) {
451 return (fread($this->fh, $length));
488 $length = $this->read_ushort();
497 if ($length % 2 != 0) {
498 throw new \Mpdf\Exception\FontException("Error loading font: PostScript name is UTF-16BE string of odd length");
500 $length /= 2;
502 while ($length > 0) {
505 $length -= 1;
512 $N = $this->get_chunk($string_data_offset + $offset, $length);
646 $this->_pos += 10; //PANOSE = 10 byte length
805 $length = $this->read_ulong();
806 $limit = $unicode_cmap_offset + $length;
4192 $length = $this->read_ushort();
4193 $limit = $unicode_cmap_offset + $length;