Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Jul 16, 2018 11:01 am

hi

while opening a pdf (which is working and checked to be in perfect state) i tried using the extracttext and i got alot of this :


   㫡  ㄲㄶ  㫤  李⃹⋥﫷 
㘰〷ㄱ㤷〰〱   㫤⟱  ⃤⃺

instead if getting a proper text.

im using the latest build 4.7.
now i can read other pdf and extract their text correclty.

is there any thing i can "tell" the component to do to read it properly ?
encoding ? any other stuff ?

amit

amitkamisa
 
Posts: 3
Joined: Thu Jul 17, 2014 11:12 am

Mon Jul 16, 2018 11:45 am

another info
i'm getting :

pdf.UsedFonts 'pdf.UsedFonts' threw an exception of type 'System.NullReferenceException' Spire.Pdf.Graphics.Fonts.PdfUsedFont() {System.NullReferenceException}

amitkamisa
 
Posts: 3
Joined: Thu Jul 17, 2014 11:12 am

Tue Jul 17, 2018 3:51 am

Hi amitkamisa,

Thanks for your post.
Generally, the text would be correct using the method ExtractText. In order to help us investigate further, could you please provide your input document ?
Sincerely,
Hogan
E-iceblue support team
User avatar

hogan.tang
 
Posts: 51
Joined: Tue Jul 03, 2018 1:43 am

Tue Sep 04, 2018 7:16 am

Hi amitkamisa,

Has your issue been solved? Could you please give us some feedback at your convenience?
Sincerely,
Hogan
E-iceblue support team
User avatar

hogan.tang
 
Posts: 51
Joined: Tue Jul 03, 2018 1:43 am

Return to Spire.PDF