Java 2D Enhancements in the Java™ SE 7

Major Features:

Major Features

Improved Rendering Pipeline

A new XRender-based Java 2D rendering pipeline is supported for modern X11-based desktops, offering improved graphics performance. The pipeline is disabled by default, but may be enabled by setting the command line property -Dsun.java2d.xrender=true. Older X11 configurations may not be able to support XRender. The verbose form, -Dsun.java2d.xrender=True, can be used to enable a message to stdout indicating whether the pipeline was actually enabled.

This flag is listed in the System Properties for Java 2D Technology page.

Support for OpenType/CFF Fonts

The JDK will now enumerate and display the OpenType/CFF fonts installed on the platform, and also recognize them via the Font.createFont API.

TextLayout now Supports Tibetan Script

Better Support for Linux Fonts

For Solaris and Windows, the logical fonts for the JDK are statically specified in the fontconfig.properties file. On various implementations of Linux, there is no assurance of the presence of particular fonts to support particular locales. As of Java SE 7, libfontconfig is used to select fonts to use for the logical fonts for "unrecognized" Linux platforms.

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.