org.apache.fop.pdf
Class PDFToUnicodeCMap
- PDFWritable
public class PDFToUnicodeCMap
Class representing ToUnicode CMaps.
Here are some documentation resources:
ENC_83PV_RKSJ_H, ENC_90MSP_RKSJ_H, ENC_90MSP_RKSJ_V, ENC_90MS_RKSJ_H, ENC_90MS_RKSJ_V, ENC_90PV_RKSJ_H, ENC_ADD_RKSJ_H, ENC_ADD_RKSJ_V, ENC_B5PC_H, ENC_B5PC_V, ENC_CNS_EUC_H, ENC_CNS_EUC_V, ENC_ETENMS_B5_H, ENC_ETENMS_B5_V, ENC_ETEN_B5_H, ENC_ETEN_B5_V, ENC_EUC_H, ENC_EUC_V, ENC_EXT_RKSJ_H, ENC_EXT_RKSJ_V, ENC_GBK2K_H, ENC_GBK2K_V, ENC_GBKP_EUC_H, ENC_GBKP_EUC_V, ENC_GBK_EUC_H, ENC_GBK_EUC_V, ENC_GBPC_EUC_H, ENC_GBPC_EUC_V, ENC_GB_EUC_H, ENC_GB_EUC_V, ENC_H, ENC_HKSCS_B5_H, ENC_HKSCS_B5_V, ENC_IDENTITY_H, ENC_IDENTTITY_V, ENC_KSCMS_UHC_H, ENC_KSCMS_UHC_HW_H, ENC_KSCMS_UHC_HW_V, ENC_KSCMS_UHC_V, ENC_KSCPC_EUC_H, ENC_KSC_EUC_H, ENC_KSC_EUC_V, ENC_UNICNS_UCS2_H, ENC_UNICNS_UCS2_V, ENC_UNIGB_UCS2_H, ENC_UNIGB_UCS2_V, ENC_UNIJIS_UCS2_H, ENC_UNIJIS_UCS2_HW_H, ENC_UNIJIS_UCS2_HW_V, ENC_UNIJIS_UCS2_V, ENC_UNIKSC_UCS2_H, ENC_UNIKSC_UCS2_V, ENC_V, WMODE_HORIZONTAL, WMODE_VERTICAL, base, name, sysInfo, wMode |
void | fillInPDF(StringBuffer p)
|
static String | padHexString(String input, int numChars)- Prepends the input string with a sufficient number of "0" characters to
get the returned string to be numChars length.
|
protected void | writeBFCharEntries(StringBuffer p, char[] charArray)- Writes the entries for single characters of a base font (only characters which cannot be
expressed as part of a character range).
|
protected void | writeBFEntries(StringBuffer p)- Writes the character mappings for this font.
|
protected void | writeBFRangeEntries(StringBuffer p, char[] charArray)- Writes the entries for character ranges for a base font.
|
protected void | writeCIDSystemInfo(StringBuffer p)
|
protected void | writeVersionTypeName(StringBuffer p)
|
addContents, fillInPDF, output, setUseCMap, setUseCMap, setWMode, writeBFEntries, writeCIDInit, writeCIDRange, writeCIDSystemInfo, writeCodeSpaceRange, writePreStream, writeStreamAfterComments, writeStreamComments, writeUseCMap, writeVersionTypeName, writeWrapUp |
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString |
cidFont
protected CIDFont cidFont
handle to read font
PDFToUnicodeCMap
public PDFToUnicodeCMap(CIDFont cidMetrics,
String name,
PDFCIDSystemInfo sysInfo) Constructor.
cidMetrics - the CID font for which this Unicode CMap is builtname - One of the registered names found in Table 5.14 in PDF
Reference, Second Edition.sysInfo - The attributes of the character collection of the CIDFont.
fillInPDF
public void fillInPDF(StringBuffer p)
- fillInPDF in interface PDFCMap
org.apache.fop.pdf.PDFCMap.fillInPDF(java.lang.StringBuffer)
padHexString
public static String padHexString(String input,
int numChars) Prepends the input string with a sufficient number of "0" characters to
get the returned string to be numChars length.
input - The input string.numChars - The minimum characters in the output string.
writeBFCharEntries
protected void writeBFCharEntries(StringBuffer p,
char[] charArray) Writes the entries for single characters of a base font (only characters which cannot be
expressed as part of a character range).
p - StringBuffer to write tocharArray - all the characters to map
writeBFEntries
protected void writeBFEntries(StringBuffer p)
Writes the character mappings for this font.
- writeBFEntries in interface PDFCMap
p - StingBuffer to write to
writeBFRangeEntries
protected void writeBFRangeEntries(StringBuffer p,
char[] charArray) Writes the entries for character ranges for a base font.
p - StringBuffer to write tocharArray - all the characters to map
writeCIDSystemInfo
protected void writeCIDSystemInfo(StringBuffer p)
- writeCIDSystemInfo in interface PDFCMap
org.apache.fop.pdf.PDFCMap.writeCIDSystemInfo(java.lang.StringBuffer)
writeVersionTypeName
protected void writeVersionTypeName(StringBuffer p)
- writeVersionTypeName in interface PDFCMap
org.apache.fop.pdf.PDFCMap.writeVersionTypeName(java.lang.StringBuffer)
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.