├── .project ├── admin.php ├── css ├── admin.css ├── index.css ├── login.css ├── map.css ├── registration.css └── secgen.css ├── data_pdf.php ├── fpdf181 ├── .DS_Store ├── FAQ.htm ├── changelog.htm ├── doc │ ├── __construct.htm │ ├── acceptpagebreak.htm │ ├── addfont.htm │ ├── addlink.htm │ ├── addpage.htm │ ├── aliasnbpages.htm │ ├── cell.htm │ ├── close.htm │ ├── error.htm │ ├── footer.htm │ ├── getpageheight.htm │ ├── getpagewidth.htm │ ├── getstringwidth.htm │ ├── getx.htm │ ├── gety.htm │ ├── header.htm │ ├── image.htm │ ├── index.htm │ ├── line.htm │ ├── link.htm │ ├── ln.htm │ ├── multicell.htm │ ├── output.htm │ ├── pageno.htm │ ├── rect.htm │ ├── setauthor.htm │ ├── setautopagebreak.htm │ ├── setcompression.htm │ ├── setcreator.htm │ ├── setdisplaymode.htm │ ├── setdrawcolor.htm │ ├── setfillcolor.htm │ ├── setfont.htm │ ├── setfontsize.htm │ ├── setkeywords.htm │ ├── setleftmargin.htm │ ├── setlinewidth.htm │ ├── setlink.htm │ ├── setmargins.htm │ ├── setrightmargin.htm │ ├── setsubject.htm │ ├── settextcolor.htm │ ├── settitle.htm │ ├── settopmargin.htm │ ├── setx.htm │ ├── setxy.htm │ ├── sety.htm │ ├── text.htm │ └── write.htm ├── font │ ├── courier.php │ ├── courierb.php │ ├── courierbi.php │ ├── courieri.php │ ├── helvetica.php │ ├── helveticab.php │ ├── helveticabi.php │ ├── helveticai.php │ ├── symbol.php │ ├── times.php │ ├── timesb.php │ ├── timesbi.php │ ├── timesi.php │ └── zapfdingbats.php ├── fpdf.css ├── fpdf.php ├── install.txt ├── license.txt ├── makefont │ ├── cp1250.map │ ├── cp1251.map │ ├── cp1252.map │ ├── cp1253.map │ ├── cp1254.map │ ├── cp1255.map │ ├── cp1257.map │ ├── cp1258.map │ ├── cp874.map │ ├── iso-8859-1.map │ ├── iso-8859-11.map │ ├── iso-8859-15.map │ ├── iso-8859-16.map │ ├── iso-8859-2.map │ ├── iso-8859-4.map │ ├── iso-8859-5.map │ ├── iso-8859-7.map │ ├── iso-8859-9.map │ ├── koi8-r.map │ ├── koi8-u.map │ ├── makefont.php │ └── ttfparser.php └── tutorial │ ├── 20k_c1.txt │ ├── 20k_c2.txt │ ├── calligra.php │ ├── calligra.ttf │ ├── calligra.z │ ├── countries.txt │ ├── index.htm │ ├── logo.png │ ├── makefont.php │ ├── tuto1.htm │ ├── tuto1.php │ ├── tuto2.htm │ ├── tuto2.php │ ├── tuto3.htm │ ├── tuto3.php │ ├── tuto4.htm │ ├── tuto4.php │ ├── tuto5.htm │ ├── tuto5.php │ ├── tuto6.htm │ ├── tuto6.php │ ├── tuto7.htm │ └── tuto7.php ├── html └── initialise.php ├── images ├── bg.png ├── bgadmin.png ├── blue_flag.svg ├── btest.png ├── flag.svg └── red_flag.svg ├── index.php ├── js ├── dialog.js ├── dialogindex.js ├── hometimer.js ├── jquery_form.js ├── loginpopup.js ├── main.js ├── register.js └── timer.js ├── main.php ├── noti ├── notify.js └── notify.min.js ├── sql └── secgen.sql └── template ├── SideStatusUpdate.php ├── announce.php ├── chat.php ├── connection.php ├── dbupdate.php ├── flagcheck.php ├── gethint.php ├── logincheck.php ├── logout.php ├── noti.php ├── register.php ├── sidestatus.php ├── teamscoreboard.php ├── time.php ├── userscoreboard.php ├── viewchat.php ├── viewhint.php └── viewlog.php /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | secgen 4 | 5 | 6 | 7 | 8 | 9 | 10 | com.aptana.projects.webnature 11 | com.aptana.editor.php.phpNature 12 | 13 | 14 | -------------------------------------------------------------------------------- /css/admin.css: -------------------------------------------------------------------------------- 1 | /*------------- Admin CSS ------------------------*/ 2 | body{ 3 | font-family: 'Iceland', cursive; 4 | color:#ABD17D; 5 | } 6 | 7 | a{ 8 | text-decoration: none; 9 | } 10 | 11 | #wrapper{ 12 | width:81%; 13 | height:80%; 14 | margin:5% auto; 15 | float:none; 16 | border:solid 1px #ABD17D; 17 | border-radius:0.3em; 18 | background:#111; 19 | } 20 | 21 | #menu{ 22 | width:20%; 23 | height:auto; 24 | float:left; 25 | } 26 | 27 | #content{ 28 | width:80%; 29 | height:auto; 30 | float:right; 31 | } 32 | 33 | #head{ 34 | color:#ABD17D; 35 | } 36 | 37 | #browse input{ 38 | background:inherit; 39 | color:#ABD17D; 40 | } 41 | 42 | h1{ 43 | width:100%; 44 | padding:10px; 45 | font-size:x-large; 46 | text-align:center; 47 | color:#ABD17D; 48 | } 49 | 50 | span{ 51 | display:block; 52 | padding:10px; 53 | font-size: large; 54 | text-align:center; 55 | border:solid 1px #ABD17D; 56 | color:#ABD17D; 57 | margin-top:1.5%; 58 | border-radius:2em; 59 | cursor: pointer; 60 | } 61 | 62 | span:hover{ 63 | background:#ABD17D; 64 | color:#000000; 65 | } 66 | 67 | input, select{ 68 | font-family: 'Iceland', cursive; 69 | outline: none; 70 | } 71 | 72 | textarea{ 73 | width:80%; 74 | margin-left:10%; 75 | padding:2%; 76 | color:#ABD17D; 77 | font-size: large; 78 | font-family: 'Iceland', cursive; 79 | background:inherit; 80 | border:solid 1px #ABD17D; 81 | border-radius: 0.7em; 82 | outline: none; 83 | } 84 | 85 | #ann_submit{ 86 | margin-right:6%; 87 | width:10%; 88 | height:10%; 89 | padding:10px; 90 | background:inherit; 91 | border-radius:2em; 92 | float:right; 93 | margin-top:2%; 94 | color:#ABD17D; 95 | font-size:medium; 96 | border:solid 1px #ABD17D; 97 | } 98 | 99 | #ann_submit:hover{ 100 | background:#ABD17D; 101 | color:#000000; 102 | cursor: pointer; 103 | } 104 | /*--------team----------------*/ 105 | table{ 106 | color:#ABD17D; 107 | width:80%; 108 | margin:0px auto; 109 | } 110 | 111 | table tr th, td{ 112 | width:33.33%; 113 | 114 | } 115 | 116 | table, th, td { 117 | border: 1px solid #435e21; 118 | border-collapse: collapse; 119 | } 120 | 121 | .table_heading{ 122 | background:#111; 123 | } 124 | 125 | th, td { 126 | padding: 15px; 127 | } 128 | 129 | #team-div{ 130 | width:80%; 131 | margin:0px auto; 132 | } 133 | 134 | #token-div-add{ 135 | width:80%; 136 | margin:0px auto 2% auto;; 137 | } 138 | 139 | select{ 140 | width:100%; 141 | height:10%; 142 | line-height:10%; 143 | padding:0px; 144 | margin:0px; 145 | background:inherit; 146 | color:#ABD17D; 147 | border:solid 1px #ABD17D; 148 | padding:3%; 149 | } 150 | 151 | select option{ 152 | width:100%; 153 | height:10%; 154 | background:#111; 155 | } 156 | 157 | #token-div-add input{ 158 | width:100%; 159 | height:10%; 160 | padding-top:3%; 161 | padding-bottom:3%; 162 | background:inherit; 163 | font-size: large; 164 | color:#ABD17D; 165 | border:solid 1px #ABD17D; 166 | } 167 | 168 | #token-input-1{ 169 | padding-left:1%; 170 | text-align:center; 171 | } 172 | 173 | #token-input-2{ 174 | border-radius: 1em; 175 | cursor: pointer; 176 | } 177 | 178 | #token-input-2:hover{ 179 | background:#ABD17D; 180 | color:#000000; 181 | } 182 | 183 | #team-submit-btn input:hover{ 184 | background:#ABD17D; 185 | color:#000000; 186 | cursor:pointer; 187 | } 188 | 189 | /*--------------- ScrollBar -------------------*/ 190 | ::-webkit-scrollbar { 191 | width: 6px; 192 | height: 6px; 193 | } 194 | ::-webkit-scrollbar-button { 195 | width: 0px; 196 | height: 0px; 197 | } 198 | ::-webkit-scrollbar-thumb { 199 | background: #ceb342; 200 | border: 0px none #ffffff; 201 | border-radius: 50px; 202 | } 203 | ::-webkit-scrollbar-thumb:hover { 204 | background: #faf434; 205 | } 206 | ::-webkit-scrollbar-thumb:active { 207 | background: #000000; 208 | } 209 | ::-webkit-scrollbar-track { 210 | background: #abd17d; 211 | border: 0px none #ffffff; 212 | border-radius: 90px; 213 | } 214 | ::-webkit-scrollbar-track:hover { 215 | background: #41a428; 216 | } 217 | ::-webkit-scrollbar-track:active { 218 | background: #ffff00; 219 | } 220 | ::-webkit-scrollbar-corner { 221 | background: transparent; 222 | } 223 | 224 | /*--------------- Input ---------------------*/ 225 | #pass_chn input{ 226 | margin-top:10px; 227 | padding-left:10px; 228 | box-sizing: border-box; 229 | } 230 | -------------------------------------------------------------------------------- /css/index.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:#33373d; 3 | width:100%; 4 | height:100%; 5 | overflow-y:auto; 6 | overflow-x:hidden; 7 | font-family: 'Iceland', cursive; 8 | color:#ABD17D; 9 | } 10 | .index-div-bg{ 11 | background:url('images/bg.png'); 12 | } 13 | 14 | .logo { 15 | filter: hue-rotate(100deg); 16 | } 17 | 18 | #indxContent{ 19 | width:80%; 20 | height:80%; 21 | border:#ABD17D solid 2px; 22 | margin:5% auto; 23 | padding-bottom:5%; 24 | background: rgba(26, 38, 0, .85); 25 | box-shadow: 0 20px 40px 20px rgba(0, 0, 0, 0.2), 0 20px 40px 20px rgba(0, 0, 0, 0.19); 26 | } 27 | 28 | .index-heading-1, .index-heading-2{ 29 | width:100%; 30 | text-align:center; 31 | } 32 | 33 | .index-heading-1{ 34 | font-size:xx-large; 35 | } 36 | 37 | .index-heading-2{ 38 | /*font comes here*/ 39 | } 40 | 41 | .index-heading-3{ 42 | width:60%; 43 | height:5%; 44 | margin:0px auto; 45 | background:url('images/bg.png'); 46 | text-align:center; 47 | border-radius:2em; 48 | font-family: 'Orbitron', sans-serif; 49 | } 50 | 51 | .index-heading-3 h1{ 52 | padding-top:25px; 53 | font-size:50px; 54 | 55 | } 56 | 57 | .index-option{ 58 | width:90%; 59 | height:10%; 60 | background:#CED187; 61 | margin:0px auto; 62 | margin-top:2%; 63 | } 64 | 65 | .index-option-div{ 66 | width:33.33%; 67 | height:10%; 68 | float:left; 69 | text-align:center; 70 | } 71 | 72 | .index-option-div-inner{ 73 | width:50%; 74 | height:10%; 75 | margin:0px auto; 76 | border:1px solid #ABD17D; 77 | padding: 2%; 78 | border-radius: 1em; 79 | font-size:larger; 80 | cursor:pointer; 81 | } 82 | 83 | .index-option-div-inner:hover{ 84 | background:#ABD17D; 85 | color:black; 86 | } 87 | 88 | #index-option-div-inner-remove{ 89 | background:inherit; 90 | cursor:inherit; 91 | } 92 | 93 | .timer_words{ 94 | font-size:30px; 95 | font-family: 'Iceland', cursive; 96 | } 97 | 98 | #index-option-div-inner-remove{ 99 | border:inherit; 100 | } 101 | 102 | #modal-container{ 103 | width:50%; 104 | border:solid 2px #ABD17D; 105 | border-radius:1em; 106 | background:#1a260d; 107 | } 108 | 109 | .clearfix{ 110 | width:100%; 111 | height:auto; 112 | } 113 | 114 | #modal-container a{ 115 | font-size: xx-large; 116 | float:right; 117 | margin:15px; 118 | color:#ABD17D; 119 | } 120 | 121 | #modal-container a:hover{ 122 | color:orange; 123 | } 124 | #modal-container a:focus{ 125 | outline: none; 126 | } 127 | 128 | .container{ 129 | width:80%; 130 | margin:0px auto; 131 | border:solid 1px #ABD17D; 132 | } 133 | 134 | .container h1{ 135 | text-align:center; 136 | } 137 | 138 | .container input{ 139 | background:inherit; 140 | color:#ABD17D; 141 | border:1px solid #ABD17D; 142 | font-family: 'Iceland', cursive; 143 | font-size:large; 144 | } 145 | 146 | .container input:focus{ 147 | outline-width: 0; 148 | } 149 | 150 | 151 | -------------------------------------------------------------------------------- /css/login.css: -------------------------------------------------------------------------------- 1 | /* Full-width input fields */ 2 | input[type=text], input[type=password] { 3 | width: 100%; 4 | padding: 12px 20px; 5 | margin: 8px 0; 6 | display: inline-block; 7 | border: 1px solid #ccc; 8 | box-sizing: border-box; 9 | } 10 | 11 | /* Set a style for all buttons */ 12 | button { 13 | background-color: #4CAF50; 14 | color: white; 15 | padding: 14px 20px; 16 | margin: 8px 0; 17 | border: none; 18 | cursor: pointer; 19 | width: 100%; 20 | } 21 | 22 | /* Extra styles for the cancel button */ 23 | .cancelbtn { 24 | width: auto; 25 | padding: 10px 18px; 26 | background-color: #f44336; 27 | } 28 | 29 | /* Center the image and position the close button */ 30 | .imgcontainer { 31 | text-align: center; 32 | margin: 24px 0 12px 0; 33 | position: relative; 34 | } 35 | 36 | img.avatar { 37 | width: 40%; 38 | border-radius: 50%; 39 | } 40 | 41 | .container { 42 | padding: 16px; 43 | } 44 | 45 | span.psw { 46 | float: right; 47 | padding-top: 16px; 48 | } 49 | 50 | /* The Modal (background) */ 51 | .modal { 52 | display: none; /* Hidden by default */ 53 | position: fixed; /* Stay in place */ 54 | z-index: 1; /* Sit on top */ 55 | left: 0; 56 | top: 0; 57 | width: 100%; /* Full width */ 58 | height: 100%; /* Full height */ 59 | overflow: auto; /* Enable scroll if needed */ 60 | background-color: rgb(0,0,0); /* Fallback color */ 61 | background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ 62 | padding-top: 60px; 63 | } 64 | 65 | /* Modal Content/Box */ 66 | .modal-content { 67 | background-color: #fefefe; 68 | margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */ 69 | border: 1px solid #888; 70 | width: 80%; /* Could be more or less, depending on screen size */ 71 | } 72 | 73 | /* The Close Button (x) */ 74 | .close { 75 | position: absolute; 76 | right: 25px; 77 | top: 0; 78 | color: #000; 79 | font-size: 35px; 80 | font-weight: bold; 81 | } 82 | 83 | .close:hover, 84 | .close:focus { 85 | color: red; 86 | cursor: pointer; 87 | } 88 | 89 | /* Add Zoom Animation */ 90 | .animate { 91 | -webkit-animation: animatezoom 0.6s; 92 | animation: animatezoom 0.6s 93 | } 94 | 95 | @-webkit-keyframes animatezoom { 96 | from {-webkit-transform: scale(0)} 97 | to {-webkit-transform: scale(1)} 98 | } 99 | 100 | @keyframes animatezoom { 101 | from {transform: scale(0)} 102 | to {transform: scale(1)} 103 | } 104 | 105 | /* Change styles for span and cancel button on extra small screens */ 106 | @media screen and (max-width: 300px) { 107 | span.psw { 108 | display: block; 109 | float: none; 110 | } 111 | .cancelbtn { 112 | width: 100%; 113 | } 114 | } -------------------------------------------------------------------------------- /css/registration.css: -------------------------------------------------------------------------------- 1 | /* Full-width input fields */ 2 | input[type=text], input[type=password] { 3 | width: 100%; 4 | padding: 12px 20px; 5 | margin: 8px 0; 6 | display: inline-block; 7 | border: 1px solid #ccc; 8 | box-sizing: border-box; 9 | } 10 | 11 | /* Set a style for all buttons */ 12 | button { 13 | background-color: #4CAF50; 14 | color: white; 15 | padding: 14px 20px; 16 | margin: 8px 0; 17 | border: none; 18 | cursor: pointer; 19 | width: 100%; 20 | } 21 | 22 | /* Extra styles for the cancel button */ 23 | .cancelbtn { 24 | padding: 14px 20px; 25 | background-color: #f44336; 26 | } 27 | 28 | /* Float cancel and signup buttons and add an equal width */ 29 | .cancelbtn,.signupbtn {float:left;width:50%} 30 | 31 | /* Add padding to container elements */ 32 | .container { 33 | padding: 16px; 34 | } 35 | 36 | /* The Modal (background) */ 37 | .modal { 38 | display: none; /* Hidden by default */ 39 | position: fixed; /* Stay in place */ 40 | z-index: 1; /* Sit on top */ 41 | left: 0; 42 | top: 0; 43 | width: 50%; /* Full width */ 44 | height: 100%; /* Full height */ 45 | overflow: auto; /* Enable scroll if needed */ 46 | background-color: rgb(0,0,0); /* Fallback color */ 47 | background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ 48 | padding-top: 60px; 49 | } 50 | 51 | /* Modal Content/Box */ 52 | .modal-content { 53 | background-color: #fefefe; 54 | margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */ 55 | border: 1px solid #888; 56 | width: 50%; /* Could be more or less, depending on screen size */ 57 | } 58 | 59 | /* The Close Button (x) */ 60 | .close { 61 | position: absolute; 62 | right: 35px; 63 | top: 15px; 64 | color: #000; 65 | font-size: 40px; 66 | font-weight: bold; 67 | } 68 | 69 | .close:hover, 70 | .close:focus { 71 | color: red; 72 | cursor: pointer; 73 | } 74 | 75 | /* Clear floats */ 76 | .clearfix::after { 77 | content: ""; 78 | clear: both; 79 | display: table; 80 | } 81 | 82 | /* Change styles for cancel button and signup button on extra small screens */ 83 | @media screen and (max-width: 300px) { 84 | .cancelbtn, .signupbtn { 85 | width: 100%; 86 | } 87 | } 88 | 89 | #id01{ 90 | width:20%; 91 | height:auto; 92 | } 93 | -------------------------------------------------------------------------------- /css/secgen.css: -------------------------------------------------------------------------------- 1 | #wrapper{ 2 | width:90%; 3 | height:auto; 4 | margin:auto 5% auto auto; 5 | } 6 | 7 | .vm{ 8 | font-size: x-large; 9 | } 10 | 11 | .ip{ 12 | font-size:large; 13 | } 14 | 15 | .grouper{ 16 | width:30%; 17 | height:40%; 18 | margin:auto; 19 | float:left; 20 | margin-right: 3%; 21 | margin-top: 3%; 22 | background: rgba(53,75,27,.5); 23 | } 24 | 25 | .grouper_heading{ 26 | width:100%; 27 | height:10%; 28 | text-align:center; 29 | border:solid 2px #abd17d; 30 | color:#ABD17D; 31 | border-top-left-radius: 1em; 32 | border-top-right-radius: 1em; 33 | border-bottom:solid 1px #abd17d; 34 | background:#111; 35 | } 36 | 37 | .grouper_map{ 38 | width:100%; 39 | height:90%; 40 | float:left; 41 | border:solid 2px #abd17d; 42 | border-bottom-left-radius: 1em; 43 | border-bottom-right-radius: 1em; 44 | } 45 | .grouper_map svg { 46 | float: none; 47 | margin:0px auto; 48 | min-height: 350px; 49 | max-height: 350px; 50 | } 51 | 52 | .grouper_map path{ 53 | margin-left:100px; 54 | stroke:#abd17d; 55 | stroke-width:1px; 56 | transition: fill 0.3s; 57 | 58 | } 59 | 60 | .grouper_map path:hover{ 61 | fill:#ced187; 62 | } 63 | 64 | .map_init{ 65 | color:orange; 66 | margin-left:10px; 67 | } 68 | 69 | -------------------------------------------------------------------------------- /data_pdf.php: -------------------------------------------------------------------------------- 1 | SetY(-15); 15 | // Arial italic 8 16 | $this->SetFont('Arial','I',8); 17 | // Page number 18 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'R'); 19 | } 20 | } 21 | 22 | $pdf = new PDF(); 23 | $pdf->AddPage(); 24 | $pdf->SetFont('Arial','',10); 25 | $pdf->SetFillColor(204,255,255); 26 | $pdf->SetFont('Arial','B',9); 27 | $pdf->Cell(180,10,'Capture The Flag Token',1,'','C',true); 28 | $pdf->Ln(23); 29 | 30 | $sno = 0; 31 | while($row = mysqli_fetch_assoc($result)){ 32 | $pdf->SetFont('Arial','B',9); 33 | $pdf->setFillColor(230,230,230); 34 | $pdf->Cell(10,8,'S.No',1,'','C',true); 35 | $pdf->Cell(80,8,'Team',1,'','C',true); 36 | $pdf->Cell(90,8,'Token',1,'','C',true); 37 | $pdf->Ln(8); 38 | $pdf->SetFont('Arial','',9); 39 | $sno = $sno + 1; 40 | $pdf->Cell(10,8,$sno,1,'','C'); 41 | $pdf->Cell(80,8,$row['TEAM'],1,'','C'); 42 | $pdf->SetFillColor(204,255,255); 43 | $pdf->Cell(90,8,$row['TOKEN'],1,'','C',true); 44 | $pdf->SetTextColor(0,0,0); 45 | $pdf->Ln(20); 46 | } 47 | ob_start(); 48 | $pdf->Output(); 49 | ob_flush(); 50 | 51 | }else{ 52 | header('location:index.php'); 53 | } 54 | ?> -------------------------------------------------------------------------------- /fpdf181/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/fpdf181/.DS_Store -------------------------------------------------------------------------------- /fpdf181/doc/__construct.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | __construct 6 | 7 | 8 | 9 |

__construct

10 | __construct([string orientation [, string unit [, mixed size]]]) 11 |

Description

12 | This is the class constructor. It allows to set up the page size, the orientation and the 13 | unit of measure used in all methods (except for font sizes). 14 |

Parameters

15 |
16 |
orientation
17 |
18 | Default page orientation. Possible values are (case insensitive): 19 | 23 | Default value is P. 24 |
25 |
unit
26 |
27 | User unit. Possible values are: 28 | 34 | A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This 35 | is a very common unit in typography; font sizes are expressed in that unit. 36 |
37 |
38 | Default value is mm. 39 |
40 |
size
41 |
42 | The size used for pages. It can be either one of the following values (case insensitive): 43 | 50 | or an array containing the width and the height (expressed in the unit given by unit).
51 |
52 | Default value is A4. 53 |
54 |
55 |

Example

56 | Example with a custom 100x150 mm page size: 57 |
58 |
$pdf = new FPDF('P','mm',array(100,150));
59 |
60 |
61 |
Index
62 | 63 | 64 | -------------------------------------------------------------------------------- /fpdf181/doc/acceptpagebreak.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AcceptPageBreak 6 | 7 | 8 | 9 |

AcceptPageBreak

10 | boolean AcceptPageBreak() 11 |

Description

12 | Whenever a page break condition is met, the method is called, and the break is issued or not 13 | depending on the returned value. The default implementation returns a value according to the 14 | mode selected by SetAutoPageBreak(). 15 |
16 | This method is called automatically and should not be called directly by the application. 17 |

Example

18 | The method is overriden in an inherited class in order to obtain a 3 column layout: 19 |
20 |
class PDF extends FPDF
21 | {
22 | var $col = 0;
23 | 
24 | function SetCol($col)
25 | {
26 |     // Move position to a column
27 |     $this->col = $col;
28 |     $x = 10+$col*65;
29 |     $this->SetLeftMargin($x);
30 |     $this->SetX($x);
31 | }
32 | 
33 | function AcceptPageBreak()
34 | {
35 |     if($this->col<2)
36 |     {
37 |         // Go to next column
38 |         $this->SetCol($this->col+1);
39 |         $this->SetY(10);
40 |         return false;
41 |     }
42 |     else
43 |     {
44 |         // Go back to first column and issue page break
45 |         $this->SetCol(0);
46 |         return true;
47 |     }
48 | }
49 | }
50 | 
51 | $pdf = new PDF();
52 | $pdf->AddPage();
53 | $pdf->SetFont('Arial','',12);
54 | for($i=1;$i<=300;$i++)
55 |     $pdf->Cell(0,5,"Line $i",0,1);
56 | $pdf->Output();
57 |
58 |

See also

59 | SetAutoPageBreak 60 |
61 |
Index
62 | 63 | 64 | -------------------------------------------------------------------------------- /fpdf181/doc/addfont.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AddFont 6 | 7 | 8 | 9 |

AddFont

10 | AddFont(string family [, string style [, string file]]) 11 |

Description

12 | Imports a TrueType, OpenType or Type1 font and makes it available. It is necessary to generate a font 13 | definition file first with the MakeFont utility. 14 |
15 | The definition file (and the font file itself when embedding) must be present in the font directory. 16 | If it is not found, the error "Could not include font definition file" is raised. 17 |

Parameters

18 |
19 |
family
20 |
21 | Font family. The name can be chosen arbitrarily. If it is a standard family name, it will 22 | override the corresponding font. 23 |
24 |
style
25 |
26 | Font style. Possible values are (case insensitive): 27 | 33 | The default value is regular. 34 |
35 |
file
36 |
37 | The font definition file. 38 |
39 | By default, the name is built from the family and style, in lower case with no space. 40 |
41 |
42 |

Example

43 |
44 |
$pdf->AddFont('Comic','I');
45 |
46 | is equivalent to: 47 |
48 |
$pdf->AddFont('Comic','I','comici.php');
49 |
50 |

See also

51 | SetFont 52 |
53 |
Index
54 | 55 | 56 | -------------------------------------------------------------------------------- /fpdf181/doc/addlink.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AddLink 6 | 7 | 8 | 9 |

AddLink

10 | int AddLink() 11 |

Description

12 | Creates a new internal link and returns its identifier. An internal link is a clickable area 13 | which directs to another place within the document. 14 |
15 | The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is 16 | defined with SetLink(). 17 |

See also

18 | Cell, 19 | Write, 20 | Image, 21 | Link, 22 | SetLink 23 |
24 |
Index
25 | 26 | 27 | -------------------------------------------------------------------------------- /fpdf181/doc/addpage.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AddPage 6 | 7 | 8 | 9 |

AddPage

10 | AddPage([string orientation [, mixed size [, int rotation]]]) 11 |

Description

12 | Adds a new page to the document. If a page is already present, the Footer() method is called 13 | first to output the footer. Then the page is added, the current position set to the top-left 14 | corner according to the left and top margins, and Header() is called to display the header. 15 |
16 | The font which was set before calling is automatically restored. There is no need to call 17 | SetFont() again if you want to continue with the same font. The same is true for colors and 18 | line width. 19 |
20 | The origin of the coordinate system is at the top-left corner and increasing ordinates go 21 | downwards. 22 |

Parameters

23 |
24 |
orientation
25 |
26 | Page orientation. Possible values are (case insensitive): 27 | 31 | The default value is the one passed to the constructor. 32 |
33 |
size
34 |
35 | Page size. It can be either one of the following values (case insensitive): 36 | 43 | or an array containing the width and the height (expressed in user unit).
44 |
45 | The default value is the one passed to the constructor. 46 |
47 |
rotation
48 |
49 | Angle by which to rotate the page. It must be a multiple of 90; positive values 50 | mean clockwise rotation. The default value is 0. 51 |
52 |
53 |

See also

54 | __construct, 55 | Header, 56 | Footer, 57 | SetMargins 58 |
59 |
Index
60 | 61 | 62 | -------------------------------------------------------------------------------- /fpdf181/doc/aliasnbpages.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AliasNbPages 6 | 7 | 8 | 9 |

AliasNbPages

10 | AliasNbPages([string alias]) 11 |

Description

12 | Defines an alias for the total number of pages. It will be substituted as the document is 13 | closed. 14 |

Parameters

15 |
16 |
alias
17 |
18 | The alias. Default value: {nb}. 19 |
20 |
21 |

Example

22 |
23 |
class PDF extends FPDF
24 | {
25 | function Footer()
26 | {
27 |     // Go to 1.5 cm from bottom
28 |     $this->SetY(-15);
29 |     // Select Arial italic 8
30 |     $this->SetFont('Arial','I',8);
31 |     // Print current and total page numbers
32 |     $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
33 | }
34 | }
35 | 
36 | $pdf = new PDF();
37 | $pdf->AliasNbPages();
38 |
39 |

See also

40 | PageNo, 41 | Footer 42 |
43 |
Index
44 | 45 | 46 | -------------------------------------------------------------------------------- /fpdf181/doc/cell.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Cell 6 | 7 | 8 | 9 |

Cell

10 | Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [, boolean fill [, mixed link]]]]]]]) 11 |

