GitHub user chunlinyao opened a pull request:
https://github.com/apache/pdfbox/pull/44
When widths not contains the cid, get width from font by code
Some PDF use CJK font without embedded subset displayed incorrectly, the
alphabet become wider.
This is result before the patch.

This is after patch.

The origin pdf.
[dd.pdf](https://github.com/apache/pdfbox/files/1757749/dd.pdf)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chunlinyao/pdfbox trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/44.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #44
----
commit 8a754cad5ee6b732d86180dff60028a9304a015b
Author: chunlinyao <chunlinyao@...>
Date: 2018-02-26T08:40:42Z
When widths not contains the cid, get width from font by code
Some PDF use CJK font without embedded subset displayed incorrectly, the
alphabet become wider.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]