[OpenJDK 2D-Dev] [8] Request for review: 7190349 [macosx] Text (Label) in a JTabbedPane is incorrectly drawn

Mike Swingler swingler at apple.com
Wed Jul 3 00:55:11 UTC 2013


On May 22, 2013, at 4:20 PM, Phil Race <philip.race at oracle.com> wrote:

> On 5/22/13 3:09 PM, Sergey Bylokhov wrote:
>> Hi, Phil.
>> I was under impression that jdk6 use the same java runtime support, because it has the same issue and because of this e-mail.
>> http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-November/005156.html 
> 
> I can't tell (from that email) if shipping JDK 6 for OS X really uses those APIs,
> or if the mentioned re-implementation was just an experiement.
> In any case the purpose of inventing them was to expose some non-public functionality.
> So its unclear if the problem is in tha JRS layer itself or something else underneath.

Sorry for the delay. Yes, Java SE 6 does use all of the JRS functions. We suppress the undesirable behavior of JRSFontGetAdvancesForGlyphsAndStyle() in Retina by forbidding any Java 2D context from actually being pixel-aligned for 2D or text operations when running under Retina (and we also force the renderer off of the Sun2D loops for on-screen operations). For the most part, apps don't seem to notice.

Regards,
Mike Swingler
Apple Inc.




More information about the 2d-dev mailing list