Description

12 | Prints a cell (rectangular area) with optional borders, background color and character string. 13 | The upper-left corner of the cell corresponds to the current position. The text can be aligned 14 | or centered. After the call, the current position moves to the right or to the next line. It is 15 | possible to put a link on the text. 16 |
17 | If automatic page breaking is enabled and the cell goes beyond the limit, a page break is 18 | done before outputting. 19 |

Parameters

20 |
21 |
w
22 |
23 | Cell width. If 0, the cell extends up to the right margin. 24 |
25 |
h
26 |
27 | Cell height. 28 | Default value: 0. 29 |
30 |
txt
31 |
32 | String to print. 33 | Default value: empty string. 34 |
35 |
border
36 |
37 | Indicates if borders must be drawn around the cell. The value can be either a number: 38 | 42 | or a string containing some or all of the following characters (in any order): 43 | 49 | Default value: 0. 50 |
51 |
ln
52 |
53 | Indicates where the current position should go after the call. Possible values are: 54 | 59 | Putting 1 is equivalent to putting 0 and calling Ln() just after. 60 | Default value: 0. 61 |
62 |
align
63 |
64 | Allows to center or align the text. Possible values are: 65 | 70 |
71 |
fill
72 |
73 | Indicates if the cell background must be painted (true) or transparent (false). 74 | Default value: false. 75 |
76 |
link
77 |
78 | URL or identifier returned by AddLink(). 79 |
80 |
81 |

Example

82 |
83 |
// Set font
 84 | $pdf->SetFont('Arial','B',16);
 85 | // Move to 8 cm to the right
 86 | $pdf->Cell(80);
 87 | // Centered text in a framed 20*10 mm cell and line break
 88 | $pdf->Cell(20,10,'Title',1,1,'C');
89 |
90 |

See also

91 | SetFont, 92 | SetDrawColor, 93 | SetFillColor, 94 | SetTextColor, 95 | SetLineWidth, 96 | AddLink, 97 | Ln, 98 | MultiCell, 99 | Write, 100 | SetAutoPageBreak 101 |
102 |
Index
103 | 104 | 105 | -------------------------------------------------------------------------------- /fpdf181/doc/close.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Close 6 | 7 | 8 | 9 |

Close

10 | Close() 11 |

Description

12 | Terminates the PDF document. It is not necessary to call this method explicitly because Output() 13 | does it automatically. 14 |
15 | If the document contains no page, AddPage() is called to prevent from getting an invalid document. 16 |

See also

17 | Output 18 |
19 |
Index
20 | 21 | 22 | -------------------------------------------------------------------------------- /fpdf181/doc/error.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Error 6 | 7 | 8 | 9 |

Error

10 | Error(string msg) 11 |

Description

12 | This method is automatically called in case of a fatal error; it simply throws an exception 13 | with the provided message.
14 | An inherited class may override it to customize the error handling but the method should 15 | never return, otherwise the resulting document would probably be invalid. 16 |

Parameters

17 |
18 |
msg
19 |
20 | The error message. 21 |
22 |
23 |
24 |
Index
25 | 26 | 27 | -------------------------------------------------------------------------------- /fpdf181/doc/footer.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Footer 6 | 7 | 8 | 9 |

Footer

10 | Footer() 11 |

Description

12 | This method is used to render the page footer. It is automatically called by AddPage() and 13 | Close() and should not be called directly by the application. The implementation in FPDF is 14 | empty, so you have to subclass it and override the method if you want a specific processing. 15 |

Example

16 |
17 |
class PDF extends FPDF
18 | {
19 | function Footer()
20 | {
21 |     // Go to 1.5 cm from bottom
22 |     $this->SetY(-15);
23 |     // Select Arial italic 8
24 |     $this->SetFont('Arial','I',8);
25 |     // Print centered page number
26 |     $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
27 | }
28 | }
29 |
30 |

See also

31 | Header 32 |
33 |
Index
34 | 35 | 36 | -------------------------------------------------------------------------------- /fpdf181/doc/getpageheight.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetPageHeight 6 | 7 | 8 | 9 |

GetPageHeight

10 | float GetPageHeight() 11 |

Description

12 | Returns the current page height. 13 |

See also

14 | GetPageWidth 15 |
16 |
Index
17 | 18 | 19 | -------------------------------------------------------------------------------- /fpdf181/doc/getpagewidth.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetPageWidth 6 | 7 | 8 | 9 |

GetPageWidth

10 | float GetPageWidth() 11 |

Description

12 | Returns the current page width. 13 |

See also

14 | GetPageHeight 15 |
16 |
Index
17 | 18 | 19 | -------------------------------------------------------------------------------- /fpdf181/doc/getstringwidth.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetStringWidth 6 | 7 | 8 | 9 |

GetStringWidth

10 | float GetStringWidth(string s) 11 |

Description

12 | Returns the length of a string in user unit. A font must be selected. 13 |

Parameters

14 |
15 |
s
16 |
17 | The string whose length is to be computed. 18 |
19 |
20 |
21 |
Index
22 | 23 | 24 | -------------------------------------------------------------------------------- /fpdf181/doc/getx.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetX 6 | 7 | 8 | 9 |

GetX

10 | float GetX() 11 |

Description

12 | Returns the abscissa of the current position. 13 |

See also

14 | SetX, 15 | GetY, 16 | SetY 17 |
18 |
Index
19 | 20 | 21 | -------------------------------------------------------------------------------- /fpdf181/doc/gety.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetY 6 | 7 | 8 | 9 |

GetY

10 | float GetY() 11 |

Description

12 | Returns the ordinate of the current position. 13 |

See also

14 | SetY, 15 | GetX, 16 | SetX 17 |
18 |
Index
19 | 20 | 21 | -------------------------------------------------------------------------------- /fpdf181/doc/header.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header 6 | 7 | 8 | 9 |

Header

10 | Header() 11 |

Description

12 | This method is used to render the page header. It is automatically called by AddPage() and 13 | should not be called directly by the application. The implementation in FPDF is empty, so 14 | you have to subclass it and override the method if you want a specific processing. 15 |

Example

16 |
17 |
class PDF extends FPDF
18 | {
19 | function Header()
20 | {
21 |     // Select Arial bold 15
22 |     $this->SetFont('Arial','B',15);
23 |     // Move to the right
24 |     $this->Cell(80);
25 |     // Framed title
26 |     $this->Cell(30,10,'Title',1,0,'C');
27 |     // Line break
28 |     $this->Ln(20);
29 | }
30 | }
31 |
32 |

See also

33 | Footer 34 |
35 |
Index
36 | 37 | 38 | -------------------------------------------------------------------------------- /fpdf181/doc/image.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Image 6 | 7 | 8 | 9 |

Image

10 | Image(string file [, float x [, float y [, float w [, float h [, string type [, mixed link]]]]]]) 11 |

Description

12 | Puts an image. The size it will take on the page can be specified in different ways: 13 | 18 | Supported formats are JPEG, PNG and GIF. The GD extension is required for GIF. 19 |
20 |
21 | For JPEGs, all flavors are allowed: 22 | 27 | For PNGs, are allowed: 28 | 33 | For GIFs: in case of an animated GIF, only the first frame is displayed.
34 |
35 | Transparency is supported.
36 |
37 | The format can be specified explicitly or inferred from the file extension.
38 |
39 | It is possible to put a link on the image.
40 |
41 | Remark: if an image is used several times, only one copy is embedded in the file. 42 |

Parameters

43 |
44 |
file
45 |
46 | Path or URL of the image. 47 |
48 |
x
49 |
50 | Abscissa of the upper-left corner. If not specified or equal to null, the current abscissa 51 | is used. 52 |
53 |
y
54 |
55 | Ordinate of the upper-left corner. If not specified or equal to null, the current ordinate 56 | is used; moreover, a page break is triggered first if necessary (in case automatic page breaking is enabled) 57 | and, after the call, the current ordinate is moved to the bottom of the image. 58 |
59 |
w
60 |
61 | Width of the image in the page. There are three cases: 62 | 67 |
68 |
h
69 |
70 | Height of the image in the page. There are three cases: 71 | 76 |
77 |
type
78 |
79 | Image format. Possible values are (case insensitive): JPG, JPEG, PNG and GIF. 80 | If not specified, the type is inferred from the file extension. 81 |
82 |
link
83 |
84 | URL or identifier returned by AddLink(). 85 |
86 |
87 |

Example

88 |
89 |
// Insert a logo in the top-left corner at 300 dpi
 90 | $pdf->Image('logo.png',10,10,-300);
 91 | // Insert a dynamic image from a URL
 92 | $pdf->Image('http://chart.googleapis.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World',60,30,90,0,'PNG');
93 |
94 |

See also

95 | AddLink 96 |
97 |
Index
98 | 99 | 100 | -------------------------------------------------------------------------------- /fpdf181/doc/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FPDF 1.81 Reference Manual 6 | 7 | 8 | 9 |

FPDF 1.81 Reference Manual

10 | __construct - constructor
11 | AcceptPageBreak - accept or not automatic page break
12 | AddFont - add a new font
13 | AddLink - create an internal link
14 | AddPage - add a new page
15 | AliasNbPages - define an alias for number of pages
16 | Cell - print a cell
17 | Close - terminate the document
18 | Error - fatal error
19 | Footer - page footer
20 | GetPageHeight - get current page height
21 | GetPageWidth - get current page width
22 | GetStringWidth - compute string length
23 | GetX - get current x position
24 | GetY - get current y position
25 | Header - page header
26 | Image - output an image
27 | Line - draw a line
28 | Link - put a link
29 | Ln - line break
30 | MultiCell - print text with line breaks
31 | Output - save or send the document
32 | PageNo - page number
33 | Rect - draw a rectangle
34 | SetAuthor - set the document author
35 | SetAutoPageBreak - set the automatic page breaking mode
36 | SetCompression - turn compression on or off
37 | SetCreator - set document creator
38 | SetDisplayMode - set display mode
39 | SetDrawColor - set drawing color
40 | SetFillColor - set filling color
41 | SetFont - set font
42 | SetFontSize - set font size
43 | SetKeywords - associate keywords with document
44 | SetLeftMargin - set left margin
45 | SetLineWidth - set line width
46 | SetLink - set internal link destination
47 | SetMargins - set margins
48 | SetRightMargin - set right margin
49 | SetSubject - set document subject
50 | SetTextColor - set text color
51 | SetTitle - set document title
52 | SetTopMargin - set top margin
53 | SetX - set current x position
54 | SetXY - set current x and y positions
55 | SetY - set current y position and optionally reset x
56 | Text - print a string
57 | Write - print flowing text
58 | 59 | 60 | -------------------------------------------------------------------------------- /fpdf181/doc/line.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Line 6 | 7 | 8 | 9 |

Line

10 | Line(float x1, float y1, float x2, float y2) 11 |

Description

12 | Draws a line between two points. 13 |

Parameters

14 |
15 |
x1
16 |
17 | Abscissa of first point. 18 |
19 |
y1
20 |
21 | Ordinate of first point. 22 |
23 |
x2
24 |
25 | Abscissa of second point. 26 |
27 |
y2
28 |
29 | Ordinate of second point. 30 |
31 |
32 |

See also

33 | SetLineWidth, 34 | SetDrawColor 35 |
36 |
Index
37 | 38 | 39 | -------------------------------------------------------------------------------- /fpdf181/doc/link.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Link 6 | 7 | 8 | 9 |

Link

10 | Link(float x, float y, float w, float h, mixed link) 11 |

Description

12 | Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), 13 | Write() or Image(), but this method can be useful for instance to define a clickable area inside 14 | an image. 15 |

Parameters

16 |
17 |
x
18 |
19 | Abscissa of the upper-left corner of the rectangle. 20 |
21 |
y
22 |
23 | Ordinate of the upper-left corner of the rectangle. 24 |
25 |
w
26 |
27 | Width of the rectangle. 28 |
29 |
h
30 |
31 | Height of the rectangle. 32 |
33 |
link
34 |
35 | URL or identifier returned by AddLink(). 36 |
37 |
38 |

See also

39 | AddLink, 40 | Cell, 41 | Write, 42 | Image 43 |
44 |
Index
45 | 46 | 47 | -------------------------------------------------------------------------------- /fpdf181/doc/ln.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ln 6 | 7 | 8 | 9 |

Ln

10 | Ln([float h]) 11 |

Description

12 | Performs a line break. The current abscissa goes back to the left margin and the ordinate 13 | increases by the amount passed in parameter. 14 |

Parameters

15 |
16 |
h
17 |
18 | The height of the break. 19 |
20 | By default, the value equals the height of the last printed cell. 21 |
22 |
23 |

See also

24 | Cell 25 |
26 |
Index
27 | 28 | 29 | -------------------------------------------------------------------------------- /fpdf181/doc/multicell.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MultiCell 6 | 7 | 8 | 9 |

MultiCell

10 | MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) 11 |

Description

12 | This method allows printing text with line breaks. They can be automatic (as soon as the 13 | text reaches the right border of the cell) or explicit (via the \n character). As many cells 14 | as necessary are output, one below the other. 15 |
16 | Text can be aligned, centered or justified. The cell block can be framed and the background 17 | painted. 18 |

Parameters

19 |
20 |
w
21 |
22 | Width of cells. If 0, they extend up to the right margin of the page. 23 |
24 |
h
25 |
26 | Height of cells. 27 |
28 |
txt
29 |
30 | String to print. 31 |
32 |
border
33 |
34 | Indicates if borders must be drawn around the cell block. The value can be either a number: 35 | 39 | or a string containing some or all of the following characters (in any order): 40 | 46 | Default value: 0. 47 |
48 |
align
49 |
50 | Sets the text alignment. Possible values are: 51 | 57 |
58 |
fill
59 |
60 | Indicates if the cell background must be painted (true) or transparent (false). 61 | Default value: false. 62 |
63 |
64 |

See also

65 | SetFont, 66 | SetDrawColor, 67 | SetFillColor, 68 | SetTextColor, 69 | SetLineWidth, 70 | Cell, 71 | Write, 72 | SetAutoPageBreak 73 |
74 |
Index
75 | 76 | 77 | -------------------------------------------------------------------------------- /fpdf181/doc/output.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Output 6 | 7 | 8 | 9 |

Output

10 | string Output([string dest [, string name [, boolean isUTF8]]]) 11 |

Description

12 | Send the document to a given destination: browser, file or string. In the case of a browser, the 13 | PDF viewer may be used or a download may be forced. 14 |
15 | The method first calls Close() if necessary to terminate the document. 16 |

Parameters

17 |
18 |
dest
19 |
20 | Destination where to send the document. It can be one of the following: 21 | 27 | The default value is I. 28 |
29 |
name
30 |
31 | The name of the file. It is ignored in case of destination S.
32 | The default value is doc.pdf. 33 |
34 |
isUTF8
35 |
36 | Indicates if name is encoded in ISO-8859-1 (false) or UTF-8 (true). 37 | Only used for destinations I and D.
38 | The default value is false. 39 |
40 |
41 |

See also

42 | Close 43 |
44 |
Index
45 | 46 | 47 | -------------------------------------------------------------------------------- /fpdf181/doc/pageno.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PageNo 6 | 7 | 8 | 9 |

PageNo

10 | int PageNo() 11 |

Description

12 | Returns the current page number. 13 |

See also

14 | AliasNbPages 15 |
16 |
Index
17 | 18 | 19 | -------------------------------------------------------------------------------- /fpdf181/doc/rect.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Rect 6 | 7 | 8 | 9 |

Rect

10 | Rect(float x, float y, float w, float h [, string style]) 11 |

Description

12 | Outputs a rectangle. It can be drawn (border only), filled (with no border) or both. 13 |

Parameters

14 |
15 |
x
16 |
17 | Abscissa of upper-left corner. 18 |
19 |
y
20 |
21 | Ordinate of upper-left corner. 22 |
23 |
w
24 |
25 | Width. 26 |
27 |
h
28 |
29 | Height. 30 |
31 |
style
32 |
33 | Style of rendering. Possible values are: 34 | 39 |
40 |
41 |

See also

42 | SetLineWidth, 43 | SetDrawColor, 44 | SetFillColor 45 |
46 |
Index
47 | 48 | 49 | -------------------------------------------------------------------------------- /fpdf181/doc/setauthor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetAuthor 6 | 7 | 8 | 9 |

SetAuthor

10 | SetAuthor(string author [, boolean isUTF8]) 11 |

Description

12 | Defines the author of the document. 13 |

Parameters

14 |
15 |
author
16 |
17 | The name of the author. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetCreator, 27 | SetKeywords, 28 | SetSubject, 29 | SetTitle 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf181/doc/setautopagebreak.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetAutoPageBreak 6 | 7 | 8 | 9 |

SetAutoPageBreak

10 | SetAutoPageBreak(boolean auto [, float margin]) 11 |

Description

12 | Enables or disables the automatic page breaking mode. When enabling, the second parameter is 13 | the distance from the bottom of the page that defines the triggering limit. By default, the 14 | mode is on and the margin is 2 cm. 15 |

Parameters

16 |
17 |
auto
18 |
19 | Boolean indicating if mode should be on or off. 20 |
21 |
margin
22 |
23 | Distance from the bottom of the page. 24 |
25 |
26 |

See also

27 | Cell, 28 | MultiCell, 29 | AcceptPageBreak 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf181/doc/setcompression.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetCompression 6 | 7 | 8 | 9 |

SetCompression

10 | SetCompression(boolean compress) 11 |

Description

12 | Activates or deactivates page compression. When activated, the internal representation of 13 | each page is compressed, which leads to a compression ratio of about 2 for the resulting 14 | document. 15 |
16 | Compression is on by default. 17 |
18 |
19 | Note: the Zlib extension is required for this feature. If not present, compression 20 | will be turned off. 21 |

Parameters

22 |
23 |
compress
24 |
25 | Boolean indicating if compression must be enabled. 26 |
27 |
28 |
29 |
Index
30 | 31 | 32 | -------------------------------------------------------------------------------- /fpdf181/doc/setcreator.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetCreator 6 | 7 | 8 | 9 |

SetCreator

10 | SetCreator(string creator [, boolean isUTF8]) 11 |

Description

12 | Defines the creator of the document. This is typically the name of the application that 13 | generates the PDF. 14 |

Parameters

15 |
16 |
creator
17 |
18 | The name of the creator. 19 |
20 |
isUTF8
21 |
22 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
23 | Default value: false. 24 |
25 |
26 |

See also

27 | SetAuthor, 28 | SetKeywords, 29 | SetSubject, 30 | SetTitle 31 |
32 |
Index
33 | 34 | 35 | -------------------------------------------------------------------------------- /fpdf181/doc/setdisplaymode.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetDisplayMode 6 | 7 | 8 | 9 |

SetDisplayMode

10 | SetDisplayMode(mixed zoom [, string layout]) 11 |

Description

12 | Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be 13 | displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a 14 | specific zooming factor or use viewer default (configured in the Preferences menu of Adobe Reader). 15 | The page layout can be specified too: single at once, continuous display, two columns or viewer 16 | default. 17 |

Parameters

18 |
19 |
zoom
20 |
21 | The zoom to use. It can be one of the following string values: 22 | 28 | or a number indicating the zooming factor to use. 29 |
30 |
layout
31 |
32 | The page layout. Possible values are: 33 | 39 | Default value is default. 40 |
41 |
42 |
43 |
Index
44 | 45 | 46 | -------------------------------------------------------------------------------- /fpdf181/doc/setdrawcolor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetDrawColor 6 | 7 | 8 | 9 |

SetDrawColor

10 | SetDrawColor(int r [, int g, int b]) 11 |

Description

12 | Defines the color used for all drawing operations (lines, rectangles and cell borders). It 13 | can be expressed in RGB components or gray scale. The method can be called before the first 14 | page is created and the value is retained from page to page. 15 |

Parameters

16 |
17 |
r
18 |
19 | If g et b are given, red component; if not, indicates the gray level. 20 | Value between 0 and 255. 21 |
22 |
g
23 |
24 | Green component (between 0 and 255). 25 |
26 |
b
27 |
28 | Blue component (between 0 and 255). 29 |
30 |
31 |

See also

32 | SetFillColor, 33 | SetTextColor, 34 | Line, 35 | Rect, 36 | Cell, 37 | MultiCell 38 |
39 |
Index
40 | 41 | 42 | -------------------------------------------------------------------------------- /fpdf181/doc/setfillcolor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetFillColor 6 | 7 | 8 | 9 |

SetFillColor

10 | SetFillColor(int r [, int g, int b]) 11 |

Description

12 | Defines the color used for all filling operations (filled rectangles and cell backgrounds). 13 | It can be expressed in RGB components or gray scale. The method can be called before the first 14 | page is created and the value is retained from page to page. 15 |

Parameters

16 |
17 |
r
18 |
19 | If g and b are given, red component; if not, indicates the gray level. 20 | Value between 0 and 255. 21 |
22 |
g
23 |
24 | Green component (between 0 and 255). 25 |
26 |
b
27 |
28 | Blue component (between 0 and 255). 29 |
30 |
31 |

See also

32 | SetDrawColor, 33 | SetTextColor, 34 | Rect, 35 | Cell, 36 | MultiCell 37 |
38 |
Index
39 | 40 | 41 | -------------------------------------------------------------------------------- /fpdf181/doc/setfont.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetFont 6 | 7 | 8 | 9 |

SetFont

10 | SetFont(string family [, string style [, float size]]) 11 |

Description

12 | Sets the font used to print character strings. It is mandatory to call this method 13 | at least once before printing text or the resulting document would not be valid. 14 |
15 | The font can be either a standard one or a font added via the AddFont() method. Standard fonts 16 | use the Windows encoding cp1252 (Western Europe). 17 |
18 | The method can be called before the first page is created and the font is kept from page 19 | to page. 20 |
21 | If you just wish to change the current font size, it is simpler to call SetFontSize(). 22 |
23 |
24 | Note: the font definition files must be accessible. They are searched successively in: 25 | 30 | Example using FPDF_FONTPATH: 31 |
32 |
define('FPDF_FONTPATH','/home/www/font');
33 | require('fpdf.php');
34 |
35 | If the file corresponding to the requested font is not found, the error "Could not include font 36 | definition file" is raised. 37 |

Parameters

38 |
39 |
family
40 |
41 | Family font. It can be either a name defined by AddFont() or one of the standard families (case 42 | insensitive): 43 | 50 | It is also possible to pass an empty string. In that case, the current family is kept. 51 |
52 |
style
53 |
54 | Font style. Possible values are (case insensitive): 55 | 61 | or any combination. The default value is regular. 62 | Bold and italic styles do not apply to Symbol and ZapfDingbats. 63 |
64 |
size
65 |
66 | Font size in points. 67 |
68 | The default value is the current size. If no size has been specified since the beginning of 69 | the document, the value taken is 12. 70 |
71 |
72 |

Example

73 |
74 |
// Times regular 12
75 | $pdf->SetFont('Times');
76 | // Arial bold 14
77 | $pdf->SetFont('Arial','B',14);
78 | // Removes bold
79 | $pdf->SetFont('');
80 | // Times bold, italic and underlined 14
81 | $pdf->SetFont('Times','BIU');
82 |
83 |

See also

84 | AddFont, 85 | SetFontSize, 86 | Cell, 87 | MultiCell, 88 | Write 89 |
90 |
Index
91 | 92 | 93 | -------------------------------------------------------------------------------- /fpdf181/doc/setfontsize.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetFontSize 6 | 7 | 8 | 9 |

SetFontSize

10 | SetFontSize(float size) 11 |

Description

12 | Defines the size of the current font. 13 |

Parameters

14 |
15 |
size
16 |
17 | The size (in points). 18 |
19 |
20 |

See also

21 | SetFont 22 |
23 |
Index
24 | 25 | 26 | -------------------------------------------------------------------------------- /fpdf181/doc/setkeywords.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetKeywords 6 | 7 | 8 | 9 |

SetKeywords

10 | SetKeywords(string keywords [, boolean isUTF8]) 11 |

Description

12 | Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'. 13 |

Parameters

14 |
15 |
keywords
16 |
17 | The list of keywords. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetAuthor, 27 | SetCreator, 28 | SetSubject, 29 | SetTitle 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf181/doc/setleftmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetLeftMargin 6 | 7 | 8 | 9 |

