When I use PdfConverter to generate jpegs from a PDF, the text in the PDF is substituted with the font Times New Roman.
Is Aspose.Pdf.Kit able to use fonts embedded in the PDF?
Source PDF: http://www.mtprint.com/asposetest.pdf
Converted JPG: http://www.mtprint.com/asposetest1.jpg
Code:
Dim jpgConverter As PdfConverter = New PdfConverter()
jpgConverter.BindPdf(“C:\convert\asposetest.pdf”)
jpgConverter.DoConvert()
Dim prefix As String = "C:\convert\asposetest"
Dim suffix As String = ".jpg"
Dim imageCount As Integer = 1
While jpgConverter.HasNextImage()
jpgConverter.GetNextImage(prefix + imageCount.ToString + suffix, ImageFormat.Jpeg)
imageCount = imageCount + 1
End While