If I select any other font I see a message like this:
Code: Select all
FPDF error: Undefined font: verdana B
FPDF error: Undefined font: tahoma B
Code: Select all
FPDF error: Undefined font: verdana B
FPDF error: Undefined font: tahoma B
Code: Select all
Parse error: syntax error, unexpected T_STRING in /home/[...]/productionnu2/runpdf.php(35) : eval()'d code on line 1145
Fatal error: Class 'Reporting' not found in /home/[...]/productionnu2/runpdf.php on line 36
Code: Select all
#[...]/production2743/fpdf/font> ls -x
calibri.php courierbi.php courierb.php courieri.php courier.php georgia.php georgia.z
helveticabi.php helveticab.php helveticai.php helvetica.php impact.php impact.z symbol.php
tahoma.php tahoma.z timesbi.php timesb.php timesi.php times.php verdana.php
verdana.z zapfdingbats.php
Have you tryed Webdings and Wingdings fonts in this report?admin wrote:I was able to change fonts in one of your reports..
I have a backup!admin wrote:I can't tell you what went wrong with the other report (rptBOLLA).
I always copy an activity I want to work on to another copy before I start.
Ok, I don't use them!admin wrote:It seems that both "dings" don't work in pdfs because I am unable to compile that .z file on fpdf's web site because it won't convert to utf-8.
They will however work in html reports, but like you, most people probably don't use them.
Other error is related with font change and it can be reproduced setting one text field of a report to one of "dings" fonts.admin wrote:I'll be interested to know if it happens again, especially if you know how to reproduce the error.
Code: Select all
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/dem47942/public_html/productionnu2/runreport.php(32) : eval()'d code on line 3
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/dem47942/public_html/productionnu2/runreport.php(32) : eval()'d code on line 3
Code: Select all
$this->Controls[5]->FontName = 'Courier'; | $this->Controls[5]->FontName = 'Wingdings';
$this->Controls[6]->FontName = 'Courier'; | $this->Controls[6]->FontName = 'Webdings';
$this->Controls[7]->FontName = 'Courier'; | $this->Controls[7]->FontName = 'Symbol';
$this->Controls[11]->FontName = 'Courier'; | $this->Controls[11]->FontName = 'Arial';
$this->Controls[13]->FontName = 'Courier'; | $this->Controls[13]->FontName = 'Arial';
$this->Controls[16]->FontName = 'Courier'; | $this->Controls[16]->FontName = 'Arial';
$this->Controls[17]->FontName = 'Courier'; | $this->Controls[17]->FontName = 'Arial';
$this->Controls[19]->FontName = 'Courier'; | $this->Controls[19]->FontName = 'Verdana';
$this->Controls[31]->FontName = 'Courier'; | $this->Controls[31]->FontName = 'Times';
$this->Controls[41]->FontName = 'Courier'; | $this->Controls[41]->FontName = 'Arial';
$this->Controls[43]->FontName = 'Courier'; | $this->Controls[43]->FontName = 'Arial';
$this->Controls[45]->FontName = 'Courier'; | $this->Controls[45]->FontName = 'Arial';
$this->Controls[47]->Name = 'object154'; / $this->Controls[47]->Name LS
$this->Controls[47]->Section = '0'; <
$this->Controls[47]->ControlType = 'Field'; <
$this->Controls[47]->Tag = 'Field'; <
$this->Controls[47]->ControlSource = 'Y19uYW1l'; <
$this->Controls[47]->Caption = 'Y19uYW1l'; <
$this->Controls[47]->Value = 'Y19uYW1l'; <
$this->Controls[47]->Top = '234px'; <
$this->Controls[47]->Left = '445px'; <
$this->Controls[47]->Width = '300px'; <
$this->Controls[47]->Height = '20px'; <
$this->Controls[47]->ForeColor = 'black'; <
$this->Controls[47]->FontSize = '16px'; <
$this->Controls[47]->fontWeight = ''; <
$this->Controls[47]->FontName = 'Courier'; <
$this->Controls[47]->BackColor = 'white'; <
$this->Controls[47]->BorderWidth = '0px'; <
$this->Controls[47]->BorderColor = 'black'; <
$this->Controls[47]->BorderStyle = 'solid'; <
$this->Controls[47]->Graph = ''; <
$this->Controls[47]->CanGrow = 'false'; <
$this->Controls[47]->TextAlign = 'left'; <
$this->Controls[47]->Format = ''; <
<
$this->Controls[48]->Name = 'object140'; <
$this->Controls[48]->Section = '0'; <
$this->Controls[48]->ControlType = 'Label'; <
$this->Controls[48]->Tag = 'Label'; <
$this->Controls[48]->ControlSource = ''; <
$this->Controls[48]->Caption = ''; <
$this->Controls[48]->Value = ''; <
$this->Controls[48]->Top = '225px'; <
$this->Controls[48]->Left = '8px'; <
$this->Controls[48]->Width = '750px'; <
$this->Controls[48]->Height = '0px'; <
$this->Controls[48]->ForeColor = 'black'; <
$this->Controls[48]->FontSize = '14px'; <
$this->Controls[48]->fontWeight = ''; <
$this->Controls[48]->FontName = 'Arial'; <
$this->Controls[48]->BackColor = 'transparent <
$this->Controls[48]->BorderWidth = '2px'; <
$this->Controls[48]->BorderColor = 'black'; <
$this->Controls[48]->BorderStyle = 'solid'; <
$this->Controls[48]->Graph = ''; <
$this->Controls[48]->CanGrow = 'false'; <
$this->Controls[48]->TextAlign = 'left'; <
$this->Controls[48]->Format = ''; <
<
$this->Controls[49]->Name = 'object141'; <
$this->Controls[49]->Section = '0'; <
$this->Controls[49]->ControlType = 'Label'; <
$this->Controls[49]->Tag = 'Label'; <
$this->Controls[49]->ControlSource = ''; <
$this->Controls[49]->Caption = ''; <
$this->Controls[49]->Value = ''; <
$this->Controls[49]->Top = '310px'; <
$this->Controls[49]->Left = '8px'; <
$this->Controls[49]->Width = '750px'; <
$this->Controls[49]->Height = '0px'; <
$this->Controls[49]->ForeColor = 'black'; <
$this->Controls[49]->FontSize = '14px'; <
$this->Controls[49]->fontWeight = ''; <
$this->Controls[49]->FontName = 'Arial'; <
$this->Controls[49]->BackColor = 'transparent <
$this->Controls[49]->BorderWidth = '2px'; <
$this->Controls[49]->BorderColor = 'black'; <
$this->Controls[49]->BorderStyle = 'solid'; <
$this->Controls[49]->Graph = ''; <
$this->Controls[49]->CanGrow = 'false'; <
$this->Controls[49]->TextAlign = 'left'; <
$this->Controls[49]->Format = ''; <
<
$this->Sections[1]->Name = 'Report_Heade <
$this->Sections[1]->ControlType = '1'; <
$this->Sections[1]->Tag = '1'; <
$this->Sections[1]->Height = '0'; <
$this->Sections[1]->BackColor = '#ebebeb'; <
$this->Sections[1]->SectionNumber = '1'; <
<
$this->Sections[3]->Name = 'Page_Header' <
$this->Sections[3]->ControlType = '3'; <
$this->Sections[3]->Tag = '3'; <
$this->Sections[3]->Height = '121'; <
$this->Sections[3]->BackColor = '#ebebeb'; <
$this->Sections[3]->SectionNumber = '3'; <
<
$this->Sections[0]->Name = 'Detail'; <
$this->Sections[0]->ControlType = '0'; <
$this->Sections[0]->Tag = '0'; <
$this->Sections[0]->Height = '320'; <
$this->Sections[0]->BackColor = '#ebebeb'; <
$this->Sections[0]->SectionNumber = '0'; <
<
$this->Sections[4]->Name = 'Page_Footer' <
$this->Sections[4]->ControlType = '4'; <
$this->Sections[4]->Tag = '4'; <
$this->Sections[4]->Height = '5'; <
$this->Sections[4]->BackColor = '#ebebeb'; <
$this->Sections[4]->SectionNumber = '4'; <
<
$this->Sections[2]->Name = 'Report_Foote <
$this->Sections[2]->ControlType = '2'; <
$this->Sections[2]->Tag = '2'; <
$this->Sections[2]->Height = '0'; <
$this->Sections[2]->BackColor = '#ebebeb'; <
$this->Sections[2]->SectionNumber = '2'; <
<
<
<
} <
} <
Code: Select all
FPDF error: Undefined font: webdings