SetLeftMargin

10 | SetLeftMargin(float margin) 11 |

Description

12 | Defines the left margin. The method can be called before creating the first page. 13 |
14 | If the current abscissa gets out of page, it is brought back to the margin. 15 |

Parameters

16 |
17 |
margin
18 |
19 | The margin. 20 |
21 |
22 |

See also

23 | SetTopMargin, 24 | SetRightMargin, 25 | SetAutoPageBreak, 26 | SetMargins 27 |
28 |
Index
29 | 30 | 31 | -------------------------------------------------------------------------------- /fpdf181/doc/setlinewidth.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetLineWidth 6 | 7 | 8 | 9 |

SetLineWidth

10 | SetLineWidth(float width) 11 |

Description

12 | Defines the line width. By default, the value equals 0.2 mm. The method can be called before 13 | the first page is created and the value is retained from page to page. 14 |

Parameters

15 |
16 |
width
17 |
18 | The width. 19 |
20 |
21 |

See also

22 | Line, 23 | Rect, 24 | Cell, 25 | MultiCell 26 |
27 |
Index
28 | 29 | 30 | -------------------------------------------------------------------------------- /fpdf181/doc/setlink.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetLink 6 | 7 | 8 | 9 |

SetLink

10 | SetLink(int link [, float y [, int page]]) 11 |

Description

12 | Defines the page and position a link points to. 13 |

Parameters

14 |
15 |
link
16 |
17 | The link identifier returned by AddLink(). 18 |
19 |
y
20 |
21 | Ordinate of target position; -1 indicates the current position. 22 | The default value is 0 (top of page). 23 |
24 |
page
25 |
26 | Number of target page; -1 indicates the current page. This is the default value. 27 |
28 |
29 |

See also

30 | AddLink 31 |
32 |
Index
33 | 34 | 35 | -------------------------------------------------------------------------------- /fpdf181/doc/setmargins.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetMargins 6 | 7 | 8 | 9 |

SetMargins

10 | SetMargins(float left, float top [, float right]) 11 |

Description

12 | Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change 13 | them. 14 |

Parameters

15 |
16 |
left
17 |
18 | Left margin. 19 |
20 |
top
21 |
22 | Top margin. 23 |
24 |
right
25 |
26 | Right margin. Default value is the left one. 27 |
28 |
29 |

See also

30 | SetLeftMargin, 31 | SetTopMargin, 32 | SetRightMargin, 33 | SetAutoPageBreak 34 |
35 |
Index
36 | 37 | 38 | -------------------------------------------------------------------------------- /fpdf181/doc/setrightmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetRightMargin 6 | 7 | 8 | 9 |

SetRightMargin

10 | SetRightMargin(float margin) 11 |

Description

12 | Defines the right margin. The method can be called before creating the first page. 13 |

Parameters

14 |
15 |
margin
16 |
17 | The margin. 18 |
19 |
20 |

See also

21 | SetLeftMargin, 22 | SetTopMargin, 23 | SetAutoPageBreak, 24 | SetMargins 25 |
26 |
Index
27 | 28 | 29 | -------------------------------------------------------------------------------- /fpdf181/doc/setsubject.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetSubject 6 | 7 | 8 | 9 |

SetSubject

10 | SetSubject(string subject [, boolean isUTF8]) 11 |

Description

12 | Defines the subject of the document. 13 |

Parameters

14 |
15 |
subject
16 |
17 | The subject. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetAuthor, 27 | SetCreator, 28 | SetKeywords, 29 | SetTitle 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf181/doc/settextcolor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetTextColor 6 | 7 | 8 | 9 |

SetTextColor

10 | SetTextColor(int r [, int g, int b]) 11 |

Description

12 | Defines the color used for text. It can be expressed in RGB components or gray scale. The 13 | method can be called before the first page is created and the value is retained from page to 14 | page. 15 |

Parameters

16 |
17 |
r
18 |
19 | If g et b are given, red component; if not, indicates the gray level. 20 | Value between 0 and 255. 21 |
22 |
g
23 |
24 | Green component (between 0 and 255). 25 |
26 |
b
27 |
28 | Blue component (between 0 and 255). 29 |
30 |
31 |

See also

32 | SetDrawColor, 33 | SetFillColor, 34 | Text, 35 | Cell, 36 | MultiCell 37 |
38 |
Index
39 | 40 | 41 | -------------------------------------------------------------------------------- /fpdf181/doc/settitle.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetTitle 6 | 7 | 8 | 9 |

SetTitle

10 | SetTitle(string title [, boolean isUTF8]) 11 |

Description

12 | Defines the title of the document. 13 |

Parameters

14 |
15 |
title
16 |
17 | The title. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetAuthor, 27 | SetCreator, 28 | SetKeywords, 29 | SetSubject 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf181/doc/settopmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetTopMargin 6 | 7 | 8 | 9 |

SetTopMargin

10 | SetTopMargin(float margin) 11 |

Description

12 | Defines the top margin. The method can be called before creating the first page. 13 |

Parameters

14 |
15 |
margin
16 |
17 | The margin. 18 |
19 |
20 |

See also

21 | SetLeftMargin, 22 | SetRightMargin, 23 | SetAutoPageBreak, 24 | SetMargins 25 |
26 |
Index
27 | 28 | 29 | -------------------------------------------------------------------------------- /fpdf181/doc/setx.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetX 6 | 7 | 8 | 9 |

SetX

10 | SetX(float x) 11 |

Description

12 | Defines the abscissa of the current position. If the passed value is negative, it is relative 13 | to the right of the page. 14 |

Parameters

15 |
16 |
x
17 |
18 | The value of the abscissa. 19 |
20 |
21 |

See also

22 | GetX, 23 | GetY, 24 | SetY, 25 | SetXY 26 |
27 |
Index
28 | 29 | 30 | -------------------------------------------------------------------------------- /fpdf181/doc/setxy.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetXY 6 | 7 | 8 | 9 |

SetXY

10 | SetXY(float x, float y) 11 |

Description

12 | Defines the abscissa and ordinate of the current position. If the passed values are negative, 13 | they are relative respectively to the right and bottom of the page. 14 |

Parameters

15 |
16 |
x
17 |
18 | The value of the abscissa. 19 |
20 |
y
21 |
22 | The value of the ordinate. 23 |
24 |
25 |

See also

26 | SetX, 27 | SetY 28 |
29 |
Index
30 | 31 | 32 | -------------------------------------------------------------------------------- /fpdf181/doc/sety.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetY 6 | 7 | 8 | 9 |

SetY

10 | SetY(float y [, boolean resetX]) 11 |

Description

12 | Sets the ordinate and optionally moves the current abscissa back to the left margin. If the value 13 | is negative, it is relative to the bottom of the page. 14 |

Parameters

15 |
16 |
y
17 |
18 | The value of the ordinate. 19 |
20 |
resetX
21 |
22 | Whether to reset the abscissa. Default value: true. 23 |
24 |
25 |

See also

26 | GetX, 27 | GetY, 28 | SetX, 29 | SetXY 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf181/doc/text.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Text 6 | 7 | 8 | 9 |

Text

10 | Text(float x, float y, string txt) 11 |

Description

12 | Prints a character string. The origin is on the left of the first character, on the baseline. 13 | This method allows to place a string precisely on the page, but it is usually easier to use 14 | Cell(), MultiCell() or Write() which are the standard methods to print text. 15 |

Parameters

16 |
17 |
x
18 |
19 | Abscissa of the origin. 20 |
21 |
y
22 |
23 | Ordinate of the origin. 24 |
25 |
txt
26 |
27 | String to print. 28 |
29 |
30 |

See also

31 | SetFont, 32 | SetTextColor, 33 | Cell, 34 | MultiCell, 35 | Write 36 |
37 |
Index
38 | 39 | 40 | -------------------------------------------------------------------------------- /fpdf181/doc/write.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Write 6 | 7 | 8 | 9 |

Write

10 | Write(float h, string txt [, mixed link]) 11 |

Description

12 | This method prints text from the current position. When the right margin is reached (or the \n 13 | character is met) a line break occurs and text continues from the left margin. Upon method exit, 14 | the current position is left just at the end of the text. 15 |
16 | It is possible to put a link on the text. 17 |

Parameters

18 |
19 |
h
20 |
21 | Line height. 22 |
23 |
txt
24 |
25 | String to print. 26 |
27 |
link
28 |
29 | URL or identifier returned by AddLink(). 30 |
31 |
32 |

Example

33 |
34 |
// Begin with regular font
35 | $pdf->SetFont('Arial','',14);
36 | $pdf->Write(5,'Visit ');
37 | // Then put a blue underlined link
38 | $pdf->SetTextColor(0,0,255);
39 | $pdf->SetFont('','U');
40 | $pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');
41 |
42 |

See also

