|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.pdf.PDFObject | +--org.apache.fop.pdf.PDFCIDFont
class representing a "character identifier" font (p 210 and onwards).
Field Summary | |
protected java.lang.String |
basefont
|
static byte |
CID_TYPE0
|
static byte |
CID_TYPE2
|
protected PDFStream |
cidMap
/CIDToGIDMap (only for CIDFontType2, see p 212) can be either "Identity" (default) or a PDFStream |
protected java.lang.String |
cidtype
|
protected PDFCMap |
cmap
|
protected PDFCIDFontDescriptor |
descriptor
|
protected java.lang.Integer |
dw
|
protected int[] |
dw2
|
protected PDFCIDSystemInfo |
systemInfo
|
protected static java.lang.String[] |
TYPE_NAMES
|
protected PDFWArray |
w
|
protected PDFWArray |
w2
|
Fields inherited from class org.apache.fop.pdf.PDFObject |
generation, number |
Constructor Summary | |
PDFCIDFont(int number,
java.lang.String basefont,
byte cidtype,
int dw,
int[] w,
java.lang.String registry,
java.lang.String ordering,
int supplement,
PDFCIDFontDescriptor descriptor)
create the /Font object |
|
PDFCIDFont(int number,
java.lang.String basefont,
byte cidtype,
int dw,
PDFWArray w,
PDFCIDSystemInfo systemInfo,
PDFCIDFontDescriptor descriptor)
create the /Font object |
Method Summary | |
void |
setCIDMap(PDFStream map)
set the /CIDToGIDMap (to be used only for CIDFontType2) |
void |
setCIDMapIdentity()
set the /CIDToGIDMap (to be used only for CIDFontType2) to "Identity" |
void |
setCMAP(PDFCMap cmap)
Set the CMap used as /ToUnicode cmap |
void |
setDW(int dw)
set the /DW attribute |
void |
setDW2(int[] dw2)
set the (two elements) /DW2 array |
void |
setDW2(int posY,
int displacementY)
set the two elements of the /DW2 array |
void |
setW(PDFWArray w)
set the /W array |
void |
setW2(PDFWArray w2)
set the /W2 array |
byte[] |
toPDF()
produce the PDF representation for the object |
java.lang.String |
toPDFString()
|
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, output, referencePDF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte CID_TYPE0
public static final byte CID_TYPE2
protected static final java.lang.String[] TYPE_NAMES
protected java.lang.String basefont
protected java.lang.String cidtype
protected java.lang.Integer dw
protected PDFWArray w
protected int[] dw2
protected PDFWArray w2
protected PDFCIDSystemInfo systemInfo
protected PDFCIDFontDescriptor descriptor
protected PDFCMap cmap
protected PDFStream cidMap
Constructor Detail |
public PDFCIDFont(int number, java.lang.String basefont, byte cidtype, int dw, int[] w, java.lang.String registry, java.lang.String ordering, int supplement, PDFCIDFontDescriptor descriptor)
public PDFCIDFont(int number, java.lang.String basefont, byte cidtype, int dw, PDFWArray w, PDFCIDSystemInfo systemInfo, PDFCIDFontDescriptor descriptor)
Method Detail |
public void setDW(int dw)
public void setW(PDFWArray w)
public void setDW2(int[] dw2)
public void setDW2(int posY, int displacementY)
public void setCMAP(PDFCMap cmap)
public void setW2(PDFWArray w2)
public void setCIDMap(PDFStream map)
public void setCIDMapIdentity()
public byte[] toPDF()
public java.lang.String toPDFString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |