pdfjson not generate js file when using Chinese spdf

Open
#115 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, javascript

Research direction

Start with the attached S17032217290.pdf and the shown pdf2json command using -enc UTF-8, -hidden, and -compress. Compare the generated JS output and the reported “No font show” or “unknown font tag F1” messages. Done means Chinese text is preserved in the generated file without those font warnings.

Written by the indexing model from the issue text.

Description

I don’t know where I contact regarding pdfjson problem in ‘js’ generating file,
My problem is when passing SPDF with Chinese language, the output ‘js’ file only contain diamonds and some places empty instead of wording, here I attach sample file and out js file screenshot.

untitled
S17032217290.pdf

This is i run using cmd prompt and i will get 'No font show' or 'unknow font tag F1'
untitled

I am using this parameter for generate ‘js’ file.

process.StandardInput.WriteLine("cd " & ConfigurationManager.AppSettings("PDF2JSONPath").ToString)
process.StandardInput.WriteLine("pdf2json.exe """ & actualFilePath & """ -enc UTF-8 -hidden -compress """ & viewPath & "" & dynamicFLXname & ".js""")

Is it support multi language ?

Regards
Aravind

Dominant language
Java
Stars
2.2k
Forks
396
Avg merge
9d 19h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modesty/pdf2json

All issues in modesty/pdf2json

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.