[
https://issues.apache.org/jira/browse/PDFBOX-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000343#comment-17000343
]
Tilman Hausherr commented on PDFBOX-4717:
-----------------------------------------
I tested (with jdk8) to set
{code:java}
graphics.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL,
RenderingHints.VALUE_STROKE_NORMALIZE);{code}
but there is no difference in rendering. I also tried this when rendering to
graphics of a JPanel instead of a BufferedImage, and no difference too.
> Rendering with Stroke Adjusment
> -------------------------------
>
> Key: PDFBOX-4717
> URL: https://issues.apache.org/jira/browse/PDFBOX-4717
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.17
> Reporter: Yan Hrachou
> Priority: Major
> Labels: bug, render
> Attachments: test.pdf, test_sa.pdf
>
>
> Trying to render(72 DPI) pdf document with thin line and not getting my line
> to be rendered correctly when automatic stroke adjustment flag in PDF is set.
> PDF stroke adjustment (/SA in graphic state dictionary) has no effect on
> rendering thin line. According to PDF specification thin line must be
> rendered when /SA (stroke adjustment) is set to true.
>
> Attached files:
> test.pdf - document with thin line and disabled(default) stroke adjustment.
> test_sa.pdf - document with thin line and enabled stroke adjustment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]