|
@@ 2983-2986 (lines=4) @@
|
| 2980 |
|
$this->addContent(sprintf("\nBT %.3F %.3F %.3F %.3F %.3F %.3F Tm", cos($a), -sin($a), sin($a), cos($a), $x, $y)); |
| 2981 |
|
} |
| 2982 |
|
|
| 2983 |
|
if ($wordSpaceAdjust != 0 || $wordSpaceAdjust != $this->wordSpaceAdjust) { |
| 2984 |
|
$this->wordSpaceAdjust = $wordSpaceAdjust; |
| 2985 |
|
$this->addContent(sprintf(" %.3F Tw", $wordSpaceAdjust)); |
| 2986 |
|
} |
| 2987 |
|
|
| 2988 |
|
$len = strlen($text); |
| 2989 |
|
$start=0; |
|
@@ 3020-3023 (lines=4) @@
|
| 3017 |
|
$tmp .= sprintf('%.3F', $xp).' '.sprintf('%.3F', $yp).' Tm'; |
| 3018 |
|
$this->addContent($tmp); |
| 3019 |
|
} |
| 3020 |
|
if ($wordSpaceAdjust!=0 || $wordSpaceAdjust != $this->wordSpaceAdjust) { |
| 3021 |
|
$this->wordSpaceAdjust=$wordSpaceAdjust; |
| 3022 |
|
$this->addContent(' '.sprintf('%.3F', $wordSpaceAdjust).' Tw'); |
| 3023 |
|
} |
| 3024 |
|
} |
| 3025 |
|
// and move the writing point to the next piece of text |
| 3026 |
|
$i=$i+$directive-1; |