[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-30 Thread ASF subversion and git services (Jira)


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

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

Commit 1914243 from Tilman Hausherr in branch 'pdfbox/branches/3.0'
[ https://svn.apache.org/r1914243 ]

PDFBOX-5715: enlarge clipping path when bounds width or height is smaller than 
1 because of printing problems with MacOS, by Alexander Scherbatiy

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-30 Thread ASF subversion and git services (Jira)


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

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

Commit 1914245 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1914245 ]

PDFBOX-5715: enlarge clipping path when bounds width or height is smaller than 
1 because of printing problems with MacOS, by Alexander Scherbatiy

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-30 Thread ASF subversion and git services (Jira)


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

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

Commit 1914244 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1914244 ]

PDFBOX-5715: enlarge clipping path when bounds width or height is smaller than 
1 because of printing problems with MacOS, by Alexander Scherbatiy

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-29 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr commented on PDFBOX-5715:
-

Thanks for the feedback. I'm going to commit this in a few days.

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-28 Thread Tres Finocchiaro (Jira)


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

Tres Finocchiaro commented on PDFBOX-5715:
--

[~tilman] thanks for testing.  Since the linked PR is against trunk, the test 
example project had to be [modified 
slightly|https://pdfbox.apache.org/3.0/migration.html#use-loader-to-get-a-pdf-document]
 to compile, but yes, it fixes the issue.  Note, that the example project 
intentionally prints to a 4x6 PDF to reproduce the issue, which is roughly 50% 
of an A4/US Letter.

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-28 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr commented on PDFBOX-5715:
-

[~tresf] did you test the modification from the linked github PR? I just tried 
it, it makes no difference at 100% but it makes a difference at 50%. But maybe 
it makes a difference on MacOS for you?

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (PDFBOX-5715) Lines vanish when printing on MacOS

2023-11-14 Thread Tres Finocchiaro (Jira)


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

Tres Finocchiaro commented on PDFBOX-5715:
--

I've made a sample document "line-widths.pdf" using FOP which helps illustrate 
the severity:

!desired.png!

 

!actual.png!

> Lines vanish when printing on MacOS
> ---
>
> Key: PDFBOX-5715
> URL: https://issues.apache.org/jira/browse/PDFBOX-5715
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.30
>Reporter: Tres Finocchiaro
>Priority: Major
>  Labels: print, printing
> Attachments: actual.png, desired.png, fop.zip, 
> image-2023-11-11-18-55-20-972.png, image-2023-11-11-18-56-24-363.png, 
> image-2023-11-11-18-57-39-403.png, line-widths.pdf.zip
>
>
> When printing the 
> [border.fo|https://github.com/apache/xmlgraphics-fop/blob/main/fop/examples/fo/basic/border.fo]
>  example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some 
> of the lines vanish.
>  * The behavior does not occur on a A4 or US Letter document.
>  * The behavior varies slightly depending on rendering hints.
>  * The behavior is not reproducible on Linux
>  * This problem has been discussed – in part – on the mailing list here: 
> [https://lists.apache.org/thread/nb9vsfx2gd8j37mrnlbbj0vqy6wrwt88]
> Attached is a sample project which reproduces this problem:
> [^fop.zip]
> To run the example:
>  # Install a PDF printer on the Mac
>  # Extract fop.zip and run it using maven: 
> {code:java}
> mvn compile && mvn exec:java
> {code}
> Expected:
> !image-2023-11-11-18-57-39-403.png!
> Actual:
> !image-2023-11-11-18-56-24-363.png!
>  
> In the field, this issue may be common in scenarios where labels are obtained 
> from shipping companies that use Apache FOP for creating the PDFs and are 
> then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the 
> issue seems to be specific to MacOS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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