|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFCIDFont
public class PDFCIDFont
Class representing a "character identifier" font (p 210 and onwards).
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.pdf.PDFObject |
|---|
log |
| Constructor Summary | |
|---|---|
PDFCIDFont(java.lang.String basefont,
CIDFontType cidtype,
int dw,
int[] w,
PDFCIDSystemInfo systemInfo,
PDFCIDFontDescriptor descriptor)
Create the /Font object |
|
PDFCIDFont(java.lang.String basefont,
CIDFontType cidtype,
int dw,
int[] w,
java.lang.String registry,
java.lang.String ordering,
int supplement,
PDFCIDFontDescriptor descriptor)
Create the /Font object |
|
PDFCIDFont(java.lang.String basefont,
CIDFontType cidtype,
int dw,
PDFWArray w,
PDFCIDSystemInfo systemInfo,
PDFCIDFontDescriptor descriptor)
Create the /Font object |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getPDFNameForCIDFontType(CIDFontType cidFontType)
Returns the PDF name for a certain CID font type. |
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 |
java.lang.String |
toPDFString()
This method returns a String representation of the PDF object. |
| Methods inherited from class org.apache.fop.pdf.PDFObject |
|---|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFCIDFont(java.lang.String basefont,
CIDFontType cidtype,
int dw,
int[] w,
java.lang.String registry,
java.lang.String ordering,
int supplement,
PDFCIDFontDescriptor descriptor)
basefont - Name of the basefontcidtype - CID typedw - default widthw - array of character widthsregistry - name of the issuerordering - Unique name of the fontsupplement - Supplement numberdescriptor - CID font descriptor
public PDFCIDFont(java.lang.String basefont,
CIDFontType cidtype,
int dw,
int[] w,
PDFCIDSystemInfo systemInfo,
PDFCIDFontDescriptor descriptor)
basefont - Name of the basefontcidtype - CID typedw - default widthw - array of character widthssystemInfo - CID system infodescriptor - CID font descriptor
public PDFCIDFont(java.lang.String basefont,
CIDFontType cidtype,
int dw,
PDFWArray w,
PDFCIDSystemInfo systemInfo,
PDFCIDFontDescriptor descriptor)
basefont - Name of the basefontcidtype - CID typedw - default widthw - array of character widthssystemInfo - CID system infodescriptor - CID font descriptor| Method Detail |
|---|
public void setDW(int dw)
dw - the default widthpublic void setW(PDFWArray w)
w - the width arraypublic void setDW2(int[] dw2)
dw2 - the default metrics for vertical writing
public void setDW2(int posY,
int displacementY)
posY - position vectordisplacementY - displacement vectorpublic void setCMAP(PDFCMap cmap)
cmap - character mappublic void setW2(PDFWArray w2)
w2 - array of metrics for vertical writingpublic void setCIDMap(PDFStream map)
map - mapping informationpublic void setCIDMapIdentity()
protected java.lang.String getPDFNameForCIDFontType(CIDFontType cidFontType)
cidFontType - CID font type
public java.lang.String toPDFString()
toPDFString in class PDFObject
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||