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

Tilman Hausherr edited comment on PDFBOX-4380 at 11/16/18 6:44 PM:
-------------------------------------------------------------------

Yeah all these are wrong.

What I am talking about is at the beginning of the content stream. With 
PDFDebugger you can see this:
{code:java}
q
  q
    /Pattern cs
    /p5 scn
    /a0 gs
    0 0 595 841 re
    f
  Q
Q{code}
So this segment should be removed, alternatively replace "f" with "n".

Somehow the content creator uses this pattern p5 but when going through this 
(nested) pattern it turns out to be empty (it contains only "q Q" which does 
nothing by itself), see 
{{Root/Pages/Kids/[0]/Resources/Pattern/p5/Resources/XObject/x9/Resources/XObject/x13}}.

This pattern is used "around" the page. Maybe it was intended for laurels at 
the border.


was (Author: tilman):
Yeah all these are wrong.

What I am talking about is at the beginning of the content stream. With 
PDFDebugger you can see this:
{code:java}
q
  q
    /Pattern cs
    /p5 scn
    /a0 gs
    0 0 595 841 re
    f
  Q
Q{code}
So this segment should be removed, alternatively replace "f" with "n".

Somehow the content creator uses this pattern p5 but when going through this 
(nested) pattern it turns out to be empty, see 
{{Root/Pages/Kids/[0]/Resources/Pattern/p5/Resources/XObject/x9/Resources/XObject/x13}}.

This pattern is used "around" the page. Maybe it was intended for laurels at 
the border.

> PDF will only print rasterized on Windows
> -----------------------------------------
>
>                 Key: PDFBOX-4380
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4380
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.12
>         Environment: Windows 10 Pro x64
> macOS 10.14
>            Reporter: Tres Finocchiaro
>            Priority: Major
>         Attachments: AWB_BM82266397503_unc.pdf, Screen Shot 2018-11-15 at 
> 9.30.16 PM.png, Screen Shot 2018-11-15 at 9.30.32 PM.png, printpdf.pdf
>
>
> Near identical symptoms to PDFBOX-4123, but only on Windows.
> [This PDF|https://github.com/qzind/tray/files/2587736/AWB_BM82266397503.pdf] 
> will only print rasterized.  It looks fine in Adobe Reader, but once printed 
> using PDFBOX, it will always print rasterized.
> PDF was created using Python weasyprint.
> Like PDFBOX-4123, I found a Transparency block inspecting the PDF raw 
> contents. However the workaround provided in PDFBOX-4123 does not remedy the 
> situation. Furthermore, the behavior is inconsistent between macOS and 
> Windows.
>  * Windows testing was performed using Java 8u191 and PDFCreator.  Same 
> behavior with Microsoft Print to PDF.
>  * macOS testing was performed using Java 8u181 and Lisanet PDFwriter.
>  Attachments:
>  * Screen Shot 2018-11-15 at 9.30.16 PM.png - Actual results
>  * Screen Shot 2018-11-15 at 9.30.32 PM.png - Desired results



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to