DOCROOT/media/fpdf/font/unifont/ttfonts.php [ 496 ]
491 /////////////////////////////////////////////////////////////////////////////////////////
492
493
494 function makeSubset($file, &$subset) {
495 $this->filename = $file;
496 $this->fh = fopen($file ,'rb') or die('Can\'t open file ' . $file);
497 $this->_pos = 0;
498 $this->charWidths = '';
499 $this->glyphPos = array();
500 $this->charToGlyph = array();
501 $this->tables = array();
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(125) "fopen(/home/users/optimal/public_html/eng/media/fpdf/font/unifont/Lato.ttf): failed to open stream: No such file or directory"
2
string(72) "/home/users/optimal/public_html/eng1/media/fpdf/font/unifont/ttfonts.php"
3
integer 496
4
array(2) ( "file" => string(68) "/home/users/optimal/public_html/eng/media/fpdf/font/unifont/Lato.ttf" "subset" => array(93) ( 1 => integer 1 2 => integer 2 3 => integer 3 4 => integer 4 5 => integer 5 6 => integer 6 7 => integer 7 8 => integer 8 9 => integer 9 10 => integer 10 11 => integer 11 12 => integer 12 13 => integer 13 14 => integer 14 15 => integer 15 16 => integer 16 17 => integer 17 18 => integer 18 19 => integer 19 20 => integer 20 21 => integer 21 22 => integer 22 23 => integer 23 24 => integer 24 25 => integer 25 26 => integer 26 27 => integer 27 28 => integer 28 29 => integer 29 30 => integer 30 31 => integer 31 32 => integer 32 33 => integer 33 34 => integer 34 35 => integer 35 36 => integer 36 37 => integer 37 38 => integer 38 39 => integer 39 40 => integer 40 41 => integer 41 42 => integer 42 43 => integer 43 44 => integer 44 45 => integer 45 46 => integer 46 47 => integer 47 48 => integer 48 49 => integer 49 50 => integer 50 51 => integer 51 52 => integer 52 53 => integer 53 54 => integer 54 55 => integer 55 56 => integer 56 57 => integer 57 78 => integer 78 97 => integer 97 122 => integer 122 119 => integer 119 58 => integer 58 65 => integer 65 76 => integer 76 67 => integer 67 84 => integer 84 82 => integer 82 90 => integer 90 100 => integer 100 114 => integer 114 101 => integer 101 115 => integer 115 87 => integer 87 121 => integer 121 111 => integer 111 108 => integer 108 110 => integer 110 105 => integer 105 102 => integer 102 109 => integer 109 98 => integer 98 107 => integer 107 99 => integer 99 104 => integer 104 112 => integer 112 117 => integer 117 116 => integer 116 70 => integer 70 120 => integer 120 103 => integer 103 80 => integer 80 106 => integer 106 79 => integer 79 ) )
-
DOCROOT/media/fpdf/font/unifont/ttfonts.php [ 496 ] » fopen(arguments)
filename
string(68) "/home/users/optimal/public_html/eng/media/fpdf/font/unifont/Lato.ttf"
mode
string(2) "rb"
491 ///////////////////////////////////////////////////////////////////////////////////////// 492 493 494 function makeSubset($file, &$subset) { 495 $this->filename = $file; 496 $this->fh = fopen($file ,'rb') or die('Can\'t open file ' . $file); 497 $this->_pos = 0; 498 $this->charWidths = ''; 499 $this->glyphPos = array(); 500 $this->charToGlyph = array(); 501 $this->tables = array();
-
MODPATH/pois/classes/tfpdf.php [ 1847 ] » TTFontFile->makeSubset(arguments)
0
string(68) "/home/users/optimal/public_html/eng/media/fpdf/font/unifont/Lato.ttf"
1
array(93) ( 1 => integer 1 2 => integer 2 3 => integer 3 4 => integer 4 5 => integer 5 6 => integer 6 7 => integer 7 8 => integer 8 9 => integer 9 10 => integer 10 11 => integer 11 12 => integer 12 13 => integer 13 14 => integer 14 15 => integer 15 16 => integer 16 17 => integer 17 18 => integer 18 19 => integer 19 20 => integer 20 21 => integer 21 22 => integer 22 23 => integer 23 24 => integer 24 25 => integer 25 26 => integer 26 27 => integer 27 28 => integer 28 29 => integer 29 30 => integer 30 31 => integer 31 32 => integer 32 33 => integer 33 34 => integer 34 35 => integer 35 36 => integer 36 37 => integer 37 38 => integer 38 39 => integer 39 40 => integer 40 41 => integer 41 42 => integer 42 43 => integer 43 44 => integer 44 45 => integer 45 46 => integer 46 47 => integer 47 48 => integer 48 49 => integer 49 50 => integer 50 51 => integer 51 52 => integer 52 53 => integer 53 54 => integer 54 55 => integer 55 56 => integer 56 57 => integer 57 78 => integer 78 97 => integer 97 122 => integer 122 119 => integer 119 58 => integer 58 65 => integer 65 76 => integer 76 67 => integer 67 84 => integer 84 82 => integer 82 90 => integer 90 100 => integer 100 114 => integer 114 101 => integer 101 115 => integer 115 87 => integer 87 121 => integer 121 111 => integer 111 108 => integer 108 110 => integer 110 105 => integer 105 102 => integer 102 109 => integer 109 98 => integer 98 107 => integer 107 99 => integer 99 104 => integer 104 112 => integer 112 117 => integer 117 116 => integer 116 70 => integer 70 120 => integer 120 103 => integer 103 80 => integer 80 106 => integer 106 79 => integer 79 )
1842 require_once($this->_getfontpath().'unifont/ttfonts.php'); 1843 $ttf = new TTFontFile(); 1844 $fontname = 'MPDFAA'.'+'.$font['name']; 1845 $subset = $font['subset']; 1846 unset($subset[0]); 1847 $ttfontstream = $ttf->makeSubset($font['ttffile'], $subset); 1848 $ttfontsize = strlen($ttfontstream); 1849 $fontstream = gzcompress($ttfontstream); 1850 $codeToGlyph = $ttf->codeToGlyph; 1851 unset($codeToGlyph[0]); 1852
-
MODPATH/pois/classes/tfpdf.php [ 2150 ] » tFPDF->_putfonts()
2145 $this->_out('>>'); 2146 } 2147 2148 function _putresources() 2149 { 2150 $this->_putfonts(); 2151 $this->_putimages(); 2152 // Resource dictionary 2153 $this->offsets[2] = strlen($this->buffer); 2154 $this->_out('2 0 obj'); 2155 $this->_out('<<');
-
MODPATH/pois/classes/tfpdf.php [ 2213 ] » tFPDF->_putresources()
2208 2209 function _enddoc() 2210 { 2211 $this->_putheader(); 2212 $this->_putpages(); 2213 $this->_putresources(); 2214 // Info 2215 $this->_newobj(); 2216 $this->_out('<<'); 2217 $this->_putinfo(); 2218 $this->_out('>>');
-
MODPATH/pois/classes/tfpdf.php [ 296 ] » tFPDF->_enddoc()
291 $this->Footer(); 292 $this->InFooter = false; 293 // Close page 294 $this->_endpage(); 295 // Close document 296 $this->_enddoc(); 297 } 298 299 function AddPage($orientation='', $size='') 300 { 301 // Start a new page
-
MODPATH/pois/classes/tfpdf.php [ 1181 ] » tFPDF->Close()
1176 1177 function Output($name='', $dest='') 1178 { 1179 // Output PDF to some destination 1180 if($this->state<3) 1181 $this->Close(); 1182 $dest = strtoupper($dest); 1183 if($dest=='') 1184 { 1185 if($name=='') 1186 {
-
MODPATH/pois/classes/controller/frontend/pois.php [ 237 ] » tFPDF->Output()
232 } 233 $pdf->WriteHTML(__("Opis:").' '.$this->no_data($categorie->description)); 234 } 235 236 } 237 $this->template = $pdf->Output(); 238 exit; 239 } 240 private function no_data($txt){ 241 if(empty($txt)) 242 return __('brak danych');
-
{PHP internal call} » Controller_Frontend_Pois->action_pdf(arguments)
0
string(7) "turysta"
1
string(10) "gastronomy"
2
string(1) "1"
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Frontend_Pois(5)
{ private base_translate => array(7) ( "poi" => string(3) "poi" "accommodations" => string(13) "accommodation" "gastronomy" => string(10) "gastronomy" "skiresorts" => string(9) "skiresort" "trail" => string(5) "trail" "attractions" => string(10) "attraction" "attraction" => string(10) "attraction" ) private model_accept => array(6) ( 0 => string(3) "poi" 1 => string(13) "accommodation" 2 => string(10) "gastronomy" 3 => string(9) "skiresort" 4 => string(5) "trail" 5 => string(10) "attraction" ) public template => object View(2)
{ protected _file => string(87) "/home/users/optimal/public_html/eng1/application/views/frontend/turysta/layout/main.php" protected _data => array(0) }
public auto_render => bool TRUE public request => object Request(9){ public route => object Route(4)
}{ protected _uri => string(29) "<zone>(/pois)/<base>/<id>/pdf" protected _regex => array(3) ( "zone" => string(7) "turysta" "base" => string(69) "poi|accommodations|gastronomy|skiresorts|trail|attractions|attraction" "id" => string(8) "([0-9]+)" ) protected _defaults => array(4) ( "controller" => string(4) "pois" "action" => string(3) "pdf" "directory" => string(8) "frontend" "id" => bool FALSE ) protected _route_regex => string(134) "#^(?P<zone>turysta)(?:/pois)?/(?P<base>poi|accommodations|gastronomy|skiresorts|trail|attractions|attraction)/(?P<id>([0-9]+))/p …" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(8) "frontend" public controller => string(4) "pois" public action => string(3) "pdf" public uri => string(24) "turysta/gastronomy/1/pdf" protected _params => array(3) ( "zone" => string(7) "turysta" "base" => string(10) "gastronomy" "id" => string(1) "1" ) }1
array(3) ( "zone" => string(7) "turysta" "base" => string(10) "gastronomy" "id" => string(1) "1" )
1107 1108 // Determine the action to use 1109 $action = empty($this->action) ? Route::$default_action : $this->action; 1110 1111 // Execute the main action with the parameters 1112 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1113 1114 // Execute the "after action" method 1115 $class->getMethod('after')->invoke($controller); 1116 } 1117 catch (Exception $e)
-
APPPATH/bootstrap.php [ 282 ] » Kohana_Request->execute()
277 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 278 * If no source is specified, the URI will be automatically detected. 279 */ 280 $tmp = explode('/',Request::instance()->uri); 281 try { 282 $request = Request::instance()->execute(); 283 } catch(ReflectionException $e) { 284 //$request = Request::factory(I18n::lang() . '/errors/404')->execute(); 285 $request = Request::factory($tmp[0].'/errors/404')->execute(); 286 } catch(Http404Exception $e) { 287 //$request = Request::factory(I18n::lang() . '/errors/404')->execute();
-
DOCROOT/index.php [ 119 ] » require(arguments)
0
string(62) "/home/users/optimal/public_html/eng1/application/bootstrap.php"
114 // Load empty core extension 115 require SYSPATH.'classes/kohana'.EXT; 116 } 117 118 // Bootstrap the application 119 require APPPATH.'bootstrap'.EXT;