From cb67faf9011f76349863a698ca5c60cadc0d563b Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 26 Feb 2017 23:43:24 +0100 Subject: [PATCH] updated comments --- src/dorkbox/util/SwingUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dorkbox/util/SwingUtil.java b/src/dorkbox/util/SwingUtil.java index dd46780..598a554 100644 --- a/src/dorkbox/util/SwingUtil.java +++ b/src/dorkbox/util/SwingUtil.java @@ -272,7 +272,7 @@ class SwingUtil { Font fontCheck = new Font(font.getName(), Font.PLAIN, size); FontMetrics metrics = g.getFontMetrics(fontCheck); - Rectangle2D rect = metrics.getStringBounds("`Tj|┃", g); // `Tj|┃ are letters that are at the top/bottom of the fontset (usually) + Rectangle2D rect = metrics.getStringBounds("`Tj|┃", g); // `Tj|┃ are glyphs that are at the top/bottom of the fontset (usually) int testHeight = (int) rect.getHeight(); if (testHeight < height && lastAction != Boolean.FALSE) {