org.apache.fop.fonts
Class FontType
ValuedEnum
org.apache.fop.fonts.FontType
public class FontType
extends ValuedEnum
This class enumerates all supported font types.
MMTYPE1
public static final FontType MMTYPE1
Adobe Multiple Master Type 1 fonts
OTHER
public static final FontType OTHER
Collective identifier for "other" font types
TRUETYPE
public static final FontType TRUETYPE
TrueType fonts
TYPE0
public static final FontType TYPE0
Adobe Type 0 fonts (composite font)
TYPE1
public static final FontType TYPE1
Adobe Type 1 fonts
TYPE3
public static final FontType TYPE3
Adobe Type 3 fonts ("user-defined" fonts)
FontType
protected FontType(String name,
int value)
org.apache.avalon.framework.Enum.Enum(String)
byName
public static FontType byName(String name)
Returns the FontType by name.
name
- Name of the font type to look up
byValue
public static FontType byValue(int value)
Returns the FontType by value.
value
- Value of the font type to look up
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.