Top Description Fields Constructors Methods
org.apache.fontbox.cff

public Class CIDKeyedType2CharString

extends Type2CharString
Class Inheritance
Imports
org.apache.fontbox.type1.Type1CharStringReader, java.util.List, .Locale

A CID-Keyed Type 2 CharString.
Author
John Hewson

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public
CIDKeyedType2CharString(Type1CharStringReader
Parent CFF font
font
,
String
font name
fontName
,
int
CID
cid
,
int
GID
gid
,
List<Object>
Type 2 char string sequence
sequence
,
int
default width
defaultWidthX
,
int
nominal width
nomWidthX
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the CID of this charstring
getCID
()

Returns the CID (character id) of this charstring.

Inherited from org.apache.fontbox.cff.Type2CharString:
getGID

Field Detail

cidback to summary
private final int cid

Constructor Detail

CIDKeyedType2CharStringback to summary
public CIDKeyedType2CharString(Type1CharStringReader font, String fontName, int cid, int gid, List<Object> sequence, int defaultWidthX, int nomWidthX)

Constructor.

Parameters
font:Type1CharStringReader

Parent CFF font

fontName:String

font name

cid:int

CID

gid:int

GID

sequence:List<Object>

Type 2 char string sequence

defaultWidthX:int

default width

nomWidthX:int

nominal width

Method Detail

getCIDback to summary
public int getCID()

Returns the CID (character id) of this charstring.

Returns:int

the CID of this charstring