| @@ -183,10 +183,12 @@ | ||
| 183 | 183 | protected function getTextInfo($x, $y, &$point, $opposite, $level) |
| 184 | 184 | { |
| 185 | 185 | $a = $this->arad + $this->direction * $point->position / $this->radius; |
| 186 | 186 | $r1 = $this->radius + $this->text_offset; |
| 187 | + // BEGIN e2pdf | |
| 187 | 188 | $x1 = $this->xc + $this->styles['t_offset_x'] + $r1 * sin($a); |
| 188 | 189 | $y1 = $this->yc + $this->styles['t_offset_y'] + $r1 * cos($a); |
| 190 | + // END e2pdf | |
| 189 | 191 | $text_angle = $this->styles['t_angle']; |
| 190 | 192 | |
| 191 | 193 | $tau = 2 * M_PI; |
| 192 | 194 | while($a < 0) |