Changeset 7655 for trunk/filemanager/tp/dompdf/include/gd_adapter.cls.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/filemanager/tp/dompdf/include/gd_adapter.cls.php
r3019 r7655 264 264 265 265 if ( count($style) == 1 ) { 266 for ($i = 0; $i < $style[0] * $this->_aa_factor; $i++) {266 for ($i = 0; $i < $style[0] * $this->_aa_factor; ++$i) { 267 267 $gd_style[] = $c; 268 268 } 269 269 270 for ($i = 0; $i < $style[0] * $this->_aa_factor; $i++) {270 for ($i = 0; $i < $style[0] * $this->_aa_factor; ++$i) { 271 271 $gd_style[] = $this->_bg_color; 272 272 } … … 279 279 if ( $i % 2 == 0 ) { 280 280 // 'On' pattern 281 for ($i = 0; $i < $style[0] * $this->_aa_factor; $i++)281 for ($i = 0; $i < $style[0] * $this->_aa_factor; ++$i) 282 282 $gd_style[] = $c; 283 283 284 284 } else { 285 285 // Off pattern 286 for ($i = 0; $i < $style[0] * $this->_aa_factor; $i++)286 for ($i = 0; $i < $style[0] * $this->_aa_factor; ++$i) 287 287 $gd_style[] = $this->_bg_color; 288 288 289 289 } 290 $i++;290 ++$i; 291 291 } 292 292 } … … 332 332 333 333 foreach ($style as $length) { 334 for ($i = 0; $i < $length; $i++) {334 for ($i = 0; $i < $length; ++$i) { 335 335 $gd_style[] = $c; 336 336 } … … 409 409 410 410 foreach ($style as $length) { 411 for ($i = 0; $i < $length; $i++) {411 for ($i = 0; $i < $length; ++$i) { 412 412 $gd_style[] = $c; 413 413 } … … 456 456 457 457 foreach ($style as $length) { 458 for ($i = 0; $i < $length; $i++) {458 for ($i = 0; $i < $length; ++$i) { 459 459 $gd_style[] = $c; 460 460 }
Note: See TracChangeset
for help on using the changeset viewer.