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, updateMapping
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, 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, setXHeight
getMaxAscent, hadMappingOperations, hasFeature, isCID, isMultiByte, notifyMapOperation, setEventListener, toString, warnMissingGlyph
protected 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.IOException
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()
Copyright 2007-2025 The Apache Software Foundation. All Rights Reserved.