|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.Typeface
org.apache.fop.fonts.CustomFont
org.apache.fop.fonts.CIDFont
public abstract class CIDFont
Abstract base class for CID fonts.
Field Summary | |
---|---|
protected int[] |
width
Contains the character widths for all characters in the font |
Fields inherited from class org.apache.fop.fonts.CustomFont |
---|
additionalEncodings, cmap, unencodedCharacters |
Fields inherited from class org.apache.fop.fonts.Typeface |
---|
eventListener, NOT_FOUND |
Constructor Summary | |
---|---|
CIDFont(InternalResourceResolver resourceResolver)
|
Method Summary | |
---|---|
abstract CIDSet |
getCIDSet()
Returns the subset information for this font. |
abstract CIDFontType |
getCIDType()
Returns the type of the CID font. |
int |
getDefaultWidth()
Returns the default width for this font. |
abstract java.lang.String |
getOrdering()
Returns a font name for use within a registry. |
abstract java.lang.String |
getRegistry()
Returns the name of the issuer of the font. |
abstract int |
getSupplement()
Returns the supplement number of the character collection. |
abstract boolean |
hasCodePoint(int cp)
Determines whether this font contains a particular code point/glyph. |
boolean |
isMultiByte()
Determines whether the font is a multibyte font. |
abstract int |
mapCodePoint(int cp)
Map a Unicode code point to a code point in the font. |
Methods inherited from class org.apache.fop.fonts.Typeface |
---|
getEncodingName, getMaxAscent, hadMappingOperations, hasChar, hasFeature, isCID, mapChar, notifyMapOperation, setEventListener, toString, warnMissingGlyph |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.fop.fonts.FontDescriptor |
---|
isEmbeddable, isSubsetEmbedded |
Methods inherited from interface org.apache.fop.fonts.FontMetrics |
---|
getBoundingBox, getMaxAscent, getWidth, getWidths, hasFeature |
Field Detail |
---|
protected int[] width
Constructor Detail |
---|
public CIDFont(InternalResourceResolver resourceResolver)
resourceResolver
- the URI resolver for controlling file accessMethod Detail |
---|
public abstract CIDFontType getCIDType()
public abstract java.lang.String getRegistry()
public abstract java.lang.String getOrdering()
public abstract int getSupplement()
public abstract CIDSet getCIDSet()
public abstract boolean hasCodePoint(int cp)
cp
- character to check
public abstract int mapCodePoint(int cp)
cp
- code point to map
public int getDefaultWidth()
public boolean isMultiByte()
isMultiByte
in interface FontMetrics
isMultiByte
in class Typeface
|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |