hi there !
i used "font-size:x-large; border:3px dashed #999999;"
in a <div style=""> and there was an error with the
border box.
My patch fixes it.
function printbuffer:
////////////////////////////
// inserted
////////////////////////////
if($this->lineheight>$old_height)
$y = $y-($this->lineheight-$old_height);
else if($this->lineheight<$old_height)
$y = $y+($old_height-$this->lineheight);
////////////////////////////
if ($this->divborder)
$this->Rect($x,$y,$this->divwidth,$this->lineheight);
// '$this->lineheight' replaced
if ($this->dash_on)
$this->Rect($x,$y,$this->divwidth,$this->lineheight);
if ($this->dotted_on)
$this->DottedRect($x,$y,$this->divwidth,$this->lineheight);
$this->x = $bak_x;
greetings
genscher
(see also my other setcss patch under "bugs")
Logged In: YES
user_id=1093065
Hi, i can't clearly understand the bug you're pointing at.
in the current (dev) version the following code is ok :
<div style="font-size:x-large; border:3px dashed #999999;">
plof csdsdfsdfsdfsdfsdf
<br> sdfsdfsdfdfsdf
<br> dffsdf
</div>
With your patch only the last line is inside a box .
Regards