org.apache.fop.fonts
Class CIDFontType
java.lang.Object
org.apache.avalon.framework.Enum
org.apache.avalon.framework.ValuedEnum
org.apache.fop.fonts.CIDFontType
public class CIDFontType
- extends org.apache.avalon.framework.ValuedEnum
This class enumerates all supported CID font types.
Constructor Summary |
protected |
CIDFontType(java.lang.String name,
int value)
|
Methods inherited from class org.apache.avalon.framework.ValuedEnum |
getValue, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual, toString |
Methods inherited from class org.apache.avalon.framework.Enum |
equals, getName, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CIDTYPE0
public static final CIDFontType CIDTYPE0
- CID Font Type 0 (based on Type 1 format)
CIDTYPE2
public static final CIDFontType CIDTYPE2
- CID Font Type 2 (based on TrueType format)
CIDFontType
protected CIDFontType(java.lang.String name,
int value)
- See Also:
Enum.Enum(String)
byName
public static CIDFontType byName(java.lang.String name)
- Returns the CIDFontType by name.
- Parameters:
name
- Name of the CID font type to look up
- Returns:
- FontType the CID font type
byValue
public static CIDFontType byValue(int value)
- Returns the CID FontType by value.
- Parameters:
value
- Value of the CID font type to look up
- Returns:
- FontType the CID font type
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.