[
https://issues.apache.org/jira/browse/PDFBOX-4130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384668#comment-16384668
]
Tilman Hausherr commented on PDFBOX-4130:
-----------------------------------------
Here are two files that have both TJ and Tj. And it all just got weirder: I
found out that even with Adobe, I get a different display on W7 and W10.
On W7, the glyphs are small; on W10, the glyphs are enlarged. The positioning
is the same. That makes me doubt everything.
> 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: [email protected]
For additional commands, e-mail: [email protected]