@@ 1228-1235 (lines=8) @@ | ||
1225 | return '('.$this->_escape($s).')'; |
|
1226 | } |
|
1227 | ||
1228 | protected function _dounderline($x, $y, $txt) |
|
1229 | { |
|
1230 | // Underline text |
|
1231 | $up = $this->CurrentFont['up']; |
|
1232 | $ut = $this->CurrentFont['ut']; |
|
1233 | $w = $this->GetStringWidth($txt)+$this->ws*substr_count($txt,' '); |
|
1234 | return sprintf('%.2F %.2F %.2F %.2F re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); |
|
1235 | } |
|
1236 | ||
1237 | protected function _parsejpg($file) |
|
1238 | { |
@@ 233-240 (lines=8) @@ | ||
230 | $this->_out('endobj'); |
|
231 | } |
|
232 | ||
233 | function _dounderline($x,$y,$width,$txt) |
|
234 | { |
|
235 | //Underline text |
|
236 | $up=$this->CurrentFont['up']; |
|
237 | $ut=$this->CurrentFont['ut']; |
|
238 | $w=$width+$this->ws*substr_count($txt,' '); |
|
239 | return sprintf('%.2f %.2f %.2f %.2f re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); |
|
240 | } |
|
241 | ||
242 | function _textstring($s) |
|
243 | { |