Converting Publisher files to PDF and found one that is not rendering properly. We are using version 24.5.0.0.
Code:
var parser = Aspose.Pub.PubFactory.CreateParser(inputPath);
var pubtopdf = parser.Parse();
Aspose.Pub.PubFactory.CreatePdfConverter().ConvertToPdf(pubtopdf, outputPath);
Zip contains PUB input and PDF output:
Publisher_to_PDF_Issue.zip (1.1 MB)
Additional findings:
The publisher document uses a background image that has a cropped area defined in Picture Tools. Aspose does not appear to be honoring this. In addition there is text formatted with ALL CAPS, this is not being honored either. The misalignment occurring must be do to some paragraph or text spacing also not being honored.