43 | SetFont, 44 | SetTextColor, 45 | AddLink, 46 | MultiCell, 47 | SetAutoPageBreak 48 |
49 |
Index
50 | 51 | 52 | -------------------------------------------------------------------------------- /fpdf181/font/courier.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf181/font/courierb.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf181/font/courierbi.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf181/font/courieri.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf181/font/helvetica.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, 12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, 13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, 18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/helveticab.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, 10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, 12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, 18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/helveticabi.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, 10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, 12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, 18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/helveticai.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, 12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, 13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, 18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/symbol.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549, 9 | ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, 10 | 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, 11 | 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, 12 | 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0, 13 | chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, 14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, 15 | chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, 16 | chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, 17 | chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, 18 | chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); 19 | $uv = array(32=>160,33=>33,34=>8704,35=>35,36=>8707,37=>array(37,2),39=>8715,40=>array(40,2),42=>8727,43=>array(43,2),45=>8722,46=>array(46,18),64=>8773,65=>array(913,2),67=>935,68=>array(916,2),70=>934,71=>915,72=>919,73=>921,74=>977,75=>array(922,4),79=>array(927,2),81=>920,82=>929,83=>array(931,3),86=>962,87=>937,88=>926,89=>936,90=>918,91=>91,92=>8756,93=>93,94=>8869,95=>95,96=>63717,97=>array(945,2),99=>967,100=>array(948,2),102=>966,103=>947,104=>951,105=>953,106=>981,107=>array(954,4),111=>array(959,2),113=>952,114=>961,115=>array(963,3),118=>982,119=>969,120=>958,121=>968,122=>950,123=>array(123,3),126=>8764,160=>8364,161=>978,162=>8242,163=>8804,164=>8725,165=>8734,166=>402,167=>9827,168=>9830,169=>9829,170=>9824,171=>8596,172=>array(8592,4),176=>array(176,2),178=>8243,179=>8805,180=>215,181=>8733,182=>8706,183=>8226,184=>247,185=>array(8800,2),187=>8776,188=>8230,189=>array(63718,2),191=>8629,192=>8501,193=>8465,194=>8476,195=>8472,196=>8855,197=>8853,198=>8709,199=>array(8745,2),201=>8835,202=>8839,203=>8836,204=>8834,205=>8838,206=>array(8712,2),208=>8736,209=>8711,210=>63194,211=>63193,212=>63195,213=>8719,214=>8730,215=>8901,216=>172,217=>array(8743,2),219=>8660,220=>array(8656,4),224=>9674,225=>9001,226=>array(63720,3),229=>8721,230=>array(63723,10),241=>9002,242=>8747,243=>8992,244=>63733,245=>8993,246=>array(63734,9)); 20 | ?> 21 | -------------------------------------------------------------------------------- /fpdf181/font/times.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722, 10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944, 11 | 'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, 12 | 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/timesb.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000, 11 | 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833, 12 | 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/timesbi.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, 10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, 11 | 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, 12 | 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/timesi.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611, 10 | 'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833, 11 | 'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722, 12 | 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611, 16 | chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf181/font/zapfdingbats.php: -------------------------------------------------------------------------------- 1 | 0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0, 8 | chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939, 9 | ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692, 10 | 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776, 11 | 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873, 12 | 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317, 13 | chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, 14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788, 15 | chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788, 16 | chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918, 17 | chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874, 18 | chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0); 19 | $uv = array(32=>32,33=>array(9985,4),37=>9742,38=>array(9990,4),42=>9755,43=>9758,44=>array(9996,28),72=>9733,73=>array(10025,35),108=>9679,109=>10061,110=>9632,111=>array(10063,4),115=>9650,116=>9660,117=>9670,118=>10070,119=>9687,120=>array(10072,7),128=>array(10088,14),161=>array(10081,7),168=>9827,169=>9830,170=>9829,171=>9824,172=>array(9312,10),182=>array(10102,31),213=>8594,214=>array(8596,2),216=>array(10136,24),241=>array(10161,14)); 20 | ?> 21 | -------------------------------------------------------------------------------- /fpdf181/fpdf.css: -------------------------------------------------------------------------------- 1 | body {font-family:"Times New Roman",serif} 2 | h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em} 3 | h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em} 4 | dl.param dt {text-decoration:underline} 5 | dl.param dd {margin-top:1em; margin-bottom:1em} 6 | dl.param ul {margin-top:1em; margin-bottom:1em} 7 | tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%} 8 | div.source {margin-top:1.4em; margin-bottom:1.3em} 9 | div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%} 10 | div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000} 11 | div.doc-source {margin-top:1.4em; margin-bottom:1.3em} 12 | div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%} 13 | div.doc-source code {display:block; background-color:#E0E0E0; padding:4px} 14 | .kw {color:#000080; font-weight:bold} 15 | .str {color:#CC0000} 16 | .cmt {color:#008000} 17 | p.demo {text-align:center; margin-top:-0.9em} 18 | a.demo {text-decoration:none; font-weight:bold; color:#0000CC} 19 | a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC} 20 | a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF} 21 | a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF} 22 | -------------------------------------------------------------------------------- /fpdf181/install.txt: -------------------------------------------------------------------------------- 1 | The FPDF library is made up of the following elements: 2 | 3 | - the main file, fpdf.php, which contains the class 4 | - the font definition files located in the font directory 5 | 6 | The font definition files are necessary as soon as you want to output some text in a document. 7 | If they are not accessible, the SetFont() method will produce the following error: 8 | 9 | FPDF error: Could not include font definition file 10 | 11 | 12 | Remarks: 13 | 14 | - Only the files corresponding to the fonts actually used are necessary 15 | - The tutorials provided in this package are ready to be executed 16 | -------------------------------------------------------------------------------- /fpdf181/license.txt: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining a copy 2 | of this software to use, copy, modify, distribute, sublicense, and/or sell 3 | copies of the software, and to permit persons to whom the software is furnished 4 | to do so. 5 | 6 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. -------------------------------------------------------------------------------- /fpdf181/makefont/cp1253.map: -------------------------------------------------------------------------------- 1 | !00 U+0000 .notdef 2 | !01 U+0001 .notdef 3 | !02 U+0002 .notdef 4 | !03 U+0003 .notdef 5 | !04 U+0004 .notdef 6 | !05 U+0005 .notdef 7 | !06 U+0006 .notdef 8 | !07 U+0007 .notdef 9 | !08 U+0008 .notdef 10 | !09 U+0009 .notdef 11 | !0A U+000A .notdef 12 | !0B U+000B .notdef 13 | !0C U+000C .notdef 14 | !0D U+000D .notdef 15 | !0E U+000E .notdef 16 | !0F U+000F .notdef 17 | !10 U+0010 .notdef 18 | !11 U+0011 .notdef 19 | !12 U+0012 .notdef 20 | !13 U+0013 .notdef 21 | !14 U+0014 .notdef 22 | !15 U+0015 .notdef 23 | !16 U+0016 .notdef 24 | !17 U+0017 .notdef 25 | !18 U+0018 .notdef 26 | !19 U+0019 .notdef 27 | !1A U+001A .notdef 28 | !1B U+001B .notdef 29 | !1C U+001C .notdef 30 | !1D U+001D .notdef 31 | !1E U+001E .notdef 32 | !1F U+001F .notdef 33 | !20 U+0020 space 34 | !21 U+0021 exclam 35 | !22 U+0022 quotedbl 36 | !23 U+0023 numbersign 37 | !24 U+0024 dollar 38 | !25 U+0025 percent 39 | !26 U+0026 ampersand 40 | !27 U+0027 quotesingle 41 | !28 U+0028 parenleft 42 | !29 U+0029 parenright 43 | !2A U+002A asterisk 44 | !2B U+002B plus 45 | !2C U+002C comma 46 | !2D U+002D hyphen 47 | !2E U+002E period 48 | !2F U+002F slash 49 | !30 U+0030 zero 50 | !31 U+0031 one 51 | !32 U+0032 two 52 | !33 U+0033 three 53 | !34 U+0034 four 54 | !35 U+0035 five 55 | !36 U+0036 six 56 | !37 U+0037 seven 57 | !38 U+0038 eight 58 | !39 U+0039 nine 59 | !3A U+003A colon 60 | !3B U+003B semicolon 61 | !3C U+003C less 62 | !3D U+003D equal 63 | !3E U+003E greater 64 | !3F U+003F question 65 | !40 U+0040 at 66 | !41 U+0041 A 67 | !42 U+0042 B 68 | !43 U+0043 C 69 | !44 U+0044 D 70 | !45 U+0045 E 71 | !46 U+0046 F 72 | !47 U+0047 G 73 | !48 U+0048 H 74 | !49 U+0049 I 75 | !4A U+004A J 76 | !4B U+004B K 77 | !4C U+004C L 78 | !4D U+004D M 79 | !4E U+004E N 80 | !4F U+004F O 81 | !50 U+0050 P 82 | !51 U+0051 Q 83 | !52 U+0052 R 84 | !53 U+0053 S 85 | !54 U+0054 T 86 | !55 U+0055 U 87 | !56 U+0056 V 88 | !57 U+0057 W 89 | !58 U+0058 X 90 | !59 U+0059 Y 91 | !5A U+005A Z 92 | !5B U+005B bracketleft 93 | !5C U+005C backslash 94 | !5D U+005D bracketright 95 | !5E U+005E asciicircum 96 | !5F U+005F underscore 97 | !60 U+0060 grave 98 | !61 U+0061 a 99 | !62 U+0062 b 100 | !63 U+0063 c 101 | !64 U+0064 d 102 | !65 U+0065 e 103 | !66 U+0066 f 104 | !67 U+0067 g 105 | !68 U+0068 h 106 | !69 U+0069 i 107 | !6A U+006A j 108 | !6B U+006B k 109 | !6C U+006C l 110 | !6D U+006D m 111 | !6E U+006E n 112 | !6F U+006F o 113 | !70 U+0070 p 114 | !71 U+0071 q 115 | !72 U+0072 r 116 | !73 U+0073 s 117 | !74 U+0074 t 118 | !75 U+0075 u 119 | !76 U+0076 v 120 | !77 U+0077 w 121 | !78 U+0078 x 122 | !79 U+0079 y 123 | !7A U+007A z 124 | !7B U+007B braceleft 125 | !7C U+007C bar 126 | !7D U+007D braceright 127 | !7E U+007E asciitilde 128 | !7F U+007F .notdef 129 | !80 U+20AC Euro 130 | !82 U+201A quotesinglbase 131 | !83 U+0192 florin 132 | !84 U+201E quotedblbase 133 | !85 U+2026 ellipsis 134 | !86 U+2020 dagger 135 | !87 U+2021 daggerdbl 136 | !89 U+2030 perthousand 137 | !8B U+2039 guilsinglleft 138 | !91 U+2018 quoteleft 139 | !92 U+2019 quoteright 140 | !93 U+201C quotedblleft 141 | !94 U+201D quotedblright 142 | !95 U+2022 bullet 143 | !96 U+2013 endash 144 | !97 U+2014 emdash 145 | !99 U+2122 trademark 146 | !9B U+203A guilsinglright 147 | !A0 U+00A0 space 148 | !A1 U+0385 dieresistonos 149 | !A2 U+0386 Alphatonos 150 | !A3 U+00A3 sterling 151 | !A4 U+00A4 currency 152 | !A5 U+00A5 yen 153 | !A6 U+00A6 brokenbar 154 | !A7 U+00A7 section 155 | !A8 U+00A8 dieresis 156 | !A9 U+00A9 copyright 157 | !AB U+00AB guillemotleft 158 | !AC U+00AC logicalnot 159 | !AD U+00AD hyphen 160 | !AE U+00AE registered 161 | !AF U+2015 afii00208 162 | !B0 U+00B0 degree 163 | !B1 U+00B1 plusminus 164 | !B2 U+00B2 twosuperior 165 | !B3 U+00B3 threesuperior 166 | !B4 U+0384 tonos 167 | !B5 U+00B5 mu 168 | !B6 U+00B6 paragraph 169 | !B7 U+00B7 periodcentered 170 | !B8 U+0388 Epsilontonos 171 | !B9 U+0389 Etatonos 172 | !BA U+038A Iotatonos 173 | !BB U+00BB guillemotright 174 | !BC U+038C Omicrontonos 175 | !BD U+00BD onehalf 176 | !BE U+038E Upsilontonos 177 | !BF U+038F Omegatonos 178 | !C0 U+0390 iotadieresistonos 179 | !C1 U+0391 Alpha 180 | !C2 U+0392 Beta 181 | !C3 U+0393 Gamma 182 | !C4 U+0394 Delta 183 | !C5 U+0395 Epsilon 184 | !C6 U+0396 Zeta 185 | !C7 U+0397 Eta 186 | !C8 U+0398 Theta 187 | !C9 U+0399 Iota 188 | !CA U+039A Kappa 189 | !CB U+039B Lambda 190 | !CC U+039C Mu 191 | !CD U+039D Nu 192 | !CE U+039E Xi 193 | !CF U+039F Omicron 194 | !D0 U+03A0 Pi 195 | !D1 U+03A1 Rho 196 | !D3 U+03A3 Sigma 197 | !D4 U+03A4 Tau 198 | !D5 U+03A5 Upsilon 199 | !D6 U+03A6 Phi 200 | !D7 U+03A7 Chi 201 | !D8 U+03A8 Psi 202 | !D9 U+03A9 Omega 203 | !DA U+03AA Iotadieresis 204 | !DB U+03AB Upsilondieresis 205 | !DC U+03AC alphatonos 206 | !DD U+03AD epsilontonos 207 | !DE U+03AE etatonos 208 | !DF U+03AF iotatonos 209 | !E0 U+03B0 upsilondieresistonos 210 | !E1 U+03B1 alpha 211 | !E2 U+03B2 beta 212 | !E3 U+03B3 gamma 213 | !E4 U+03B4 delta 214 | !E5 U+03B5 epsilon 215 | !E6 U+03B6 zeta 216 | !E7 U+03B7 eta 217 | !E8 U+03B8 theta 218 | !E9 U+03B9 iota 219 | !EA U+03BA kappa 220 | !EB U+03BB lambda 221 | !EC U+03BC mu 222 | !ED U+03BD nu 223 | !EE U+03BE xi 224 | !EF U+03BF omicron 225 | !F0 U+03C0 pi 226 | !F1 U+03C1 rho 227 | !F2 U+03C2 sigma1 228 | !F3 U+03C3 sigma 229 | !F4 U+03C4 tau 230 | !F5 U+03C5 upsilon 231 | !F6 U+03C6 phi 232 | !F7 U+03C7 chi 233 | !F8 U+03C8 psi 234 | !F9 U+03C9 omega 235 | !FA U+03CA iotadieresis 236 | !FB U+03CB upsilondieresis 237 | !FC U+03CC omicrontonos 238 | !FD U+03CD upsilontonos 239 | !FE U+03CE omegatonos 240 | -------------------------------------------------------------------------------- /fpdf181/makefont/cp1255.map: -------------------------------------------------------------------------------- 1 | !00 U+0000 .notdef 2 | !01 U+0001 .notdef 3 | !02 U+0002 .notdef 4 | !03 U+0003 .notdef 5 | !04 U+0004 .notdef 6 | !05 U+0005 .notdef 7 | !06 U+0006 .notdef 8 | !07 U+0007 .notdef 9 | !08 U+0008 .notdef 10 | !09 U+0009 .notdef 11 | !0A U+000A .notdef 12 | !0B U+000B .notdef 13 | !0C U+000C .notdef 14 | !0D U+000D .notdef 15 | !0E U+000E .notdef 16 | !0F U+000F .notdef 17 | !10 U+0010 .notdef 18 | !11 U+0011 .notdef 19 | !12 U+0012 .notdef 20 | !13 U+0013 .notdef 21 | !14 U+0014 .notdef 22 | !15 U+0015 .notdef 23 | !16 U+0016 .notdef 24 | !17 U+0017 .notdef 25 | !18 U+0018 .notdef 26 | !19 U+0019 .notdef 27 | !1A U+001A .notdef 28 | !1B U+001B .notdef 29 | !1C U+001C .notdef 30 | !1D U+001D .notdef 31 | !1E U+001E .notdef 32 | !1F U+001F .notdef 33 | !20 U+0020 space 34 | !21 U+0021 exclam 35 | !22 U+0022 quotedbl 36 | !23 U+0023 numbersign 37 | !24 U+0024 dollar 38 | !25 U+0025 percent 39 | !26 U+0026 ampersand 40 | !27 U+0027 quotesingle 41 | !28 U+0028 parenleft 42 | !29 U+0029 parenright 43 | !2A U+002A asterisk 44 | !2B U+002B plus 45 | !2C U+002C comma 46 | !2D U+002D hyphen 47 | !2E U+002E period 48 | !2F U+002F slash 49 | !30 U+0030 zero 50 | !31 U+0031 one 51 | !32 U+0032 two 52 | !33 U+0033 three 53 | !34 U+0034 four 54 | !35 U+0035 five 55 | !36 U+0036 six 56 | !37 U+0037 seven 57 | !38 U+0038 eight 58 | !39 U+0039 nine 59 | !3A U+003A colon 60 | !3B U+003B semicolon 61 | !3C U+003C less 62 | !3D U+003D equal 63 | !3E U+003E greater 64 | !3F U+003F question 65 | !40 U+0040 at 66 | !41 U+0041 A 67 | !42 U+0042 B 68 | !43 U+0043 C 69 | !44 U+0044 D 70 | !45 U+0045 E 71 | !46 U+0046 F 72 | !47 U+0047 G 73 | !48 U+0048 H 74 | !49 U+0049 I 75 | !4A U+004A J 76 | !4B U+004B K 77 | !4C U+004C L 78 | !4D U+004D M 79 | !4E U+004E N 80 | !4F U+004F O 81 | !50 U+0050 P 82 | !51 U+0051 Q 83 | !52 U+0052 R 84 | !53 U+0053 S 85 | !54 U+0054 T 86 | !55 U+0055 U 87 | !56 U+0056 V 88 | !57 U+0057 W 89 | !58 U+0058 X 90 | !59 U+0059 Y 91 | !5A U+005A Z 92 | !5B U+005B bracketleft 93 | !5C U+005C backslash 94 | !5D U+005D bracketright 95 | !5E U+005E asciicircum 96 | !5F U+005F underscore 97 | !60 U+0060 grave 98 | !61 U+0061 a 99 | !62 U+0062 b 100 | !63 U+0063 c 101 | !64 U+0064 d 102 | !65 U+0065 e 103 | !66 U+0066 f 104 | !67 U+0067 g 105 | !68 U+0068 h 106 | !69 U+0069 i 107 | !6A U+006A j 108 | !6B U+006B k 109 | !6C U+006C l 110 | !6D U+006D m 111 | !6E U+006E n 112 | !6F U+006F o 113 | !70 U+0070 p 114 | !71 U+0071 q 115 | !72 U+0072 r 116 | !73 U+0073 s 117 | !74 U+0074 t 118 | !75 U+0075 u 119 | !76 U+0076 v 120 | !77 U+0077 w 121 | !78 U+0078 x 122 | !79 U+0079 y 123 | !7A U+007A z 124 | !7B U+007B braceleft 125 | !7C U+007C bar 126 | !7D U+007D braceright 127 | !7E U+007E asciitilde 128 | !7F U+007F .notdef 129 | !80 U+20AC Euro 130 | !82 U+201A quotesinglbase 131 | !83 U+0192 florin 132 | !84 U+201E quotedblbase 133 | !85 U+2026 ellipsis 134 | !86 U+2020 dagger 135 | !87 U+2021 daggerdbl 136 | !88 U+02C6 circumflex 137 | !89 U+2030 perthousand 138 | !8B U+2039 guilsinglleft 139 | !91 U+2018 quoteleft 140 | !92 U+2019 quoteright 141 | !93 U+201C quotedblleft 142 | !94 U+201D quotedblright 143 | !95 U+2022 bullet 144 | !96 U+2013 endash 145 | !97 U+2014 emdash 146 | !98 U+02DC tilde 147 | !99 U+2122 trademark 148 | !9B U+203A guilsinglright 149 | !A0 U+00A0 space 150 | !A1 U+00A1 exclamdown 151 | !A2 U+00A2 cent 152 | !A3 U+00A3 sterling 153 | !A4 U+20AA afii57636 154 | !A5 U+00A5 yen 155 | !A6 U+00A6 brokenbar 156 | !A7 U+00A7 section 157 | !A8 U+00A8 dieresis 158 | !A9 U+00A9 copyright 159 | !AA U+00D7 multiply 160 | !AB U+00AB guillemotleft 161 | !AC U+00AC logicalnot 162 | !AD U+00AD sfthyphen 163 | !AE U+00AE registered 164 | !AF U+00AF macron 165 | !B0 U+00B0 degree 166 | !B1 U+00B1 plusminus 167 | !B2 U+00B2 twosuperior 168 | !B3 U+00B3 threesuperior 169 | !B4 U+00B4 acute 170 | !B5 U+00B5 mu 171 | !B6 U+00B6 paragraph 172 | !B7 U+00B7 middot 173 | !B8 U+00B8 cedilla 174 | !B9 U+00B9 onesuperior 175 | !BA U+00F7 divide 176 | !BB U+00BB guillemotright 177 | !BC U+00BC onequarter 178 | !BD U+00BD onehalf 179 | !BE U+00BE threequarters 180 | !BF U+00BF questiondown 181 | !C0 U+05B0 afii57799 182 | !C1 U+05B1 afii57801 183 | !C2 U+05B2 afii57800 184 | !C3 U+05B3 afii57802 185 | !C4 U+05B4 afii57793 186 | !C5 U+05B5 afii57794 187 | !C6 U+05B6 afii57795 188 | !C7 U+05B7 afii57798 189 | !C8 U+05B8 afii57797 190 | !C9 U+05B9 afii57806 191 | !CB U+05BB afii57796 192 | !CC U+05BC afii57807 193 | !CD U+05BD afii57839 194 | !CE U+05BE afii57645 195 | !CF U+05BF afii57841 196 | !D0 U+05C0 afii57842 197 | !D1 U+05C1 afii57804 198 | !D2 U+05C2 afii57803 199 | !D3 U+05C3 afii57658 200 | !D4 U+05F0 afii57716 201 | !D5 U+05F1 afii57717 202 | !D6 U+05F2 afii57718 203 | !D7 U+05F3 gereshhebrew 204 | !D8 U+05F4 gershayimhebrew 205 | !E0 U+05D0 afii57664 206 | !E1 U+05D1 afii57665 207 | !E2 U+05D2 afii57666 208 | !E3 U+05D3 afii57667 209 | !E4 U+05D4 afii57668 210 | !E5 U+05D5 afii57669 211 | !E6 U+05D6 afii57670 212 | !E7 U+05D7 afii57671 213 | !E8 U+05D8 afii57672 214 | !E9 U+05D9 afii57673 215 | !EA U+05DA afii57674 216 | !EB U+05DB afii57675 217 | !EC U+05DC afii57676 218 | !ED U+05DD afii57677 219 | !EE U+05DE afii57678 220 | !EF U+05DF afii57679 221 | !F0 U+05E0 afii57680 222 | !F1 U+05E1 afii57681 223 | !F2 U+05E2 afii57682 224 | !F3 U+05E3 afii57683 225 | !F4 U+05E4 afii57684 226 | !F5 U+05E5 afii57685 227 | !F6 U+05E6 afii57686 228 | !F7 U+05E7 afii57687 229 | !F8 U+05E8 afii57688 230 | !F9 U+05E9 afii57689 231 | !FA U+05EA afii57690 232 | !FD U+200E afii299 233 | !FE U+200F afii300 234 | -------------------------------------------------------------------------------- /fpdf181/makefont/cp1257.map: -------------------------------------------------------------------------------- 1 | !00 U+0000 .notdef 2 | !01 U+0001 .notdef 3 | !02 U+0002 .notdef 4 | !03 U+0003 .notdef 5 | !04 U+0004 .notdef 6 | !05 U+0005 .notdef 7 | !06 U+0006 .notdef 8 | !07 U+0007 .notdef 9 | !08 U+0008 .notdef 10 | !09 U+0009 .notdef 11 | !0A U+000A .notdef 12 | !0B U+000B .notdef 13 | !0C U+000C .notdef 14 | !0D U+000D .notdef 15 | !0E U+000E .notdef 16 | !0F U+000F .notdef 17 | !10 U+0010 .notdef 18 | !11 U+0011 .notdef 19 | !12 U+0012 .notdef 20 | !13 U+0013 .notdef 21 | !14 U+0014 .notdef 22 | !15 U+0015 .notdef 23 | !16 U+0016 .notdef 24 | !17 U+0017 .notdef 25 | !18 U+0018 .notdef 26 | !19 U+0019 .notdef 27 | !1A U+001A .notdef 28 | !1B U+001B .notdef 29 | !1C U+001C .notdef 30 | !1D U+001D .notdef 31 | !1E U+001E .notdef 32 | !1F U+001F .notdef 33 | !20 U+0020 space 34 | !21 U+0021 exclam 35 | !22 U+0022 quotedbl 36 | !23 U+0023 numbersign 37 | !24 U+0024 dollar 38 | !25 U+0025 percent 39 | !26 U+0026 ampersand 40 | !27 U+0027 quotesingle 41 | !28 U+0028 parenleft 42 | !29 U+0029 parenright 43 | !2A U+002A asterisk 44 | !2B U+002B plus 45 | !2C U+002C comma 46 | !2D U+002D hyphen 47 | !2E U+002E period 48 | !2F U+002F slash 49 | !30 U+0030 zero 50 | !31 U+0031 one 51 | !32 U+0032 two 52 | !33 U+0033 three 53 | !34 U+0034 four 54 | !35 U+0035 five 55 | !36 U+0036 six 56 | !37 U+0037 seven 57 | !38 U+0038 eight 58 | !39 U+0039 nine 59 | !3A U+003A colon 60 | !3B U+003B semicolon 61 | !3C U+003C less 62 | !3D U+003D equal 63 | !3E U+003E greater 64 | !3F U+003F question 65 | !40 U+0040 at 66 | !41 U+0041 A 67 | !42 U+0042 B 68 | !43 U+0043 C 69 | !44 U+0044 D 70 | !45 U+0045 E 71 | !46 U+0046 F 72 | !47 U+0047 G 73 | !48 U+0048 H 74 | !49 U+0049 I 75 | !4A U+004A J 76 | !4B U+004B K 77 | !4C U+004C L 78 | !4D U+004D M 79 | !4E U+004E N 80 | !4F U+004F O 81 | !50 U+0050 P 82 | !51 U+0051 Q 83 | !52 U+0052 R 84 | !53 U+0053 S 85 | !54 U+0054 T 86 | !55 U+0055 U 87 | !56 U+0056 V 88 | !57 U+0057 W 89 | !58 U+0058 X 90 | !59 U+0059 Y 91 | !5A U+005A Z 92 | !5B U+005B bracketleft 93 | !5C U+005C backslash 94 | !5D U+005D bracketright 95 | !5E U+005E asciicircum 96 | !5F U+005F underscore 97 | !60 U+0060 grave 98 | !61 U+0061 a 99 | !62 U+0062 b 100 | !63 U+0063 c 101 | !64 U+0064 d 102 | !65 U+0065 e 103 | !66 U+0066 f 104 | !67 U+0067 g 105 | !68 U+0068 h 106 | !69 U+0069 i 107 | !6A U+006A j 108 | !6B U+006B k 109 | !6C U+006C l 110 | !6D U+006D m 111 | !6E U+006E n 112 | !6F U+006F o 113 | !70 U+0070 p 114 | !71 U+0071 q 115 | !72 U+0072 r 116 | !73 U+0073 s 117 | !74 U+0074 t 118 | !75 U+0075 u 119 | !76 U+0076 v 120 | !77 U+0077 w 121 | !78 U+0078 x 122 | !79 U+0079 y 123 | !7A U+007A z 124 | !7B U+007B braceleft 125 | !7C U+007C bar 126 | !7D U+007D braceright 127 | !7E U+007E asciitilde 128 | !7F U+007F .notdef 129 | !80 U+20AC Euro 130 | !82 U+201A quotesinglbase 131 | !84 U+201E quotedblbase 132 | !85 U+2026 ellipsis 133 | !86 U+2020 dagger 134 | !87 U+2021 daggerdbl 135 | !89 U+2030 perthousand 136 | !8B U+2039 guilsinglleft 137 | !8D U+00A8 dieresis 138 | !8E U+02C7 caron 139 | !8F U+00B8 cedilla 140 | !91 U+2018 quoteleft 141 | !92 U+2019 quoteright 142 | !93 U+201C quotedblleft 143 | !94 U+201D quotedblright 144 | !95 U+2022 bullet 145 | !96 U+2013 endash 146 | !97 U+2014 emdash 147 | !99 U+2122 trademark 148 | !9B U+203A guilsinglright 149 | !9D U+00AF macron 150 | !9E U+02DB ogonek 151 | !A0 U+00A0 space 152 | !A2 U+00A2 cent 153 | !A3 U+00A3 sterling 154 | !A4 U+00A4 currency 155 | !A6 U+00A6 brokenbar 156 | !A7 U+00A7 section 157 | !A8 U+00D8 Oslash 158 | !A9 U+00A9 copyright 159 | !AA U+0156 Rcommaaccent 160 | !AB U+00AB guillemotleft 161 | !AC U+00AC logicalnot 162 | !AD U+00AD hyphen 163 | !AE U+00AE registered 164 | !AF U+00C6 AE 165 | !B0 U+00B0 degree 166 | !B1 U+00B1 plusminus 167 | !B2 U+00B2 twosuperior 168 | !B3 U+00B3 threesuperior 169 | !B4 U+00B4 acute 170 | !B5 U+00B5 mu 171 | !B6 U+00B6 paragraph 172 | !B7 U+00B7 periodcentered 173 | !B8 U+00F8 oslash 174 | !B9 U+00B9 onesuperior 175 | !BA U+0157 rcommaaccent 176 | !BB U+00BB guillemotright 177 | !BC U+00BC onequarter 178 | !BD U+00BD onehalf 179 | !BE U+00BE threequarters 180 | !BF U+00E6 ae 181 | !C0 U+0104 Aogonek 182 | !C1 U+012E Iogonek 183 | !C2 U+0100 Amacron 184 | !C3 U+0106 Cacute 185 | !C4 U+00C4 Adieresis 186 | !C5 U+00C5 Aring 187 | !C6 U+0118 Eogonek 188 | !C7 U+0112 Emacron 189 | !C8 U+010C Ccaron 190 | !C9 U+00C9 Eacute 191 | !CA U+0179 Zacute 192 | !CB U+0116 Edotaccent 193 | !CC U+0122 Gcommaaccent 194 | !CD U+0136 Kcommaaccent 195 | !CE U+012A Imacron 196 | !CF U+013B Lcommaaccent 197 | !D0 U+0160 Scaron 198 | !D1 U+0143 Nacute 199 | !D2 U+0145 Ncommaaccent 200 | !D3 U+00D3 Oacute 201 | !D4 U+014C Omacron 202 | !D5 U+00D5 Otilde 203 | !D6 U+00D6 Odieresis 204 | !D7 U+00D7 multiply 205 | !D8 U+0172 Uogonek 206 | !D9 U+0141 Lslash 207 | !DA U+015A Sacute 208 | !DB U+016A Umacron 209 | !DC U+00DC Udieresis 210 | !DD U+017B Zdotaccent 211 | !DE U+017D Zcaron 212 | !DF U+00DF germandbls 213 | !E0 U+0105 aogonek 214 | !E1 U+012F iogonek 215 | !E2 U+0101 amacron 216 | !E3 U+0107 cacute 217 | !E4 U+00E4 adieresis 218 | !E5 U+00E5 aring 219 | !E6 U+0119 eogonek 220 | !E7 U+0113 emacron 221 | !E8 U+010D ccaron 222 | !E9 U+00E9 eacute 223 | !EA U+017A zacute 224 | !EB U+0117 edotaccent 225 | !EC U+0123 gcommaaccent 226 | !ED U+0137 kcommaaccent 227 | !EE U+012B imacron 228 | !EF U+013C lcommaaccent 229 | !F0 U+0161 scaron 230 | !F1 U+0144 nacute 231 | !F2 U+0146 ncommaaccent 232 | !F3 U+00F3 oacute 233 | !F4 U+014D omacron 234 | !F5 U+00F5 otilde 235 | !F6 U+00F6 odieresis 236 | !F7 U+00F7 divide 237 | !F8 U+0173 uogonek 238 | !F9 U+0142 lslash 239 | !FA U+015B sacute 240 | !FB U+016B umacron 241 | !FC U+00FC udieresis 242 | !FD U+017C zdotaccent 243 | !FE U+017E zcaron 244 | !FF U+02D9 dotaccent 245 | -------------------------------------------------------------------------------- /fpdf181/makefont/cp874.map: -------------------------------------------------------------------------------- 1 | !00 U+0000 .notdef 2 | !01 U+0001 .notdef 3 | !02 U+0002 .notdef 4 | !03 U+0003 .notdef 5 | !04 U+0004 .notdef 6 | !05 U+0005 .notdef 7 | !06 U+0006 .notdef 8 | !07 U+0007 .notdef 9 | !08 U+0008 .notdef 10 | !09 U+0009 .notdef 11 | !0A U+000A .notdef 12 | !0B U+000B .notdef 13 | !0C U+000C .notdef 14 | !0D U+000D .notdef 15 | !0E U+000E .notdef 16 | !0F U+000F .notdef 17 | !10 U+0010 .notdef 18 | !11 U+0011 .notdef 19 | !12 U+0012 .notdef 20 | !13 U+0013 .notdef 21 | !14 U+0014 .notdef 22 | !15 U+0015 .notdef 23 | !16 U+0016 .notdef 24 | !17 U+0017 .notdef 25 | !18 U+0018 .notdef 26 | !19 U+0019 .notdef 27 | !1A U+001A .notdef 28 | !1B U+001B .notdef 29 | !1C U+001C .notdef 30 | !1D U+001D .notdef 31 | !1E U+001E .notdef 32 | !1F U+001F .notdef 33 | !20 U+0020 space 34 | !21 U+0021 exclam 35 | !22 U+0022 quotedbl 36 | !23 U+0023 numbersign 37 | !24 U+0024 dollar 38 | !25 U+0025 percent 39 | !26 U+0026 ampersand 40 | !27 U+0027 quotesingle 41 | !28 U+0028 parenleft 42 | !29 U+0029 parenright 43 | !2A U+002A asterisk 44 | !2B U+002B plus 45 | !2C U+002C comma 46 | !2D U+002D hyphen 47 | !2E U+002E period 48 | !2F U+002F slash 49 | !30 U+0030 zero 50 | !31 U+0031 one 51 | !32 U+0032 two 52 | !33 U+0033 three 53 | !34 U+0034 four 54 | !35 U+0035 five 55 | !36 U+0036 six 56 | !37 U+0037 seven 57 | !38 U+0038 eight 58 | !39 U+0039 nine 59 | !3A U+003A colon 60 | !3B U+003B semicolon 61 | !3C U+003C less 62 | !3D U+003D equal 63 | !3E U+003E greater 64 | !3F U+003F question 65 | !40 U+0040 at 66 | !41 U+0041 A 67 | !42 U+0042 B 68 | !43 U+0043 C 69 | !44 U+0044 D 70 | !45 U+0045 E 71 | !46 U+0046 F 72 | !47 U+0047 G 73 | !48 U+0048 H 74 | !49 U+0049 I 75 | !4A U+004A J 76 | !4B U+004B K 77 | !4C U+004C L 78 | !4D U+004D M 79 | !4E U+004E N 80 | !4F U+004F O 81 | !50 U+0050 P 82 | !51 U+0051 Q 83 | !52 U+0052 R 84 | !53 U+0053 S 85 | !54 U+0054 T 86 | !55 U+0055 U 87 | !56 U+0056 V 88 | !57 U+0057 W 89 | !58 U+0058 X 90 | !59 U+0059 Y 91 | !5A U+005A Z 92 | !5B U+005B bracketleft 93 | !5C U+005C backslash 94 | !5D U+005D bracketright 95 | !5E U+005E asciicircum 96 | !5F U+005F underscore 97 | !60 U+0060 grave 98 | !61 U+0061 a 99 | !62 U+0062 b 100 | !63 U+0063 c 101 | !64 U+0064 d 102 | !65 U+0065 e 103 | !66 U+0066 f 104 | !67 U+0067 g 105 | !68 U+0068 h 106 | !69 U+0069 i 107 | !6A U+006A j 108 | !6B U+006B k 109 | !6C U+006C l 110 | !6D U+006D m 111 | !6E U+006E n 112 | !6F U+006F o 113 | !70 U+0070 p 114 | !71 U+0071 q 115 | !72 U+0072 r 116 | !73 U+0073 s 117 | !74 U+0074 t 118 | !75 U+0075 u 119 | !76 U+0076 v 120 | !77 U+0077 w 121 | !78 U+0078 x 122 | !79 U+0079 y 123 | !7A U+007A z 124 | !7B U+007B braceleft 125 | !7C U+007C bar 126 | !7D U+007D braceright 127 | !7E U+007E asciitilde 128 | !7F U+007F .notdef 129 | !80 U+20AC Euro 130 | !85 U+2026 ellipsis 131 | !91 U+2018 quoteleft 132 | !92 U+2019 quoteright 133 | !93 U+201C quotedblleft 134 | !94 U+201D quotedblright 135 | !95 U+2022 bullet 136 | !96 U+2013 endash 137 | !97 U+2014 emdash 138 | !A0 U+00A0 space 139 | !A1 U+0E01 kokaithai 140 | !A2 U+0E02 khokhaithai 141 | !A3 U+0E03 khokhuatthai 142 | !A4 U+0E04 khokhwaithai 143 | !A5 U+0E05 khokhonthai 144 | !A6 U+0E06 khorakhangthai 145 | !A7 U+0E07 ngonguthai 146 | !A8 U+0E08 chochanthai 147 | !A9 U+0E09 chochingthai 148 | !AA U+0E0A chochangthai 149 | !AB U+0E0B sosothai 150 | !AC U+0E0C chochoethai 151 | !AD U+0E0D yoyingthai 152 | !AE U+0E0E dochadathai 153 | !AF U+0E0F topatakthai 154 | !B0 U+0E10 thothanthai 155 | !B1 U+0E11 thonangmonthothai 156 | !B2 U+0E12 thophuthaothai 157 | !B3 U+0E13 nonenthai 158 | !B4 U+0E14 dodekthai 159 | !B5 U+0E15 totaothai 160 | !B6 U+0E16 thothungthai 161 | !B7 U+0E17 thothahanthai 162 | !B8 U+0E18 thothongthai 163 | !B9 U+0E19 nonuthai 164 | !BA U+0E1A bobaimaithai 165 | !BB U+0E1B poplathai 166 | !BC U+0E1C phophungthai 167 | !BD U+0E1D fofathai 168 | !BE U+0E1E phophanthai 169 | !BF U+0E1F fofanthai 170 | !C0 U+0E20 phosamphaothai 171 | !C1 U+0E21 momathai 172 | !C2 U+0E22 yoyakthai 173 | !C3 U+0E23 roruathai 174 | !C4 U+0E24 ruthai 175 | !C5 U+0E25 lolingthai 176 | !C6 U+0E26 luthai 177 | !C7 U+0E27 wowaenthai 178 | !C8 U+0E28 sosalathai 179 | !C9 U+0E29 sorusithai 180 | !CA U+0E2A sosuathai 181 | !CB U+0E2B hohipthai 182 | !CC U+0E2C lochulathai 183 | !CD U+0E2D oangthai 184 | !CE U+0E2E honokhukthai 185 | !CF U+0E2F paiyannoithai 186 | !D0 U+0E30 saraathai 187 | !D1 U+0E31 maihanakatthai 188 | !D2 U+0E32 saraaathai 189 | !D3 U+0E33 saraamthai 190 | !D4 U+0E34 saraithai 191 | !D5 U+0E35 saraiithai 192 | !D6 U+0E36 sarauethai 193 | !D7 U+0E37 saraueethai 194 | !D8 U+0E38 sarauthai 195 | !D9 U+0E39 sarauuthai 196 | !DA U+0E3A phinthuthai 197 | !DF U+0E3F bahtthai 198 | !E0 U+0E40 saraethai 199 | !E1 U+0E41 saraaethai 200 | !E2 U+0E42 saraothai 201 | !E3 U+0E43 saraaimaimuanthai 202 | !E4 U+0E44 saraaimaimalaithai 203 | !E5 U+0E45 lakkhangyaothai 204 | !E6 U+0E46 maiyamokthai 205 | !E7 U+0E47 maitaikhuthai 206 | !E8 U+0E48 maiekthai 207 | !E9 U+0E49 maithothai 208 | !EA U+0E4A maitrithai 209 | !EB U+0E4B maichattawathai 210 | !EC U+0E4C thanthakhatthai 211 | !ED U+0E4D nikhahitthai 212 | !EE U+0E4E yamakkanthai 213 | !EF U+0E4F fongmanthai 214 | !F0 U+0E50 zerothai 215 | !F1 U+0E51 onethai 216 | !F2 U+0E52 twothai 217 | !F3 U+0E53 threethai 218 | !F4 U+0E54 fourthai 219 | !F5 U+0E55 fivethai 220 | !F6 U+0E56 sixthai 221 | !F7 U+0E57 seventhai 222 | !F8 U+0E58 eightthai 223 | !F9 U+0E59 ninethai 224 | !FA U+0E5A angkhankhuthai 225 | !FB U+0E5B khomutthai 226 | -------------------------------------------------------------------------------- /fpdf181/tutorial/20k_c1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/fpdf181/tutorial/20k_c1.txt -------------------------------------------------------------------------------- /fpdf181/tutorial/calligra.php: -------------------------------------------------------------------------------- 1 | 899,'Descent'=>-234,'CapHeight'=>899,'Flags'=>32,'FontBBox'=>'[-173 -234 1328 899]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>800); 5 | $up = -200; 6 | $ut = 20; 7 | $cw = array( 8 | chr(0)=>800,chr(1)=>800,chr(2)=>800,chr(3)=>800,chr(4)=>800,chr(5)=>800,chr(6)=>800,chr(7)=>800,chr(8)=>800,chr(9)=>800,chr(10)=>800,chr(11)=>800,chr(12)=>800,chr(13)=>800,chr(14)=>800,chr(15)=>800,chr(16)=>800,chr(17)=>800,chr(18)=>800,chr(19)=>800,chr(20)=>800,chr(21)=>800, 9 | chr(22)=>800,chr(23)=>800,chr(24)=>800,chr(25)=>800,chr(26)=>800,chr(27)=>800,chr(28)=>800,chr(29)=>800,chr(30)=>800,chr(31)=>800,' '=>282,'!'=>324,'"'=>405,'#'=>584,'$'=>632,'%'=>980,'&'=>776,'\''=>259,'('=>299,')'=>299,'*'=>377,'+'=>600, 10 | ','=>259,'-'=>432,'.'=>254,'/'=>597,'0'=>529,'1'=>298,'2'=>451,'3'=>359,'4'=>525,'5'=>423,'6'=>464,'7'=>417,'8'=>457,'9'=>479,':'=>275,';'=>282,'<'=>600,'='=>600,'>'=>600,'?'=>501,'@'=>800,'A'=>743, 11 | 'B'=>636,'C'=>598,'D'=>712,'E'=>608,'F'=>562,'G'=>680,'H'=>756,'I'=>308,'J'=>314,'K'=>676,'L'=>552,'M'=>1041,'N'=>817,'O'=>729,'P'=>569,'Q'=>698,'R'=>674,'S'=>618,'T'=>673,'U'=>805,'V'=>753,'W'=>1238, 12 | 'X'=>716,'Y'=>754,'Z'=>599,'['=>315,'\\'=>463,']'=>315,'^'=>600,'_'=>547,'`'=>278,'a'=>581,'b'=>564,'c'=>440,'d'=>571,'e'=>450,'f'=>347,'g'=>628,'h'=>611,'i'=>283,'j'=>283,'k'=>560,'l'=>252,'m'=>976, 13 | 'n'=>595,'o'=>508,'p'=>549,'q'=>540,'r'=>395,'s'=>441,'t'=>307,'u'=>614,'v'=>556,'w'=>915,'x'=>559,'y'=>597,'z'=>452,'{'=>315,'|'=>222,'}'=>315,'~'=>600,chr(127)=>800,chr(128)=>800,chr(129)=>800,chr(130)=>0,chr(131)=>0, 14 | chr(132)=>0,chr(133)=>780,chr(134)=>0,chr(135)=>0,chr(136)=>278,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>1064,chr(141)=>800,chr(142)=>0,chr(143)=>800,chr(144)=>800,chr(145)=>259,chr(146)=>259,chr(147)=>470,chr(148)=>470,chr(149)=>500,chr(150)=>300,chr(151)=>600,chr(152)=>278,chr(153)=>990, 15 | chr(154)=>0,chr(155)=>0,chr(156)=>790,chr(157)=>800,chr(158)=>800,chr(159)=>754,chr(160)=>282,chr(161)=>324,chr(162)=>450,chr(163)=>640,chr(164)=>518,chr(165)=>603,chr(166)=>0,chr(167)=>519,chr(168)=>254,chr(169)=>800,chr(170)=>349,chr(171)=>0,chr(172)=>0,chr(173)=>432,chr(174)=>800,chr(175)=>278, 16 | chr(176)=>0,chr(177)=>0,chr(178)=>0,chr(179)=>0,chr(180)=>278,chr(181)=>614,chr(182)=>0,chr(183)=>254,chr(184)=>278,chr(185)=>0,chr(186)=>305,chr(187)=>0,chr(188)=>0,chr(189)=>0,chr(190)=>0,chr(191)=>501,chr(192)=>743,chr(193)=>743,chr(194)=>743,chr(195)=>743,chr(196)=>743,chr(197)=>743, 17 | chr(198)=>1060,chr(199)=>598,chr(200)=>608,chr(201)=>608,chr(202)=>608,chr(203)=>608,chr(204)=>308,chr(205)=>308,chr(206)=>308,chr(207)=>308,chr(208)=>0,chr(209)=>817,chr(210)=>729,chr(211)=>729,chr(212)=>729,chr(213)=>729,chr(214)=>729,chr(215)=>0,chr(216)=>729,chr(217)=>805,chr(218)=>805,chr(219)=>805, 18 | chr(220)=>805,chr(221)=>0,chr(222)=>0,chr(223)=>688,chr(224)=>581,chr(225)=>581,chr(226)=>581,chr(227)=>581,chr(228)=>581,chr(229)=>581,chr(230)=>792,chr(231)=>440,chr(232)=>450,chr(233)=>450,chr(234)=>450,chr(235)=>450,chr(236)=>283,chr(237)=>283,chr(238)=>283,chr(239)=>283,chr(240)=>0,chr(241)=>595, 19 | chr(242)=>508,chr(243)=>508,chr(244)=>508,chr(245)=>508,chr(246)=>508,chr(247)=>0,chr(248)=>508,chr(249)=>614,chr(250)=>614,chr(251)=>614,chr(252)=>614,chr(253)=>0,chr(254)=>0,chr(255)=>597); 20 | $enc = 'cp1252'; 21 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 22 | $file = 'calligra.z'; 23 | $originalsize = 33948; 24 | $subsetted = true; 25 | ?> 26 | -------------------------------------------------------------------------------- /fpdf181/tutorial/calligra.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/fpdf181/tutorial/calligra.ttf -------------------------------------------------------------------------------- /fpdf181/tutorial/calligra.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/fpdf181/tutorial/calligra.z -------------------------------------------------------------------------------- /fpdf181/tutorial/countries.txt: -------------------------------------------------------------------------------- 1 | Austria;Vienna;83859;8075 2 | Belgium;Brussels;30518;10192 3 | Denmark;Copenhagen;43094;5295 4 | Finland;Helsinki;304529;5147 5 | France;Paris;543965;58728 6 | Germany;Berlin;357022;82057 7 | Greece;Athens;131625;10511 8 | Ireland;Dublin;70723;3694 9 | Italy;Roma;301316;57563 10 | Luxembourg;Luxembourg;2586;424 11 | Netherlands;Amsterdam;41526;15654 12 | Portugal;Lisbon;91906;9957 13 | Spain;Madrid;504790;39348 14 | Sweden;Stockholm;410934;8839 15 | United Kingdom;London;243820;58862 16 | -------------------------------------------------------------------------------- /fpdf181/tutorial/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Tutorials 6 | 7 | 8 | 9 |

