Hi. Konstantin.
I guess this is a duplicate of
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8013569
which was fixed in jdk8. can you try and confirm this?
Thanks.
On 13.09.2013 5:14, Konstantin Bulenkov wrote:
Hi everyone,
I've got a problem with the latest release of JDK7 (1.7.0_40-b43).
Hi everyone,
I've got a problem with the latest release of JDK7 (1.7.0_40-b43). Sometimes,
method FontMetrics.stringWidth(String) returns wrong values on Retina devices.
I wrote a small test demonstrating the problem:
import javax.swing.*;
import java.awt.*;
public class TextWidthTest extends