Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

wants to merge 11 commits into from
@@ -511,7 +511,7 @@ public static void drawString(JComponent c, Graphics g, String text,
if ( text == null || text.length() <= 0 ) { //no need to paint empty strings
if (isPrinting(g)) {
if (isPrinting(g) && !FontUtilities.isMacOSX) {
Graphics2D g2d = getGraphics2D(g);
if (g2d != null) {
/* The printed text must scale linearly with the UI.