org.apache.fop.fonts

Class CIDFontType


public class CIDFontType
extends ValuedEnum

This class enumerates all supported CID font types.

Field Summary

static CIDFontType
CIDTYPE0
CID Font Type 0
static CIDFontType
CIDTYPE2
CID Font Type 2

Constructor Summary

CIDFontType(String name, int value)

Method Summary

static CIDFontType
byName(String name)
Returns the CIDFontType by name.
static CIDFontType
byValue(int value)
Returns the CID FontType by value.

Field Details

CIDTYPE0

public static final CIDFontType CIDTYPE0
CID Font Type 0

CIDTYPE2

public static final CIDFontType CIDTYPE2
CID Font Type 2

Constructor Details

CIDFontType

protected CIDFontType(String name,
                      int value)
See Also:
org.apache.avalon.framework.Enum.Enum(String)

Method Details

byName

public static CIDFontType byName(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-2007 The Apache Software Foundation. All Rights Reserved.