modesty / modesty/pdf2json

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.

Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

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

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.