Integrated: 8368702: [macosx] Printing text with composite fonts loses font transform
Daniel Gredler
dgredler at openjdk.org
Thu Dec 11 20:18:49 UTC 2025
On Mon, 29 Sep 2025 11:46:47 GMT, Daniel Gredler <dgredler at openjdk.org> wrote:
> When printing text on macOS, if the text uses a composite font (a logical font composed of more than one physical font) with a custom affine transform, the transform can be lost, and the text printed without the transform applied.
>
> This is one of a few issues affecting the problem listed manual test `java/awt/print/PrinterJob/PrintTextTest.java` on macOS, and can be observed on page 10, on the last line ("TextLayout 2"). Without the fix, the text on this line is not stretched across the x-axis, resulting in large gaps of white space between runs of different script types.
This pull request has now been integrated.
Changeset: 431dcf84
Author: Daniel Gredler <dgredler at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/431dcf84e9754c743105380ca69af647b57193bc
Stats: 10 lines in 2 files changed: 6 ins; 0 del; 4 mod
8368702: [macosx] Printing text with composite fonts loses font transform
Reviewed-by: psadhukhan, prr
-------------
PR: https://git.openjdk.org/jdk/pull/27544
More information about the client-libs-dev
mailing list