I’m seeing font bad width errors in Adobe Acrobat Reader x64 when opening a PDF created using v23.4 version of Aspose.Slides. The error message displayed is: The font FAAABF+ TimesNewRomanPSMT contains bad/Widths. Here is the same code I used.
// RENDERED PDF FILE WILL DISPLAY THE FOLLOWING ERROR IN ADOBE ACROBAT READER DC (64BIT, VERSION 2023.001.20143)
// The font ‘FAAABF+ TimesNewRomanPSMT’ contains bad/Widths.’
// Aspose.Slides v23.4
string LICENSE_FILE = "Aspose.Total.lic";
string SrcFile = @"C:\DevSamples\WI_49051_CorruptFiles\bad_fonts.pptx";
string DstFile = @"C:\DevSamples\WI_49051_CorruptFiles\bad_fonts.pdf";
Aspose.Slides.License license = new Aspose.Slides.License();
license.SetLicense(LICENSE_FILE);
using (Aspose.Slides.Presentation oPres = new Aspose.Slides.Presentation(SrcFile))
{
oPres.Save(DstFile, Aspose.Slides.Export.SaveFormat.Pdf);
}
I have a sample file that I can upload to reproduce the issue.