Re: [OpenJDK 2D-Dev] Bug with stringWidth on Retina

2013-09-13 Thread Sergey Bylokhov
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).

[OpenJDK 2D-Dev] Bug with stringWidth on Retina

2013-09-12 Thread Konstantin Bulenkov
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