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/03/01 03:37:00 UTC
[jira] [Commented] (PDFBOX-4130) When W entries not included in
CIDFont get width from font by code, Improve display of some PDF files.
[ https://issues.apache.org/jira/browse/PDFBOX-4130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381465#comment-16381465 ]
chunlinyao commented on PDFBOX-4130:
------------------------------------
I have another file which has /DW but no /W, that file will not improved by PDFBOX-3457, but improved by my patch. It is difficult to decide when should we stretch glyph for these files.
> 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, after.png, before.png, diff.patch
>
>
> 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