setFont($content_value[font],$content_value[font_style] ,$content_value[font_size]); $r = 0; $g=-1; $b=-1; switch (strlen($content_value['font_color'])) { case '6': $r = hexdec(substr($content_value[font_color],0,2)); $g = hexdec(substr($content_value[font_color],2,2)); $b = hexdec(substr($content_value[font_color],4,2)); break; case '2': $r = hexdec(substr($content_value[font_color],0,2)); break; default: break; } $target->SetTextColor($r, $g, $b); $target->setXY($target->GetStickX()+$content_value[from_left], $target->GetStickY()+$content_value[from_top]); $target->setFont($content_value[font],$content_value[font_style] ,$content_value[font_size]); $target->setXY($target->GetStickX()+$content_value[from_left], $target->GetStickY()+$content_value[from_top]); $target->Rotate($content_value[rotation], $target->GetStickX()+$content_value[from_left],$target->GetStickY()+$content_value[from_top] ) ; $target->MultiCell($content_value[width], ($content_value[font_size]*25.4/72), $str_cote, 0, $content_value[align]); $target->Rotate(0); //$target->Rect($target->GetStickX(), $target->GetStickY(), 38.1, 21.2 ); } ?>