Integrated: 8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were garbled

Toshio Nakamura tnakamura at openjdk.java.net
Wed Mar 16 01:15:49 UTC 2022


On Thu, 22 Apr 2021 09:21:20 GMT, Toshio Nakamura <tnakamura at openjdk.org> wrote:

> Hi,
> 
> Could you review the fix?
> When non-English characters were printed from JTable on MacOS, CTextPipe.doDrawGlyphs was called by OSXSurfaceData.drawGlyphs. However, CTextPipe seems not support glyph with slot number of composite fonts.
> 
> The slot data mask of GlyphVector is 0xff000000. In my environment, Japanese font was loaded at slot 4, and glyph data is like [0x40003e5]. Then, unexpected glyph was drawn.

This pull request has now been integrated.

Changeset: 27fe3d7f
Author:    Toshio Nakamura <tnakamura at openjdk.org>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/27fe3d7f8db4ede6441a7cc325d9f29eb4a1d10d
Stats:     212 lines in 2 files changed: 208 ins; 0 del; 4 mod

8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were garbled

Reviewed-by: prr, serb

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

PR: https://git.openjdk.java.net/jdk/pull/3619



More information about the client-libs-dev mailing list