chunlinyao created PDFBOX-4130:
----------------------------------

             Summary: When W entries not included in CIDFont get width from 
font by code, Improve display of some PDF files.
                 Key: PDFBOX-4130
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4130
             Project: PDFBox
          Issue Type: Improvement
          Components: Rendering
    Affects Versions: 2.0.8, 3.0.0 PDFBox
            Reporter: chunlinyao
         Attachments: DateTest.pdf, after.png, before.png

Some PDF use CJK font without embedded subset displayed incorrectly, the 
alphabet become wider.

This is before the patch.

  !before.png!

 

This is after the patch.

!after.png!

The test file [^DateTest.pdf]

^This patch only get width from font when these isn't a W entry in CIDFont. If 
there is an W entry, then any cid not in W entries will return default width.^



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to