public class FOPPDFSingleByteFont
extends org.apache.fop.fonts.SingleByteFont
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Integer> |
charMapGlobal |
protected org.apache.fop.pdf.PDFDictionary |
ref |
| Constructor and Description |
|---|
FOPPDFSingleByteFont(org.apache.pdfbox.cos.COSDictionary fontData,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
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() |
addUnencodedCharacter, encodeAllUnencodedCharacters, getAdditionalWidths, getBoundingBox, getEncoding, getGIDFromChar, getGlyphName, getTrueTypePostScriptVersion, getUnicodeFromGID, getUnicodeFromSelector, getUsedGlyphNames, getUsedGlyphs, getWidth, isSubsetEmbedded, isUsingNativeEncoding, mapUsedGlyphName, setBoundingBox, setEncoding, setEncoding, setTrueTypePostScriptVersion, setUseNativeEncoding, setWidth, updateMappinggetAdditionalEncoding, 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, hasSVG, 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, setSVG, setUnderlinePosition, setUnderlineThickness, setWeight, setXHeightgetMaxAscent, hadMappingOperations, hasFeature, isCID, isMultiByte, notifyMapOperation, setEventListener, toString, warnMissingGlyphprotected org.apache.fop.pdf.PDFDictionary ref
protected java.util.Map<java.lang.String,java.lang.Integer> charMapGlobal
public FOPPDFSingleByteFont(org.apache.pdfbox.cos.COSDictionary fontData,
java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic 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.SingleByteFontpublic 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.CustomFontpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class org.apache.fop.fonts.CustomFontjava.io.IOExceptionprotected FontContainer getFont(org.apache.pdfbox.cos.COSDictionary fontData) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getMappedWord(java.util.List<java.lang.String> word,
byte[] bytes,
FontContainer oldFont)
public java.lang.String getFontName()
Copyright 2007-2023 The Apache Software Foundation. All Rights Reserved.