We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PDF to image in C# using Aspose.PDF for .NET - Font issue in output

Converting the attached PDF into images produces unusable output.
Using Aspose PDF 2020.1 with the following code.

        var source = @"FontIssue.pdf";
        using (var sourceStream = File.Open(source, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
        {
            using (var pdf = new Document(sourceStream))
            {
                var dev = new JpegDevice();
                for (var page = 1; page <= pdf.Pages.Count; page++)
                {
                    dev.Process(pdf.Pages[page], $"{source}.{page}.jpg");
                }
            }
        }

FontIssue.pdf (246.0 KB)
FontIssue.pdf.1.jpg (319.5 KB)
FontIssue.pdf.2.jpg (1.2 MB)

@bitterlich

We were able to notice the issue in our environment using Aspose.PDF for .NET 20.1 and logged it as PDFNET-47627 in our issue tracking system. We will further look into details of the issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.

What ever happened to this one?

@mdeaconu

Regretfully, the earlier logged issue could not get resolved yet. However, we will surely inform you in this forum thread as soon as the ticket is resolved. Please spare us some time.

We are sorry for the inconvenience.