mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
This commit is contained in:
@@ -209,7 +209,10 @@ class FO_ExternalGraphic extends FO_Block
|
||||
$height = $this->getContext("height");
|
||||
$x = $this->getContext("posx");
|
||||
$y = $this->getContext("posy");
|
||||
|
||||
if($x=='')
|
||||
$x = $this->getContext("x")+1;
|
||||
if($y=='')
|
||||
$y = $this->getContext("y")+1;
|
||||
$pdf->Image($src, $x, $y, $width, $height, "jpg","");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ class MyPdf extends FPDF {
|
||||
$showLine = substr($line, 0, $noc);
|
||||
$textWidth = $this->GetStringWidth($showLine);
|
||||
//echo "showline: $showLine<br>";
|
||||
// echo "wmax:$nb:$x:$w:$textWidth:$showLine<br>";
|
||||
//echo "nb:$nb x:$x w:$w textwidth:$textWidth showline:$showLine<br>";
|
||||
switch ($align)
|
||||
{
|
||||
case "R":
|
||||
|
||||
Reference in New Issue
Block a user