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.
    
![2018-02-26_332x112](https://user-images.githubusercontent.com/148663/36660884-a2b6f984-1b14-11e8-9ab7-62138e3b8452.png)
    
    This is after patch.
    
![2018-02-26_378x96](https://user-images.githubusercontent.com/148663/36660944-c8c747e6-1b14-11e8-9c56-e923fcb86f01.png)
    
    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]

Reply via email to