JDK-7156751 : [macosx] Problem with printing
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7u4
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2012-03-26
  • Updated: 2025-10-07
  • Resolved: 2025-09-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b18Fixed
Related Reports
Relates :  
Description
See regression test closed/java/awt/print/PrinterJob/PrintTextTest(run this test with out jtreg)

Result:
1)8th line printed in the wrong place.
2)The last line is not printed.

Checked on two different printers. Doesn't have workaround.

First page in attachment.

Comments
Changeset: 61659214 Branch: master Author: Daniel Gredler <dgredler@openjdk.org> Date: 2025-09-29 10:28:45 +0000 URL: https://git.openjdk.org/jdk/commit/616592144939d80cae661bd4db26c976a035d543
29-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27486 Date: 2025-09-25 12:49:31 +0000
25-09-2025

I've just re-checked this, and have verified that point 1 is still valid (issues with line 8, i.e. "GlyphVector with position adjustments"), but point 2 no longer seems to be an issue (the last line, "TextLayout 2...", is being printed now).
08-03-2025

Please re-open if - if fix is in progress or on the plan to fix soon - if this is a P3 (file as P3, not P4)
14-03-2014