Tutorials

10 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /fpdf181/tutorial/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/fpdf181/tutorial/logo.png -------------------------------------------------------------------------------- /fpdf181/tutorial/makefont.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto1.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Minimal example 6 | 7 | 8 | 9 |

Minimal example

10 | Let's start with the classic example: 11 |
12 |
<?php
13 | require('fpdf.php');
14 | 
15 | $pdf = new FPDF();
16 | $pdf->AddPage();
17 | $pdf->SetFont('Arial','B',16);
18 | $pdf->Cell(40,10,'Hello World!');
19 | $pdf->Output();
20 | ?>
21 |
22 |

[Demo]

23 | After including the library file, we create an FPDF object. 24 | The constructor is used here with the default values: pages are in A4 portrait and 25 | the unit of measure is millimeter. It could have been specified explicitly with: 26 |
27 |
$pdf = new FPDF('P','mm','A4');
28 | 
29 |
30 | It's possible to use landscape (L), other page sizes (such as Letter and 31 | Legal) and units (pt, cm, in). 32 |
33 |
34 | There's no page at the moment, so we have to add one with AddPage(). The origin 35 | is at the upper-left corner and the current position is by default set at 1 cm from the 36 | borders; the margins can be changed with SetMargins(). 37 |
38 |
39 | Before we can print text, it's mandatory to select a font with SetFont(). 40 | We choose Arial bold 16: 41 |
42 |
$pdf->SetFont('Arial','B',16);
43 | 
44 |
45 | We could have specified italics with I, underlined with U or a regular font with an empty string 46 | (or any combination). Note that the font size is given in points, not millimeters (or another user 47 | unit); it's the only exception. The other standard fonts are Times, Courier, Symbol and ZapfDingbats. 48 |
49 |
50 | We can now print a cell with Cell(). A cell is a rectangular area, possibly framed, 51 | which contains a line of text. It is output at the current position. We specify its dimensions, 52 | its text (centered or aligned), if borders should be drawn, and where the current position 53 | moves after it (to the right, below or to the beginning of the next line). To add a frame, we would do this: 54 |
55 |
$pdf->Cell(40,10,'Hello World !',1);
56 | 
57 |
58 | To add a new cell next to it with centered text and go to the next line, we would do: 59 |
60 |
$pdf->Cell(60,10,'Powered by FPDF.',0,1,'C');
61 | 
62 |
63 | Remark: the line break can also be done with Ln(). This method additionnaly allows to specify 64 | the height of the break. 65 |
66 |
67 | Finally, the document is closed and sent to the browser with Output(). We could have saved 68 | it to a file by passing the appropriate parameters. 69 |
70 |
71 | Caution: in case when the PDF is sent to the browser, nothing else must be output by the 72 | script, neither before nor after (no HTML, not even a space or a carriage return). If you send something 73 | before, you will get the error message: "Some data has already been output, can't send PDF file". If you 74 | send something after, the document might not display. 75 | 76 | 77 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto1.php: -------------------------------------------------------------------------------- 1 | AddPage(); 6 | $pdf->SetFont('Arial','B',16); 7 | $pdf->Cell(40,10,'Hello World!'); 8 | $pdf->Output(); 9 | ?> 10 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto2.php: -------------------------------------------------------------------------------- 1 | Image('logo.png',10,6,30); 11 | // Arial bold 15 12 | $this->SetFont('Arial','B',15); 13 | // Move to the right 14 | $this->Cell(80); 15 | // Title 16 | $this->Cell(30,10,'Title',1,0,'C'); 17 | // Line break 18 | $this->Ln(20); 19 | } 20 | 21 | // Page footer 22 | function Footer() 23 | { 24 | // Position at 1.5 cm from bottom 25 | $this->SetY(-15); 26 | // Arial italic 8 27 | $this->SetFont('Arial','I',8); 28 | // Page number 29 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); 30 | } 31 | } 32 | 33 | // Instanciation of inherited class 34 | $pdf = new PDF(); 35 | $pdf->AliasNbPages(); 36 | $pdf->AddPage(); 37 | $pdf->SetFont('Times','',12); 38 | for($i=1;$i<=40;$i++) 39 | $pdf->Cell(0,10,'Printing line number '.$i,0,1); 40 | $pdf->Output(); 41 | ?> 42 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto3.php: -------------------------------------------------------------------------------- 1 | SetFont('Arial','B',15); 12 | // Calculate width of title and position 13 | $w = $this->GetStringWidth($title)+6; 14 | $this->SetX((210-$w)/2); 15 | // Colors of frame, background and text 16 | $this->SetDrawColor(0,80,180); 17 | $this->SetFillColor(230,230,0); 18 | $this->SetTextColor(220,50,50); 19 | // Thickness of frame (1 mm) 20 | $this->SetLineWidth(1); 21 | // Title 22 | $this->Cell($w,9,$title,1,1,'C',true); 23 | // Line break 24 | $this->Ln(10); 25 | } 26 | 27 | function Footer() 28 | { 29 | // Position at 1.5 cm from bottom 30 | $this->SetY(-15); 31 | // Arial italic 8 32 | $this->SetFont('Arial','I',8); 33 | // Text color in gray 34 | $this->SetTextColor(128); 35 | // Page number 36 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C'); 37 | } 38 | 39 | function ChapterTitle($num, $label) 40 | { 41 | // Arial 12 42 | $this->SetFont('Arial','',12); 43 | // Background color 44 | $this->SetFillColor(200,220,255); 45 | // Title 46 | $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true); 47 | // Line break 48 | $this->Ln(4); 49 | } 50 | 51 | function ChapterBody($file) 52 | { 53 | // Read text file 54 | $txt = file_get_contents($file); 55 | // Times 12 56 | $this->SetFont('Times','',12); 57 | // Output justified text 58 | $this->MultiCell(0,5,$txt); 59 | // Line break 60 | $this->Ln(); 61 | // Mention in italics 62 | $this->SetFont('','I'); 63 | $this->Cell(0,5,'(end of excerpt)'); 64 | } 65 | 66 | function PrintChapter($num, $title, $file) 67 | { 68 | $this->AddPage(); 69 | $this->ChapterTitle($num,$title); 70 | $this->ChapterBody($file); 71 | } 72 | } 73 | 74 | $pdf = new PDF(); 75 | $title = '20000 Leagues Under the Seas'; 76 | $pdf->SetTitle($title); 77 | $pdf->SetAuthor('Jules Verne'); 78 | $pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt'); 79 | $pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt'); 80 | $pdf->Output(); 81 | ?> 82 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto4.php: -------------------------------------------------------------------------------- 1 | SetFont('Arial','B',15); 15 | $w = $this->GetStringWidth($title)+6; 16 | $this->SetX((210-$w)/2); 17 | $this->SetDrawColor(0,80,180); 18 | $this->SetFillColor(230,230,0); 19 | $this->SetTextColor(220,50,50); 20 | $this->SetLineWidth(1); 21 | $this->Cell($w,9,$title,1,1,'C',true); 22 | $this->Ln(10); 23 | // Save ordinate 24 | $this->y0 = $this->GetY(); 25 | } 26 | 27 | function Footer() 28 | { 29 | // Page footer 30 | $this->SetY(-15); 31 | $this->SetFont('Arial','I',8); 32 | $this->SetTextColor(128); 33 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C'); 34 | } 35 | 36 | function SetCol($col) 37 | { 38 | // Set position at a given column 39 | $this->col = $col; 40 | $x = 10+$col*65; 41 | $this->SetLeftMargin($x); 42 | $this->SetX($x); 43 | } 44 | 45 | function AcceptPageBreak() 46 | { 47 | // Method accepting or not automatic page break 48 | if($this->col<2) 49 | { 50 | // Go to next column 51 | $this->SetCol($this->col+1); 52 | // Set ordinate to top 53 | $this->SetY($this->y0); 54 | // Keep on page 55 | return false; 56 | } 57 | else 58 | { 59 | // Go back to first column 60 | $this->SetCol(0); 61 | // Page break 62 | return true; 63 | } 64 | } 65 | 66 | function ChapterTitle($num, $label) 67 | { 68 | // Title 69 | $this->SetFont('Arial','',12); 70 | $this->SetFillColor(200,220,255); 71 | $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true); 72 | $this->Ln(4); 73 | // Save ordinate 74 | $this->y0 = $this->GetY(); 75 | } 76 | 77 | function ChapterBody($file) 78 | { 79 | // Read text file 80 | $txt = file_get_contents($file); 81 | // Font 82 | $this->SetFont('Times','',12); 83 | // Output text in a 6 cm width column 84 | $this->MultiCell(60,5,$txt); 85 | $this->Ln(); 86 | // Mention 87 | $this->SetFont('','I'); 88 | $this->Cell(0,5,'(end of excerpt)'); 89 | // Go back to first column 90 | $this->SetCol(0); 91 | } 92 | 93 | function PrintChapter($num, $title, $file) 94 | { 95 | // Add chapter 96 | $this->AddPage(); 97 | $this->ChapterTitle($num,$title); 98 | $this->ChapterBody($file); 99 | } 100 | } 101 | 102 | $pdf = new PDF(); 103 | $title = '20000 Leagues Under the Seas'; 104 | $pdf->SetTitle($title); 105 | $pdf->SetAuthor('Jules Verne'); 106 | $pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt'); 107 | $pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt'); 108 | $pdf->Output(); 109 | ?> 110 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto5.php: -------------------------------------------------------------------------------- 1 | Cell(40,7,$col,1); 23 | $this->Ln(); 24 | // Data 25 | foreach($data as $row) 26 | { 27 | foreach($row as $col) 28 | $this->Cell(40,6,$col,1); 29 | $this->Ln(); 30 | } 31 | } 32 | 33 | // Better table 34 | function ImprovedTable($header, $data) 35 | { 36 | // Column widths 37 | $w = array(40, 35, 40, 45); 38 | // Header 39 | for($i=0;$iCell($w[$i],7,$header[$i],1,0,'C'); 41 | $this->Ln(); 42 | // Data 43 | foreach($data as $row) 44 | { 45 | $this->Cell($w[0],6,$row[0],'LR'); 46 | $this->Cell($w[1],6,$row[1],'LR'); 47 | $this->Cell($w[2],6,number_format($row[2]),'LR',0,'R'); 48 | $this->Cell($w[3],6,number_format($row[3]),'LR',0,'R'); 49 | $this->Ln(); 50 | } 51 | // Closing line 52 | $this->Cell(array_sum($w),0,'','T'); 53 | } 54 | 55 | // Colored table 56 | function FancyTable($header, $data) 57 | { 58 | // Colors, line width and bold font 59 | $this->SetFillColor(255,0,0); 60 | $this->SetTextColor(255); 61 | $this->SetDrawColor(128,0,0); 62 | $this->SetLineWidth(.3); 63 | $this->SetFont('','B'); 64 | // Header 65 | $w = array(40, 35, 40, 45); 66 | for($i=0;$iCell($w[$i],7,$header[$i],1,0,'C',true); 68 | $this->Ln(); 69 | // Color and font restoration 70 | $this->SetFillColor(224,235,255); 71 | $this->SetTextColor(0); 72 | $this->SetFont(''); 73 | // Data 74 | $fill = false; 75 | foreach($data as $row) 76 | { 77 | $this->Cell($w[0],6,$row[0],'LR',0,'L',$fill); 78 | $this->Cell($w[1],6,$row[1],'LR',0,'L',$fill); 79 | $this->Cell($w[2],6,number_format($row[2]),'LR',0,'R',$fill); 80 | $this->Cell($w[3],6,number_format($row[3]),'LR',0,'R',$fill); 81 | $this->Ln(); 82 | $fill = !$fill; 83 | } 84 | // Closing line 85 | $this->Cell(array_sum($w),0,'','T'); 86 | } 87 | } 88 | 89 | $pdf = new PDF(); 90 | // Column headings 91 | $header = array('Country', 'Capital', 'Area (sq km)', 'Pop. (thousands)'); 92 | // Data loading 93 | $data = $pdf->LoadData('countries.txt'); 94 | $pdf->SetFont('Arial','',14); 95 | $pdf->AddPage(); 96 | $pdf->BasicTable($header,$data); 97 | $pdf->AddPage(); 98 | $pdf->ImprovedTable($header,$data); 99 | $pdf->AddPage(); 100 | $pdf->FancyTable($header,$data); 101 | $pdf->Output(); 102 | ?> 103 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto6.php: -------------------------------------------------------------------------------- 1 | /U',$html,-1,PREG_SPLIT_DELIM_CAPTURE); 16 | foreach($a as $i=>$e) 17 | { 18 | if($i%2==0) 19 | { 20 | // Text 21 | if($this->HREF) 22 | $this->PutLink($this->HREF,$e); 23 | else 24 | $this->Write(5,$e); 25 | } 26 | else 27 | { 28 | // Tag 29 | if($e[0]=='/') 30 | $this->CloseTag(strtoupper(substr($e,1))); 31 | else 32 | { 33 | // Extract attributes 34 | $a2 = explode(' ',$e); 35 | $tag = strtoupper(array_shift($a2)); 36 | $attr = array(); 37 | foreach($a2 as $v) 38 | { 39 | if(preg_match('/([^=]*)=["\']?([^"\']*)/',$v,$a3)) 40 | $attr[strtoupper($a3[1])] = $a3[2]; 41 | } 42 | $this->OpenTag($tag,$attr); 43 | } 44 | } 45 | } 46 | } 47 | 48 | function OpenTag($tag, $attr) 49 | { 50 | // Opening tag 51 | if($tag=='B' || $tag=='I' || $tag=='U') 52 | $this->SetStyle($tag,true); 53 | if($tag=='A') 54 | $this->HREF = $attr['HREF']; 55 | if($tag=='BR') 56 | $this->Ln(5); 57 | } 58 | 59 | function CloseTag($tag) 60 | { 61 | // Closing tag 62 | if($tag=='B' || $tag=='I' || $tag=='U') 63 | $this->SetStyle($tag,false); 64 | if($tag=='A') 65 | $this->HREF = ''; 66 | } 67 | 68 | function SetStyle($tag, $enable) 69 | { 70 | // Modify style and select corresponding font 71 | $this->$tag += ($enable ? 1 : -1); 72 | $style = ''; 73 | foreach(array('B', 'I', 'U') as $s) 74 | { 75 | if($this->$s>0) 76 | $style .= $s; 77 | } 78 | $this->SetFont('',$style); 79 | } 80 | 81 | function PutLink($URL, $txt) 82 | { 83 | // Put a hyperlink 84 | $this->SetTextColor(0,0,255); 85 | $this->SetStyle('U',true); 86 | $this->Write(5,$txt,$URL); 87 | $this->SetStyle('U',false); 88 | $this->SetTextColor(0); 89 | } 90 | } 91 | 92 | $html = 'You can now easily print text mixing different styles: bold, italic, 93 | underlined, or all at once!

