flexpaper / pdf2json

PDF2JSON is a conversion library based on XPDF (3.02) which can be used for high performance PDF page by page conversion to JSON and XML format. It also supports compressing data to minimize size. PDF2JSON is available for Windows, OSX and Linux. Please see https://flowpaper.com for more information
305 stars 52 forks source link

Cant generate chinese pdf to js file #13

Open aravindforums1 opened 7 years ago

aravindforums1 commented 7 years ago

Hi I am try to generate js file form Chinese pdf using command prompt,ii will get error like font CMap missing for Chinese

C:\Program Files (x86)\PDF2JSON>pdf2json.exe "C:\Users\Aravind\Desktop\New folder\11Apr2017103943_1.pdf" -enc UTF-8 -hidden -compress "C:\Users\Aravind\Desktop\New folder\11Apr2017103943_1.js"

Error: Couldn't find 'UniCNS-UCS2-H' CMap file for 'Adobe-CNS1' collection Error: Unknown CMap 'UniCNS-UCS2-H' for character collection 'Adobe-CNS1' Error: Couldn't find 'UniCNS-UCS2-H' CMap file for 'Adobe-CNS1' collection Error: Unknown CMap 'UniCNS-UCS2-H' for character collection 'Adobe-CNS1' Error: Couldn't find 'UniGB-UCS2-H' CMap file for 'Adobe-GB1' collection Error: Unknown CMap 'UniGB-UCS2-H' for character collection 'Adobe-GB1' Error: Unknown font tag 'F0' Error (2454): No font in show Error (2477): No font in show Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Error: Unknown font tag 'F4' Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Error: Unknown font tag 'F2' Error: Unknown font tag 'F0' Error: Unknown font tag 'F0' Page-1

Anybody help for this issue, i am installed adobe reader with Asian language pack,but no luck,that Chinese PDF id already ocr'd ,when i copy content form pdf and paste into ms word,i will get what exact in pdf file.

Regards Aravind

BigTree-git commented 4 years ago

hello,have you solved this problem?

aravindforums1 commented 1 year ago

hello,have you solved this problem? No