|
fop-pdf-images 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.SingleByteFont
org.apache.fop.render.pdf.pdfbox.FOPPDFSingleByteFont
public class FOPPDFSingleByteFont
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.fonts.SingleByteFont |
---|
org.apache.fop.fonts.SingleByteFont.UnencodedCharacter |
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 |
---|
additionalEncodings, cmap, unencodedCharacters |
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()
|
java.lang.String |
getMappedWord(java.util.List<java.lang.String> word,
byte[] bytes,
FontContainer oldFont)
|
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, getAdditionalWidths, getBoundingBox, getEncoding, getGIDFromChar, getGlyphName, getTrueTypePostScriptVersion, getUnicodeFromGID, getUnicodeFromSelector, getUsedGlyphNames, getUsedGlyphs, getWidth, isSubsetEmbedded, isUsingNativeEncoding, mapUsedGlyphName, setBoundingBox, setEncoding, setEncoding, setTrueTypePostScriptVersion, setUseNativeEncoding, setWidth, updateMapping |
Methods inherited from class org.apache.fop.fonts.CustomFont |
---|
getAdditionalEncoding, getAdditionalEncodingCount, 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, hasAdditionalEncodings, hasKerningInfo, isAdvancedEnabled, isKerningEnabled, mapUnencodedChar, 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, isCID, 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.SingleByteFont
public char mapChar(char c)
mapChar
in class org.apache.fop.fonts.SingleByteFont
public java.lang.String getEmbedFontName()
getEmbedFontName
in interface org.apache.fop.fonts.FontMetrics
getEmbedFontName
in class org.apache.fop.fonts.CustomFont
public int[] getWidths()
getWidths
in interface org.apache.fop.fonts.FontMetrics
getWidths
in class org.apache.fop.fonts.SingleByteFont
public java.lang.String addFont(org.apache.pdfbox.cos.COSDictionary fontData) throws java.io.IOException
java.io.IOException
public int size()
public java.lang.String getEncodingName()
getEncodingName
in class org.apache.fop.fonts.SingleByteFont
public 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.FontDescriptor
isEmbeddable
in class org.apache.fop.fonts.SingleByteFont
public boolean isSymbolicFont()
isSymbolicFont
in interface org.apache.fop.fonts.FontDescriptor
isSymbolicFont
in class org.apache.fop.fonts.CustomFont
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class org.apache.fop.fonts.CustomFont
java.io.IOException
protected FontContainer getFont(org.apache.pdfbox.cos.COSDictionary fontData) throws java.io.IOException
java.io.IOException
public java.lang.String getMappedWord(java.util.List<java.lang.String> word, byte[] bytes, FontContainer oldFont)
public java.lang.String getFontName()
|
fop-pdf-images 2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |