You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/03/11 23:24:17 UTC

[jira] [Resolved] (PDFBOX-3268) Corners of stroked type are inaccurate when rendered as an image

     [ https://issues.apache.org/jira/browse/PDFBOX-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-3268.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 2.0.0

> Corners of stroked type are inaccurate when rendered as an image
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-3268
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3268
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>         Environment: Java 8u72, OS X 10.11.3
>            Reporter: Jon Wu
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-3268-reduced.pdf, abc.pdf, abc1.jpg
>
>
> Using the latest 2.0 SNAPSHOT, converting a PDF with outlined type results in slightly inaccurate strokes. It looks as if the strokes don't always meet completely causing some corners of the rendered type to have double corners. 
> For abc1.jpg, it's most visible on the bottom left of most rendered glyphs.
> java -jar pdfbox-app-2.0.0-20160310.194240-1983.jar PDFToImage -dpi 300 abc.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Re: [jira] [Resolved] (PDFBOX-3268) Corners of stroked type are inaccurate when rendered as an image

Posted by Tilman Hausherr <TH...@t-online.de>.
JIRA is still down... I'll reopen this issue later and attach a new 
example and remove the 2.0 target. My change only solves the "A", but 
the problem still exists for C, Q and S. I had expected this to happen 
but hadn't noticed any problem yesterday. (my change cares only about 
closing a path with a line, not with a curve).

Btw two commercial java competitors can't display it either. One of them 
doesn't support TextRendering modes, the other one has the same failure 
that we have. PDF.js works fine.

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