Top Description Constructors Methods
org.apache.fontbox.cff

public abstract Class CFFEncoding

extends Encoding
Class Inheritance
Known Direct Subclasses
org.apache.fontbox.cff.CFFExpertEncoding, org.apache.fontbox.cff.CFFParser.CFFBuiltInEncoding, org.apache.fontbox.cff.CFFStandardEncoding
Imports
org.apache.fontbox.encoding.Encoding

A CFF Type 1-equivalent Encoding. An encoding is an array of codes associated with some or all glyphs in a font
Author
John Hewson

Constructor Summary

AccessConstructor and Description
pack-priv
CFFEncoding()

Package-private constructor for subclasses.

Method Summary

Modifier and TypeMethod and Description
public void
add(int
the given code
code
,
int
the given SID
sid
,
String
glyph name
name
)

Adds a new code/SID combination to the encoding.

protected void
add(int
the given code
code
,
int
the given SID
sid
)

For use by subclasses only.

Inherited from org.apache.fontbox.encoding.Encoding:
addCharacterEncodinggetCodegetCodeToNameMapgetName

Constructor Detail

CFFEncodingback to summary
pack-priv CFFEncoding()

Package-private constructor for subclasses.

Method Detail

addback to summary
public void add(int code, int sid, String name)

Adds a new code/SID combination to the encoding.

Parameters
code:int

the given code

sid:int

the given SID

name:String

glyph name

addback to summary
protected void add(int code, int sid)

For use by subclasses only.

Parameters
code:int

the given code

sid:int

the given SID