You can also insert links on 94 | text, such as www.fpdf.org, or on an image: click on the logo.'; 95 | 96 | $pdf = new PDF(); 97 | // First page 98 | $pdf->AddPage(); 99 | $pdf->SetFont('Arial','',20); 100 | $pdf->Write(5,"To find out what's new in this tutorial, click "); 101 | $pdf->SetFont('','U'); 102 | $link = $pdf->AddLink(); 103 | $pdf->Write(5,'here',$link); 104 | $pdf->SetFont(''); 105 | // Second page 106 | $pdf->AddPage(); 107 | $pdf->SetLink($link); 108 | $pdf->Image('logo.png',10,12,30,0,'','http://www.fpdf.org'); 109 | $pdf->SetLeftMargin(45); 110 | $pdf->SetFontSize(14); 111 | $pdf->WriteHTML($html); 112 | $pdf->Output(); 113 | ?> 114 | -------------------------------------------------------------------------------- /fpdf181/tutorial/tuto7.php: -------------------------------------------------------------------------------- 1 | AddFont('Calligrapher','','calligra.php'); 7 | $pdf->AddPage(); 8 | $pdf->SetFont('Calligrapher','',35); 9 | $pdf->Cell(0,10,'Enjoy new fonts with FPDF!'); 10 | $pdf->Output(); 11 | ?> 12 | -------------------------------------------------------------------------------- /html/initialise.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Error 5 | 6 | 42 | 43 | 44 | 45 |
46 |

Invalid Request

47 |

Contact Administator

48 |
49 | 50 | 51 |
52 | 59 |
60 | 61 | -------------------------------------------------------------------------------- /images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/images/bg.png -------------------------------------------------------------------------------- /images/bgadmin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/images/bgadmin.png -------------------------------------------------------------------------------- /images/blue_flag.svg: -------------------------------------------------------------------------------- 1 | 2 | 16 | 18 | 19 | 21 | image/svg+xml 22 | 24 | 25 | 26 | 27 | 28 | 30 | 50 | 51 | 53 | Layer 1 55 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /images/btest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/images/btest.png -------------------------------------------------------------------------------- /images/flag.svg: -------------------------------------------------------------------------------- 1 | 2 | 16 | 18 | 19 | 21 | image/svg+xml 22 | 24 | 25 | 26 | 27 | 28 | 30 | 50 | 51 | 53 | Layer 1 55 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /images/red_flag.svg: -------------------------------------------------------------------------------- 1 | 2 | 16 | 18 | 19 | 21 | image/svg+xml 22 | 24 | 25 | 26 | 27 | 28 | 30 | 50 | 51 | 53 | Layer 1 55 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 21 | 22 | 23 | 24 |
25 |
26 | × 27 |
28 |
29 |
30 |

Capture the Flag

31 |
32 | 35 |
36 | 37 | 38 | 39 |
40 |
41 | 42 |
43 |
44 |
45 |
46 | × 47 |
48 |
49 |

Registration


50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |

63 |
64 | 65 |
66 |
67 | 68 |
69 |
70 |
71 | 72 |
73 |
74 |

Flawed Fortress

75 |
76 |
77 | 78 |
79 |
80 |

00:00:00

81 |
82 |
83 |
84 |
85 | Login 86 |
87 |
88 |
89 |
90 | 91 |
92 |
93 |
94 |
95 | Registration 96 |
97 |
98 |
99 |
100 | 106 | 107 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /js/dialog.js: -------------------------------------------------------------------------------- 1 | // Get the modal 2 | 3 | 4 | 5 | //Windows Side Menu 6 | 7 | function openNav() { 8 | var winH = window.innerHeight; 9 | document.getElementById("mySidenav").style.width = "25%"; 10 | document.getElementById("wrapper").style.width = "70%"; 11 | } 12 | 13 | function closeNav() { 14 | document.getElementById("mySidenav").style.width = "0"; 15 | document.getElementById("wrapper").style.width = "90%"; 16 | } 17 | 18 | // Get the modal 19 | var modal = document.getElementById('id01'); 20 | 21 | // When the user clicks anywhere outside of the modal, close it 22 | window.onclick = function(event) { 23 | if (event.target == modal) { 24 | modal.style.display = "none"; 25 | } 26 | }; -------------------------------------------------------------------------------- /js/dialogindex.js: -------------------------------------------------------------------------------- 1 | // Get the modal 2 | 3 | 4 | 5 | //Windows Side Menu 6 | 7 | function openNav() { 8 | closeNav1(); 9 | var winH = window.innerHeight; 10 | document.getElementById("mySidenav").style.width = "25%"; 11 | document.getElementById("main").style.marginLeft = "25%"; 12 | } 13 | 14 | function closeNav() { 15 | document.getElementById("mySidenav").style.width = "0"; 16 | document.getElementById("main").style.marginLeft= "0"; 17 | } 18 | 19 | // Get the modal 20 | var modal = document.getElementById('id01'); 21 | 22 | //Registration 23 | function openNav1() { 24 | closeNav(); 25 | var winH = window.innerHeight; 26 | document.getElementById("mySidenav1").style.width = "25%"; 27 | document.getElementById("main").style.marginLeft = "25%"; 28 | } 29 | 30 | function closeNav1() { 31 | document.getElementById("mySidenav1").style.width = "0"; 32 | document.getElementById("main").style.marginLeft= "0"; 33 | } 34 | 35 | // Get the modal 36 | var modal1 = document.getElementById('id01'); 37 | 38 | // When the user clicks anywhere outside of the modal, close it 39 | window.onclick = function(event) { 40 | if (event.target == modal) { 41 | modal.style.display = "none"; 42 | } 43 | }; 44 | 45 | window.onclick = function(event) { 46 | if (event.target == modal1) { 47 | modal1.style.display = "none"; 48 | } 49 | }; -------------------------------------------------------------------------------- /js/hometimer.js: -------------------------------------------------------------------------------- 1 | var x = setInterval(function() { 2 | 3 | // Get todays date and time 4 | var now = new Date().getTime(); 5 | var countDownDate = new Date(document.getElementById("sttimer").value).getTime(); 6 | // Find the distance between now an the count down date 7 | var distance = countDownDate - now; 8 | 9 | // Time calculations for days, hours, minutes and seconds 10 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 11 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 12 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 13 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); 14 | 15 | // Output the result in an element with id="demo" 16 | document.getElementById("ttimer").innerHTML = (days<10?'0':' ')+days + " days " + (hours<10?'0':' ')+hours + " hrs " 17 | + (minutes<10?'0':' ')+minutes + " min " + (seconds<10?'0':' ')+seconds + " sec "; 18 | 19 | // If the count down is over, write some text 20 | if (distance < 0) { 21 | clearInterval(x); 22 | document.getElementById("ttimer").innerHTML = "GAME STARTED"; 23 | } 24 | }, 1000); -------------------------------------------------------------------------------- /js/jquery_form.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $(".map__image").draggable(); 3 | }); 4 | //Chat 5 | $(document).ready(function(){ 6 | $("#chat").click(function(){ 7 | $("#info_chat").slideToggle("slow"); 8 | }); 9 | }); 10 | 11 | $(document).ready(function(){ 12 | $('#fsubmit').click(function(){ 13 | gethint(); 14 | }); 15 | }); 16 | var gethint = function(){ 17 | var coun_id = $('#dialog-id').text(); 18 | var system = $('#dialog-title').text(); 19 | $.ajax({ 20 | method: "POST", 21 | url: "template/gethint.php", 22 | data: {cid: coun_id, team: tm1, vm: system,user:user}, 23 | success: function(status){ 24 | if(checkSessionStorage() != "undefined"){ 25 | sessionStorage.setItem(coun_id+"-"+system,status); 26 | } 27 | $('#moBody').empty(); 28 | $('#moBodyLocked').empty(); 29 | var OCSplit = status.split("#~#"); 30 | for(var i=0; i -------------------------------------------------------------------------------- /template/announce.php: -------------------------------------------------------------------------------- 1 |

Timer

2 |

3 | 11 |
12 |

20 | 21 | 22 |
-------------------------------------------------------------------------------- /template/chat.php: -------------------------------------------------------------------------------- 1 | 1){ 9 | $date = new DateTime('now', new DateTimeZone('Europe/London')); 10 | $fdate = $date->format('Y-m-d H:i:s'); 11 | $log_sql = "INSERT INTO chat (DATE, USERNAME, TEAM, CHAT) VALUES ('$fdate','$user','$team','$chat')"; 12 | if(mysqli_query($connection, $log_sql)){ 13 | echo 1; 14 | mysqli_query($connection, "UPDATE updater SET CHAT='1' WHERE TEAM='$team'"); 15 | }else{ 16 | echo 0; 17 | } 18 | } 19 | } 20 | 21 | ?> -------------------------------------------------------------------------------- /template/connection.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/dbupdate.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/gethint.php: -------------------------------------------------------------------------------- 1 | 0) { 24 | while ($row = mysqli_fetch_assoc($result)) { 25 | $num++; 26 | $hintstatus = $row['HINT_STATUS']; 27 | $hintid = $row['HINT_ID']; 28 | $hinttext = $row['HINT_TEXT']; 29 | $hinttype = $row['HINT_TYPE']; 30 | $hintkey = $row['RANDOM']; 31 | $bigResult = mysqli_query($connection, "SELECT HINT_TYPE FROM hint WHERE C_ID='$cid' AND TEAM='$tem' AND SYSTEM_NAME='$vm' AND HINT_TYPE='big_hint'"); 32 | $norResult = mysqli_query($connection, "SELECT HINT_TYPE FROM hint WHERE C_ID='$cid' AND TEAM='$tem' AND SYSTEM_NAME='$vm' AND HINT_TYPE='normal'"); 33 | $bighint = mysqli_num_rows($bigResult); 34 | $normalhint = mysqli_num_rows($norResult); 35 | $totalhint = ($bighint * 2) + $normalhint; 36 | $singlePay = 200 / $totalhint; 37 | if ($hinttype == "big_hint") { 38 | $points = round($singlePay * 2, 0, PHP_ROUND_HALF_DOWN); 39 | } else { 40 | $points = round($singlePay, 0, PHP_ROUND_HALF_DOWN); 41 | } 42 | 43 | //hint 1 44 | if ($num == 1) {//choose first element 45 | $int1_sql = "SELECT SCORE,PENALTY FROM scoreboard WHERE TEAM='$tem'"; 46 | $int1_result = mysqli_query($connection, $int1_sql); 47 | while ($int1_row = mysqli_fetch_assoc($int1_result)) { 48 | $score = $int1_row['SCORE']; 49 | $penalty = $int1_row['PENALTY']; 50 | $updatescore = $score - $points; 51 | $updatepenalty = $penalty + $points; 52 | $update_points_sql = mysqli_query($connection, "UPDATE scoreboard SET SCORE='$updatescore',PENALTY='$updatepenalty' WHERE TEAM=$tem"); 53 | if ($update_points_sql) { 54 | $update_hint_status = mysqli_query($connection, "UPDATE hint SET HINT_STATUS='1' WHERE C_ID='$cid' AND TEAM='$tem' AND SYSTEM_NAME='$vm' AND HINT_ID='$hintid' AND RANDOM='$hintkey'"); 55 | if ($update_hint_status) { 56 | $act_update = mysqli_query($connection, "UPDATE updater SET SCORE='1',HINT='1',ACTIVITY='1' WHERE TEAM='$tem'"); 57 | if ($act_update) { 58 | include 'time.php'; 59 | $log_sql = mysqli_query($connection, "INSERT INTO logger (DATE, TEAM, LOG) VALUES ('$fdate','$tem','[$user] Unlocked Hint [$vm] - [$hinttext] - [POINTS : -$points]')"); 60 | if ($log_sql) { 61 | $H_updater = mysqli_query($connection, "UPDATE updater SET HINT_UPDATE='$cid-$vm' WHERE TEAM='$tem'"); 62 | if($H_updater){ 63 | $hintOpen[] = "$hinttext"; 64 | }else{ 65 | echo "Hint : Error 205"; 66 | } 67 | 68 | } else { 69 | echo "Hint : Error 204"; 70 | } 71 | 72 | } else { 73 | echo "Hint : Error 203"; 74 | } 75 | } else { 76 | echo "Hint : Error 202"; 77 | } 78 | } else { 79 | echo "Hint : Error 201"; 80 | } 81 | } 82 | } else { 83 | $hintClose[] = "Hint Locked (- $points)"; 84 | } 85 | 86 | } 87 | } else { 88 | $hintClose[] = "No Further Hints"; 89 | } 90 | 91 | $HO = implode("~#~", $hintOpen); 92 | $HC = implode("~#~", $hintClose); 93 | echo print_r($HO . "#~#" . $HC, true); 94 | 95 | } 96 | ?> -------------------------------------------------------------------------------- /template/logincheck.php: -------------------------------------------------------------------------------- 1 | Admin Login"; 28 | } else { 29 | if ($permission == "ALLOW") { 30 | $_SESSION['USERNAME'] = $user; 31 | $_SESSION['TEAM'] = $auth; 32 | $_SESSION['TYPE'] = $level; 33 | echo "

Login Success

"; 34 | } else { 35 | echo "

Please wait for the game to start

"; 36 | } 37 | } 38 | } 39 | 40 | } else { 41 | echo "

Login Fail

"; 42 | } 43 | 44 | } 45 | ?> -------------------------------------------------------------------------------- /template/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/noti.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cliffe/flawed_fortress-secgen_ctf_frontend/0a001413aa27b87c5c5132a8c0b265b222dc5f5f/template/noti.php -------------------------------------------------------------------------------- /template/register.php: -------------------------------------------------------------------------------- 1 | = 5 && strlen($usr) <= 10){ 17 | if(ctype_alpha($usr)){ 18 | if($ps1 == $ps2){ 19 | if(strlen($ps2) >= 5 && strlen($ps2) <=10){ 20 | if(mysqli_num_rows(mysqli_query($connection, "SELECT USERNAME FROM users WHERE USERNAME='$usr'")) == 0){ 21 | if(strlen($tkn) == 8){ 22 | $h = md5($tkn); 23 | if((mysqli_num_rows(mysqli_query($connection, "SELECT TOKEN FROM users WHERE TOKEN_HASH='$h'")) == 1)){ 24 | if(mysqli_num_rows(mysqli_query($connection, "SELECT TOKEN_ACT FROM users WHERE TOKEN_HASH='$h' AND TOKEN_ACT='0'"))){ 25 | $pass = md5($ps2."CTF"); 26 | $sql = mysqli_query($connection, "UPDATE users SET USERNAME='$usr', PASSWORD='$pass', TOKEN_ACT='1' WHERE TOKEN_HASH='$h'"); 27 | $getTeam = mysqli_query($connection, "SELECT TEAM FROM users WHERE TOKEN_HASH='$h' AND USERNAME='$usr'"); 28 | if($sql){ 29 | if(mysqli_num_rows($getTeam) == 1){ 30 | while($row = mysqli_fetch_assoc($getTeam)){ 31 | $team = $row['TEAM']; 32 | $updater = mysqli_query($connection, "INSERT INTO updater (TEAM, USERNAME) VALUES ('$team','$usr')"); 33 | if($updater){ 34 | $success = "Successfully Registered"; 35 | }else{ 36 | $error = "Registration Error, Contact Admin [1003]"; 37 | } 38 | } 39 | }else{ 40 | $error = "Registration Error, Contact Admin [1002]"; 41 | } 42 | }else{ 43 | $error = "Registration Error, Contact Admin [1001]"; 44 | } 45 | }else{ 46 | $error = "This token has been registered"; 47 | } 48 | }else{ 49 | $error = "Invalid Token, Contact Administrator"; 50 | } 51 | }else{ 52 | $error = "Invalid Token, Contact Administrator"; 53 | } 54 | 55 | }else{ 56 | $error = "Username already exists, Try someother name"; 57 | } 58 | 59 | }else{ 60 | $error = "Password should be between 5-10 characters"; 61 | } 62 | }else{ 63 | $error = "Your password doesn't match"; 64 | } 65 | }else{ 66 | $error = "Username should only include alphabets"; 67 | } 68 | }else{ 69 | $error = "Username should be between 5-10 characters"; 70 | } 71 | }else{ 72 | $error = "Please fill all the above fields"; 73 | } 74 | 75 | if($error == "ERROR"){ 76 | echo "$success"; 77 | }else if($success == "SUCCESS"){ 78 | echo "$error"; 79 | } 80 | } 81 | 82 | ?> -------------------------------------------------------------------------------- /template/sidestatus.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/teamscoreboard.php: -------------------------------------------------------------------------------- 1 |
2 | 25 | 26 |
27 |
28 | 29 | 30 | # 31 | 32 |
33 |
34 | 37 | 38 |
-------------------------------------------------------------------------------- /template/time.php: -------------------------------------------------------------------------------- 1 | format('Y-m-d H:i:s'); 4 | 5 | ?> -------------------------------------------------------------------------------- /template/userscoreboard.php: -------------------------------------------------------------------------------- 1 | 21 |
22 |
23 | 24 | Your team 25 | # 26 | 27 |
28 |
29 | 30 | 31 | Scoreboard Session Error => Try Logging In Again

"; 37 | } 38 | ?> -------------------------------------------------------------------------------- /template/viewchat.php: -------------------------------------------------------------------------------- 1 | "; 7 | if(isset($_SESSION['TEAM'])){ 8 | $chatlog_team = $_SESSION['TEAM']; 9 | $chatlog_sql = "SELECT * FROM (SELECT * FROM `chat` WHERE TEAM='$chatlog_team' ORDER BY DATE DESC LIMIT 10) chat ORDER BY DATE ASC"; 10 | $chatlog_result = mysqli_query($connection, $chatlog_sql); 11 | while($chatlog_row = mysqli_fetch_assoc($chatlog_result)){ 12 | $chatlog_user = $chatlog_row['USERNAME']; 13 | $chatlog_log = $chatlog_row['CHAT']; 14 | echo "$chatlog_user$chatlog_log"; 15 | } 16 | echo ""; 17 | }else{ 18 | //header('location:../main.php'); 19 | //Display NULL Redirect 20 | } 21 | ?> -------------------------------------------------------------------------------- /template/viewhint.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/viewlog.php: -------------------------------------------------------------------------------- 1 | => $viewlog_log

"; 13 | } 14 | } else { 15 | //Display NULL Redirect 16 | } 17 | ?> --------------------------------------------------------------------------------