Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.ui
Class Fonts

java.lang.Object
  extended by oracle.javatools.ui.Fonts


public final class Fonts
extends java.lang.Object

Method Summary
static java.awt.Font deriveFont(java.awt.Font originalFont, int style, float size)
          This method works around bugs in Java 1.5's implementation of Font.deriveFont() that prevent it from copying composite font information, which can result in broken glyphs in certain multibyte environments.
static sun.font.Font2DHandle getNewComposite(java.lang.String family, int style, sun.font.Font2DHandle handle)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

deriveFont

public static java.awt.Font deriveFont(java.awt.Font originalFont,
                                       int style,
                                       float size)
This method works around bugs in Java 1.5's implementation of Font.deriveFont() that prevent it from copying composite font information, which can result in broken glyphs in certain multibyte environments.

In Java 1.6, this method calls Font.deriveFont().

Parameters:
originalFont -
style -
size -
Returns:

getNewComposite

public static sun.font.Font2DHandle getNewComposite(java.lang.String family,
                                                    int style,
                                                    sun.font.Font2DHandle handle)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.