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

Tres Finocchiaro commented on PDFBOX-5971:
------------------------------------------

I've been informed that the backport must await the JDK26 release since this is 
categorized < P2 (Priority 2).  I'm sharing the notes from our JDK provider 
hoping it's helpful to others:
{quote}Unless it’s a bug that affects a lot of parties (>= P2 bad crash or 
regression) the fix has to bake upstream (in our case jdk/jdk, be released as 
part of the next release (in our case we are lucky it made it into JDK 26, 
jdk/jdk is now targeted to JDK 27), and only after the users of a new release 
(26) have not reported regressions for some time the maintainers of update 
releases (25, 21) will consider a backport to update releases. Rules get 
tighter as update releases mature. Say, we nearly can’t sneak anything into 
OpenJDK 8.



... we are  [only] able to create a back port to the OpenJDK after JDK 26 
release (Mar 2026), the nearest release of the JDK 17, JDK 21 and JDK 25 after 
the JDK 26 release is in Apr 2026
{quote}
... so we wait until April, I guess. 🤞

> Degraded quality on macOS when dpi is not provided
> --------------------------------------------------
>
>                 Key: PDFBOX-5971
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5971
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.33, 3.0.4 PDFBox
>         Environment: openjdk 11.0.26
> macOS 15.3.1
>            Reporter: Tres Finocchiaro
>            Priority: Major
>         Attachments: image-2025-03-07-13-34-55-860.png, 
> image-2025-03-07-16-07-14-939.png, jdk23_patch.jpg, 
> minimal_example_TYPE_INT_RGB.png, pb_usps_sample-1.pdf
>
>
> When providing a `-dpi` to PDFBOX:
> {quote}Render into intermediate image with specific dpi and then print. Use 
> -1 for automatic detection of printer resolution.
> {quote}
> When printing to a 203 DPI printer on macOS, the quality differences are 
> quite different, with `-dpi 203` being significantly better quality.  This 
> issue was originally discovered in PDFBOX-5967 due to a downstream usage 
> preferring `-dpi 203` for some older JDK versions due to a hard-crash 
> (PDFBOX-2682).
>  
> Good: (with DPI)
> {quote}{{java -jar ~/Downloads/pdfbox-app-2.0.33.jar PrintPDF -dpi 203 
> -noColorOpt ~/Downloads/pb_usps_sample.pdf}}
> {quote}
> Not as good: (without DPI)
> {quote}{{java -jar ~/Downloads/pdfbox-app-2.0.33.jar PrintPDF -noColorOpt 
> ~/Downloads/pb_usps_sample.pdf}}
> {quote}
>  * I understand that this may be a result of something happening at the 
> OS-level.  If this is the case, any guidance as to how to isolate and provide 
> a bug report for openjdk is greatly appreciated.
>  * If there's a workaround that can be used as a stop-gap leveraging the 
> PDFBOX API, that would also be greatly appreciated.
>  
> [^pb_usps_sample.pdf]
> !image-2025-03-07-13-34-55-860.png!
>  



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

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

Reply via email to