Integrated: 7156751: [macosx] Problem with printing
Daniel Gredler
dgredler at openjdk.org
Mon Sep 29 10:31:46 UTC 2025
On Thu, 25 Sep 2025 12:49:31 GMT, Daniel Gredler <dgredler at openjdk.org> wrote:
> This PR fixes one more issue preventing `test/jdk/java/awt/print/PrinterJob/PrintTextTest.java` from being removed from the problem list on macOS. The issue is the placement of line 8 ("GlyphVector with position adjustments") during printing. There were two issues: (a) the necessary transform was being applied to each glyph position, but not to the initial start position, and (b) the y-advances were being unnecessarily inverted. This last one is a head-scratcher, because it seems very intentional, but seems to generate incorrect results (every second character was drawing below the line instead of above it).
This pull request has now been integrated.
Changeset: 61659214
Author: Daniel Gredler <dgredler at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/616592144939d80cae661bd4db26c976a035d543
Stats: 10 lines in 2 files changed: 4 ins; 2 del; 4 mod
7156751: [macosx] Problem with printing
Reviewed-by: prr, serb
-------------
PR: https://git.openjdk.org/jdk/pull/27486
More information about the client-libs-dev
mailing list