Skip to content

Commit bdf3133

Browse files
Nibedita Jenacoffeys
authored andcommitted
8355884: [macos] java/awt/Frame/I18NTitle.java fails on MacOS
Backport-of: 199a365bdfeaf89268931a8538d73eba30f69761
1 parent 92c2f1b commit bdf3133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.desktop/macosx/native/libawt_lwawt/font/CGGlyphImages.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,8 @@ @implementation CGGI_GlyphCanvas
494494
const CGGI_RenderingMode* mode)
495495
{
496496
if (canvas->image != NULL &&
497-
width * CGGI_GLYPH_CANVAS_SLACK <= canvas->image->width &&
498-
height * CGGI_GLYPH_CANVAS_SLACK <= canvas->image->height)
497+
width < canvas->image->width &&
498+
height < canvas->image->height)
499499
{
500500
return;
501501
}

0 commit comments

Comments
 (0)