Mil gracias, mi codigo es el siguiente: la linea en rojo es la que me sale un rectangulo negro horizontal
<?php
App::import('Vendor', 'xtcpdf');
$tcpdf = new XTCPDF();
$textfont = 'times';
$tcpdf->SetCreator(PDF_CREATOR);
$tcpdf->SetAuthor('Instituto Educativo Puerto Olaya');
$tcpdf->SetTitle('Certificado');
$tcpdf->setPrintHeader(true);
$tcpdf->setPrintFooter(true);
$tcpdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
$tcpdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
$tcpdf->setLanguageArray($l);
$tcpdf->AliasNbPages();
$tcpdf->AddPage();
$tcpdf->SetFont("freesans", "BI", 10);
if (empty($procesos)) {
$tcpdf->Ln(15);
}
$tcpdf->Cell(0, 14, "EL DIRECTOR DE LA " . strtoupper($datos[0]['Sede']['Centro']['nombre']) . " MUNICIPIO DE " . strtoupper($datos[0]['Sede']['Centro']['Municipio']['nombre']) . " - " . strtoupper($datos[0]['Sede']['Centro']['Municipio']['Departamento']['nombre']), 0, 1, 'C');
$tcpdf->Cell(0, 14, "CERTIFICA:", 0, 1, 'C');
// output the HTML content
$tcpdf->writeHTML($html, true, false, true, false, '');
$tcpdf->SetFont("freesans", "BI", 8);
if ($datos[0]['Estudiante']['modalidad'] == 0) {
$tcpdf->TablaBasica($notas, $concepto, $plans, $band);
} else {
// set image scale factor
$tcpdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
$tcpdf->setJPEGQuality(75);
$tcpdf->Image(APP . 'webroot' . DS . 'files' . DS . 'logros' . DS . $datos[0]['Estudiante']['archivo'], 15, 100, 175, 123);
$tcpdf->Ln(24);
}
$html4 = '<p>' . $novedades[0]['Novedade']['novedad'] . '</p><br>';
$tcpdf->writeHTML($html4, true, false, true, false, '');
if (!empty($procesos)) {
$tcpdf->SetFont("freesans", "BI", 10);
$tcpdf->Cell(0, 14, "PROCESO DE DESARROLLO", 0, 1, 'C');
$tcpdf->TablaBasica2($procesos);