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

ASF subversion and git services commented on PDFBOX-5236:
---------------------------------------------------------

Commit 1891444 from [email protected] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1891444 ]

PDFBOX-5236: add assertion to test case, sonar fix

> PDPageContentStream.setLineWidth(float) not allowed in text block
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-5236
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5236
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.24
>            Reporter: Todd VanderWoude
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 2.0.25, 3.0.0 PDFBox
>
>
> PDPageContentStream.setLineWidth(float) incorrectly throws an exception that 
> setLineWidth is not allowed within a text block.  setLineWidth uses PDF 
> operator "w", which according to the PDF specification, it is allowed and is 
> used to set the stroke line width for text outlines when using either STROKE 
> or FILL_STROKE rendering modes.  This is shown on page 392 of the 
> specification at 
> [https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdf_reference_archive/pdf_reference_1-7.pdf]
>  in Example 5.4.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to