using (var pdfExtractor = new PdfExtractor())
{
pdfExtractor.BindPdf(filePath);
pdfExtractor.ExtractText(Encoding.ASCII);
Unexpected Error: Invalid font name
Details:
System.ArgumentException: Invalid font name
at Aspose.Pdf.Text.FontCollection.get_Item(String name)
at #=zyEnMnypX06BBL63w_ujJZoMuXf_XDqm6OSXS3pTAINliTNBAqeKj20E=.#=zGM$_b7M=(Operator #=z1PpB6IM=)
at #=zyEnMnypX06BBL63w_ujJZoMuXf_XDqm6OSXS3pTAINliTNBAqeKj20E=.#=z_t2GyPg=()
at #=zyEnMnypX06BBL63w_ujJZoMuXf_XDqm6OSXS3pTAINliTNBAqeKj20E=.#=z_t2GyPg=()
at #=zyEnMnypX06BBL63w_ujJZoMuXf_XDqm6OSXS3pTAINliTNBAqeKj20E=.#=z_t2GyPg=()
at #=zLlnBg5ePulKGl4$kf$7ZvCA1nSes$a6tWfXaFRJif2Gahm03lLV1KvTFuBWS.#=zEsfXY5jzXODK(BaseOperatorCollection #=zIqVfR9Q=, Resources #=zwaXgzNE=, Page #=ztTOrXy0=)
at #=zLlnBg5ePulKGl4$kf$7ZvCA1nSes$a6tWfXaFRJif2Gahm03lLV1KvTFuBWS.#=zEsfXY5jzXODK(BaseOperatorCollection #=zIqVfR9Q=, Resources #=zwaXgzNE=)
at #=zLlnBg5ePulKGl4$kf$7ZvCA1nSes$a6tWfXaFRJif2Gahm03lLV1KvTFuBWS.#=zvZstLFo=()
at #=zLlnBg5ePulKGl4$kf$7ZvCA1nSes$a6tWfXaFRJif2Gahm03lLV1KvTFuBWS…ctor(Page #=ztTOrXy0=, TextSearchOptions #=z79Ge5CJiOs7E, Boolean #=z99Hjjc5e1PdC)
at Aspose.Pdf.Text.TextAbsorber.Visit(Page page)
at Aspose.Pdf.Facades.PdfExtractor.ExtractText(Encoding encoding)
Aspose.Pdf v22.8.0
On this file.
1392971-FLM-1218FL-MZ M IUL II Pro Illustration.pdf (1.9 MB)