|
fop-pdf-images 2.2 | ||||||||
| 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.SingleByteFont
org.apache.fop.render.pdf.pdfbox.FOPPDFSingleByteFont
public class FOPPDFSingleByteFont
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Integer> |
charMapGlobal
|
protected org.apache.fop.pdf.PDFDictionary |
ref
|
| Fields inherited from class org.apache.fop.fonts.SingleByteFont |
|---|
mapping, width |
| Fields inherited from class org.apache.fop.fonts.CustomFont |
|---|
cmap |
| Fields inherited from class org.apache.fop.fonts.Typeface |
|---|
eventListener, NOT_FOUND |
| Constructor Summary | |
|---|---|
FOPPDFSingleByteFont(org.apache.pdfbox.cos.COSDictionary fontData,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
java.lang.String |
addFont(org.apache.pdfbox.cos.COSDictionary fontData)
|
java.lang.String |
getEmbedFontName()
|
java.lang.String |
getEncodingName()
|
protected FontContainer |
getFont(org.apache.pdfbox.cos.COSDictionary fontData)
|
java.lang.String |
getFontName()
|
java.io.InputStream |
getInputStream()
|
org.apache.fop.pdf.PDFDictionary |
getRef()
|
int[] |
getWidths()
|
boolean |
hasChar(char c)
|
boolean |
isEmbeddable()
|
boolean |
isSymbolicFont()
|
char |
mapChar(char c)
|
void |
setRef(org.apache.fop.pdf.PDFDictionary d)
|
int |
size()
|
| Methods inherited from class org.apache.fop.fonts.SingleByteFont |
|---|
addUnencodedCharacter, encodeAllUnencodedCharacters, getAdditionalEncoding, getAdditionalEncodingCount, getAdditionalWidths, getBoundingBox, getEncoding, getGIDFromChar, getGlyphName, getTrueTypePostScriptVersion, getUnicodeFromGID, getUnicodeFromSelector, getUsedGlyphNames, getUsedGlyphs, getWidth, hasAdditionalEncodings, isSubsetEmbedded, isUsingNativeEncoding, mapUsedGlyphName, setBoundingBox, setEncoding, setEncoding, setTrueTypePostScriptVersion, setUseNativeEncoding, setWidth, updateMapping |
| Methods inherited from class org.apache.fop.fonts.CustomFont |
|---|
getAscender, getAscender, getCapHeight, getCapHeight, getCMap, getDescender, getDescender, getEmbeddingMode, getEmbedFileURI, getEmbedResourceName, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFontName, getFontSubName, getFontType, getFontURI, getFullName, getItalicAngle, getKerningInfo, getLastChar, getMissingWidth, getSimulateStyle, getStemV, getStrikeoutPosition, getStrikeoutThickness, getStrippedFontName, getUnderlinePosition, getUnderlineThickness, getWeight, getXHeight, hasKerningInfo, isAdvancedEnabled, isKerningEnabled, putKerningEntry, replaceKerningMap, setAdvancedEnabled, setAscender, setCapHeight, setCMap, setDescender, setEmbeddingMode, setEmbedResourceName, setEmbedURI, setFamilyNames, setFirstChar, setFlags, setFontBBox, setFontName, setFontSubFamilyName, setFontType, setFontURI, setFullName, setItalicAngle, setKerningEnabled, setLastChar, setMissingWidth, setSimulateStyle, setStemV, setStrikeoutPosition, setStrikeoutThickness, setUnderlinePosition, setUnderlineThickness, setWeight, setXHeight |
| Methods inherited from class org.apache.fop.fonts.Typeface |
|---|
getMaxAscent, hadMappingOperations, hasFeature, isMultiByte, 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.FontMetrics |
|---|
getMaxAscent, hasFeature, isMultiByte |
| Field Detail |
|---|
protected org.apache.fop.pdf.PDFDictionary ref
protected java.util.Map<java.lang.String,java.lang.Integer> charMapGlobal
| Constructor Detail |
|---|
public FOPPDFSingleByteFont(org.apache.pdfbox.cos.COSDictionary fontData,
java.lang.String name)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean hasChar(char c)
hasChar in class org.apache.fop.fonts.SingleByteFontpublic char mapChar(char c)
mapChar in class org.apache.fop.fonts.SingleByteFontpublic java.lang.String getEmbedFontName()
getEmbedFontName in interface org.apache.fop.fonts.FontMetricsgetEmbedFontName in class org.apache.fop.fonts.CustomFontpublic int[] getWidths()
getWidths in interface org.apache.fop.fonts.FontMetricsgetWidths in class org.apache.fop.fonts.SingleByteFont
public java.lang.String addFont(org.apache.pdfbox.cos.COSDictionary fontData)
throws java.io.IOException
java.io.IOExceptionpublic int size()
public java.lang.String getEncodingName()
getEncodingName in class org.apache.fop.fonts.SingleByteFontpublic org.apache.fop.pdf.PDFDictionary getRef()
public void setRef(org.apache.fop.pdf.PDFDictionary d)
public boolean isEmbeddable()
isEmbeddable in interface org.apache.fop.fonts.FontDescriptorisEmbeddable in class org.apache.fop.fonts.SingleByteFontpublic boolean isSymbolicFont()
isSymbolicFont in interface org.apache.fop.fonts.FontDescriptorisSymbolicFont in class org.apache.fop.fonts.CustomFont
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class org.apache.fop.fonts.CustomFontjava.io.IOException
protected FontContainer getFont(org.apache.pdfbox.cos.COSDictionary fontData)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getFontName()
|
fop-pdf-images 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||