[
https://issues.apache.org/jira/browse/PDFBOX-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729010#comment-17729010
]
Tres Finocchiaro commented on PDFBOX-5617:
------------------------------------------
{quote}Use the code from the "opaque" sample and add this
{quote}
Hmm... It doesn't seem to help:
{code:java}
// PDFBOX-5605: Disable alpha for lines, etc
gs.setNonStrokingAlphaConstant(1f);
gs.setStrokingAlphaConstant(1f);
// PDFBOX-5617: Fix blend mode
gs.setBlendMode(BlendMode.NORMAL);
gs.copyIntoGraphicsState( context.getGraphicsState() );{code}
{quote}shouldn't the two modifications (ignore group, and ignore extgstate) in
your code handle these?
{quote}
The transparency improvements (e.g. PDFBOX-5605) primarily intended to help
with performance and quality (I do realize that the stoke fixes in PDFBOX-5605
inadvertently fixes an edge-case bug with the Zebra driver skipping the second
page, but that was just a lucky edge-case fix).
{quote}This one (that renders properly on my machine)
{quote}
Did you try to use CUPS print to PDF? The original bug where only the outline
showed was reported on Windows, but using CUPS on Mac, the text vanishes
completely so I figured there was something odd going on.
> PDF content prints mostly blank
> -------------------------------
>
> Key: PDFBOX-5617
> URL: https://issues.apache.org/jira/browse/PDFBOX-5617
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.28
> Reporter: Tres Finocchiaro
> Priority: Major
> Labels: print, printing
> Attachments: expected-vs-actual.png, original.pdf, output.pdf,
> screenshot-1.png
>
>
> Please see *expected-vs-actual.png* attachment.
> The attached PDF ({*}original.pdf{*}) prints most of its text content as
> blank. Some printers show a thin outline around the text, but the virtual
> printers show most content as blank ({*}output.pdf{*}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]