[ 
https://issues.apache.org/jira/browse/PDFBOX-4130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16382600#comment-16382600
 ] 

Tilman Hausherr commented on PDFBOX-4130:
-----------------------------------------

That's really weird... I created two reduced files based on yours, but your 
patch doesn't work on them.

> 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
>            Assignee: Tilman Hausherr
>            Priority: Major
>         Attachments: DateTest.pdf, PDFBOX-4130-1-reduced.pdf, 
> PDFBOX-4130-2-reduced.pdf, after.png, before.png, diff.patch, zt1.pdf
>
>
> 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