Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Java Text

Radar #4298266

Type 1 fonts not loaded

Description:

Type 1 font files (pfa and pfb) were not loaded by FontManager.

Resolution:

The Sun 2D renderer, as discussed in “Sun 2D Renderer support,” supports Postscript Type 1 fonts.

Using the Quartz renderer allows you access the character to glyph mappings and some measurement data, but attempting to draw with a Type 1 font results in unexpected glyphs drawn in another font.

Radar #4298327

Custom font paths ignored

Description:

Paths specified using the sun.java2d.fontpath runtime option were not scanned for additional fonts to add to a Java application's font list.

Resolution:

Fonts in directories specified using the sun.java2d.fontpath runtime option are available.

Radar #4337704

Text in Metal-themed JTextAreas

Description:

When selecting text from the end of a line forward, the characters in the text moved and "shimmered" as the selection size changed.

Resolution:

The measurements for aliased text now align to the bounds of the displayed characters.

Radar #4367820

Font.canDisplay returns true

Description:

Font.canDisplay always returned true, even if the Font didn't have the requested glyph and Mac OS X character substitution couldn't find an appropriate substitute.

Resolution:

Font.canDisplay accurately returns whether or not a glyph can be displayed using a particular font. Note that there is no guarantee that the glyph comes from the requested font, only that a character can be displayed.

Radar #4371847

AWT controls use incorrect font

Description:

The order of font loading affected the font displayed on AWT controls, resulting in controls using Lucida Sans instead of Lucida Grande under some circumstances.

Resolution:

All AWT controls use Lucida Grande.

Radar #4390589

GlyphVector and AffineTransforms

Description:

Moving an individual glyph in a GlyphVector using the translation component of an AffineTransform didn't result in a translated glyph when the outline of the glyph was requested.

Resolution:

Translation components of AffineTransforms are applied to text drawn with GlyphVector.getOutline, Graphics.drawGlyphVector, and measurements of the GlyphVector.

Radar #4401414

Font style in name

Description:

Asking for an italic variant of a font by appending -Italic to it's name didn't provide an italic version.

Resolution:

Italic and bold italic variants are now returned by appending a space or a dash and the requested style.

Radar #4402021

Fractional font sizes

Description:

When drawing with a fractional size font using Font.deriveFont, measurements using the font would reflect the fractional size, however the actual drawing would only draw at the nearest integer size.

Resolution:

This problem has been fixed for all text drawing operations, such as Graphics.drawString, Graphics.drawGlyphVector, etc.



< Previous PageNext Page > Hide TOC


Last updated: 2006-05-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice