Lines Matching refs:file

1504         $file = $g_font_resolver_pdf->ttf_mappings[$family];
1509 $file = substr($file, 0, strlen($file) - 4);
1515 MakeFont(TTF_FONTS_REPOSITORY.$file.'.ttf',
1516 TTF_FONTS_REPOSITORY.$file.'.afm',
1923 function AddFont($fontkey, $family, $encoding, $file, $bEmbed) { argument
1928 $filepath = $this->_getfontpath().$file;
1934 if (!$bEmbed) { $file = ''; };
1949 'file' =>$file);
1977 if ($file) {
1979 $this->FontFiles[$file]=array('length1'=>$originalsize);
1981 $this->FontFiles[$file]=array('length1'=>$size1,'length2'=>$size2);
2084 function Image($file, $x, $y, $w, $h) { argument
2086 if (!isset($this->images[$file])) {
2087 $ext = pathinfo($file, PATHINFO_EXTENSION);
2091 $info = $this->_parsejpg($file);
2094 $info = $this->_parsepng($file);
2099 $this->images[$file] = $info;
2102 $info = $this->images[$file];
2230 foreach ($this->FontFiles as $file=>$info) {
2233 $this->FontFiles[$file]['n'] = $this->n;
2235 $f=fopen($this->_getfontpath().$file,'rb',1);
2243 $compressed=(substr($file,-2)=='.z');
2340 while (list($file,$info) = each($this->images)) {
2342 $this->images[$file]['n']=$this->n;
2374 unset($this->images[$file]['data']);
2559 function _parsejpg($file) { argument
2560 $size_info = GetImageSize($file);
2562 $this->Error('Missing or incorrect image file: '.$file);
2566 $this->Error('Not a JPEG file: '.$file);
2580 $f=fopen($file,'rb');
2596 function _parsepng($file) { argument
2597 $f = fopen($file,'rb');
2599 $this->Error('Can\'t open image file: '.$file);
2604 $this->Error('Not a PNG file: '.$file);
2610 $this->Error('Incorrect PNG file: '.$file);
2618 $this->Error('16-bit depth not supported: '.$file);
2629 $this->Error('Alpha channel not supported: '.$file);
2633 $this->Error('Unknown compression method: '.$file);
2637 $this->Error('Unknown filter method: '.$file);
2641 $this->Error('Interlacing not supported: '.$file);
2684 $this->Error('Missing palette in '.$file);