PdfFont carattere = new PdfTrueTypeFont(font, FontStyle.Regular, (float)Convert.ToDouble(dr_ele[7]), true, true); |
We are having same issue.
var font = new Font("Arial", 9, FontStyle.Regular);
// Both below render same results
// Disable unicode. Embed=false. Outputs Arial, but Actual Font reads ArialMT in AcrobatReader
cell.Style.Font = new PdfTrueTypeFont(font, FontStyle.Regular, 9, false, false);
// Displays ArialMT
cell.Style.Font = new PdfTrueTypeFont(font, 9, true);
How can we force Syncfusion to write Arial?
Hi umlprog,
Query |
Response |
|
We are having same issue. var font = new Font("Arial", 9, FontStyle.Regular); // Both below render same results
// Disable unicode. Embed=false. Outputs Arial, but Actual Font reads ArialMT in AcrobatReader cell.Style.Font = new PdfTrueTypeFont(font, FontStyle.Regular, 9, false, false);
// Displays ArialMT cell.Style.Font = new PdfTrueTypeFont(font, 9, true);
How can we force Syncfusion to write Arial?
|
Yes, if you create the PDF with TrueType font - “Arial”, the output document shows ArialMT. Because we are displaying the font postScriptName: ArialMT . So, it's not an issue and you are writing the PDF from the Arial font only so, no need to force to write the Arial font.
Kindly refer the following to get more details about Arial,
Please let us know if you need any further assistance with this.
|
Regards,
Surya V