1
에 당신이 셀이 올바르게 배치지고 이미지에서 볼 수 있듯이 바닥 글 텍스트를TCPDF 센터 텍스트가 완전히 센터
function Footer(){
$txt = 'Page %s of %s';
if (empty($this->pagegroups)) {
$txt = sprintf($txt, $this->getAliasNumPage(), $this->getAliasNbPages());
} else {
$txt = sprintf($txt, $this->getPageNumGroupAlias(), $this->getPageGroupAlias());
}
$this->MultiCell(0, 0, $txt, 1, 'C', false, 1, PDF_MARGIN_LEFT, $this->y);
}
의 중심을하려고하지, 문제는 텍스트를 중심으로한다.
$this->SetXY(PDF_MARGIN_LEFT, $this->y);
$this->Cell(0, 0, $txt, 1, 1, 'C');
중복 : http://stackoverflow.com/questions/5485295/tcpdf-pagenumbers-not-exactly-right-aligned – user2345998