I have a SugarPDF template that outputs the page number and number of pages in the footer. It uses a custom font which I bundle with the package, so I don't think that is the issue. Both Sugar instances are On-Site on different, but similar setup servers.
This is how it looks in one instance in the footer (and how it should look):
This is how it looks in another instance in the footer:
There are two lines of code in the Footer() method that produce this:
$pageNumberFormat = 'Page '.$this->getAliasNumPage().' of '.$this->getAliasNbPages();
$this->Cell(0, 0, $pageNumberFormat, 0, 0, 'C');
Why am I getting question marks like this?