You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "chunlinyao (JIRA)" <ji...@apache.org> on 2018/02/27 06:11:00 UTC

[jira] [Created] (PDFBOX-4130) When W entries not included in CIDFont get width from font by code, Improve display of some PDF files.

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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org