diff --git a/src/java.desktop/macosx/native/libawt_lwawt/font/CGGlyphImages.m b/src/java.desktop/macosx/native/libawt_lwawt/font/CGGlyphImages.m index a9a383eea28..c606f37ed81 100644 --- a/src/java.desktop/macosx/native/libawt_lwawt/font/CGGlyphImages.m +++ b/src/java.desktop/macosx/native/libawt_lwawt/font/CGGlyphImages.m @@ -494,8 +494,8 @@ @implementation CGGI_GlyphCanvas const CGGI_RenderingMode* mode) { if (canvas->image != NULL && - width * CGGI_GLYPH_CANVAS_SLACK <= canvas->image->width && - height * CGGI_GLYPH_CANVAS_SLACK <= canvas->image->height) + width < canvas->image->width && + height < canvas->image->height) { return; }