RFR: 8368702: [macosx] Printing text with composite fonts loses font transform

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Nov 13 04:14:01 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.

BTW, are you also working on issue in Page 8 of the above test? I guess that's the only issue remaining after this as I see..

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27544#issuecomment-3525225572


More information about the client-libs-dev mailing list