|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.util.JRFontUtil
public final class JRFontUtil
Method Summary | |
---|---|
static void |
checkAwtFont(java.lang.String name,
boolean ignoreMissingFont)
|
static void |
copyNonNullOwnProperties(JRFont srcFont,
JRFont destFont)
|
static java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> |
getAttributes(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes,
JRFont font,
java.util.Locale locale)
Deprecated. Replaced by getAttributesWithoutAwtFont(Map, JRFont) . |
static java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> |
getAttributesWithoutAwtFont(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes,
JRFont font)
|
static java.awt.Font |
getAwtFont(JRFont font,
java.util.Locale locale)
Returns a java.awt.Font instance by converting a JRFont instance. |
static java.awt.Font |
getAwtFontFromBundles(java.lang.String name,
int style,
int size,
java.util.Locale locale)
Deprecated. Replaced by getAwtFontFromBundles(String, int, int, Locale, boolean) . |
static java.awt.Font |
getAwtFontFromBundles(java.lang.String name,
int style,
int size,
java.util.Locale locale,
boolean ignoreMissingFont)
|
static java.util.Collection<java.lang.String> |
getFontFamilyNames()
Returns the font family names available through extensions, in alphabetical order. |
static FontInfo |
getFontInfo(java.lang.String name,
java.util.Locale locale)
Returns font information containing the font family, font face and font style. |
static void |
resetThreadMissingFontsCache()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void copyNonNullOwnProperties(JRFont srcFont, JRFont destFont)
public static java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> getAttributes(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes, JRFont font, java.util.Locale locale)
getAttributesWithoutAwtFont(Map, JRFont)
.
public static java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> getAttributesWithoutAwtFont(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes, JRFont font)
public static FontInfo getFontInfo(java.lang.String name, java.util.Locale locale)
name
- the font family or font face namelocale
- the locale
public static java.util.Collection<java.lang.String> getFontFamilyNames()
public static java.awt.Font getAwtFontFromBundles(java.lang.String name, int style, int size, java.util.Locale locale)
getAwtFontFromBundles(String, int, int, Locale, boolean)
.
public static java.awt.Font getAwtFontFromBundles(java.lang.String name, int style, int size, java.util.Locale locale, boolean ignoreMissingFont)
public static void resetThreadMissingFontsCache()
public static void checkAwtFont(java.lang.String name, boolean ignoreMissingFont)
public static java.awt.Font getAwtFont(JRFont font, java.util.Locale locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |